hexsha
stringlengths
40
40
size
int64
5
1.04M
ext
stringclasses
6 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
344
max_stars_repo_name
stringlengths
5
125
max_stars_repo_head_hexsha
stringlengths
40
78
max_stars_repo_licenses
listlengths
1
11
max_stars_count
int64
1
368k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
3
344
max_issues_repo_name
stringlengths
5
125
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
11
max_issues_count
int64
1
116k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
3
344
max_forks_repo_name
stringlengths
5
125
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
11
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
5
1.04M
avg_line_length
float64
1.14
851k
max_line_length
int64
1
1.03M
alphanum_fraction
float64
0
1
lid
stringclasses
191 values
lid_prob
float64
0.01
1
4b1c7dc68fe5fe40029c9b4172d1fa2eb6a1a314
201
md
Markdown
home.md
pugetsoundsd/pugetsoundsd_website
ca16039aa4810b41341f44ff34628879a4a33040
[ "MIT" ]
null
null
null
home.md
pugetsoundsd/pugetsoundsd_website
ca16039aa4810b41341f44ff34628879a4a33040
[ "MIT" ]
null
null
null
home.md
pugetsoundsd/pugetsoundsd_website
ca16039aa4810b41341f44ff34628879a4a33040
[ "MIT" ]
null
null
null
--- layout: page title: Home permalink: / --- # Welcome to the homepage of Puget Sound Speech and Debate! This site is under construction! For more information, please take a look at our about page.
20.1
92
0.741294
eng_Latn
0.995721
4b1d227a0254d9b8fdc5d91e73f462e85b927b2a
1,219
md
Markdown
course/index.md
stick/ncti-site
2b4e9d2232e77481660149b2ab676143415dedf6
[ "MIT" ]
null
null
null
course/index.md
stick/ncti-site
2b4e9d2232e77481660149b2ab676143415dedf6
[ "MIT" ]
null
null
null
course/index.md
stick/ncti-site
2b4e9d2232e77481660149b2ab676143415dedf6
[ "MIT" ]
null
null
null
--- layout: page title: "The Course" date: 2015-08-03T14:05:42-04:00 modified: excerpt: image: feature: mastheads/ncti-masthead-farmsunset.png credit: Barrett Pantton Photography creditlink: https://www.facebook.com/burbleall --- <figure> <a href="{{ site.url }}/images/course-map.jpg" alt="Course Map"> <img src="{{ site.url }}/images/course-map.jpg" alt="Course Map"></a> <a href="{{ site.url }}/images/course-scorecard.jpg" alt="Scorecard"> <img src="{{ site.url }}/images/course-scorecard.jpg" alt="Scorecard"></a> <figcaption>Maps and scorecard by <a href="http://paulvignolaphotography.com/">ChiTown Paul</a></figcaption> </figure> UniTy Farm affectionally known as The Farm is a working pine tree farm on the outskirts of Louisburg, NC. This beautiful property is the family farm of the Land Family. Owner and course designer Jason 'Cutt' Land works tirelessly on improving the course and has many different layouts available. For NCTI we play a mixed layout that encorporates several par 4 (and a few par 5) holes as well as technical par 3 holes to raise the challenge of matchplay. **Remember UniTy Farm is private property. Do NOT show up to play without prior permission.**
40.633333
112
0.734208
eng_Latn
0.918751
4b1ec071bea0646971d9cea5de001ee646eed76e
282
md
Markdown
AUTHORS.md
expertmm/kivy-particle-py3
d7143e6d56199e709ad53c4698e0c2d4131f120f
[ "MIT" ]
12
2015-04-23T04:56:29.000Z
2020-08-20T10:27:15.000Z
AUTHORS.md
expertmm/kivy-particle-py3
d7143e6d56199e709ad53c4698e0c2d4131f120f
[ "MIT" ]
2
2020-03-11T18:16:26.000Z
2021-12-12T22:29:22.000Z
AUTHORS.md
expertmm/kivy-particle-py3
d7143e6d56199e709ad53c4698e0c2d4131f120f
[ "MIT" ]
4
2015-06-30T21:21:25.000Z
2022-02-25T18:19:39.000Z
Kivy-Particle was originally written by Alexis Couronne and greatly inspired by [Starling Extension Particle System](https://github.com/PrimaryFeather/Starling-Extension-Particle-System) ##Development Lead * Alexis Couronne <[alexis.couronne@gmail](mailto:alexis.couronne@gmail)>
47
186
0.819149
eng_Latn
0.769525
4b1f907800d9f178d2af178680c40a83e4ff5915
3,274
md
Markdown
source/_news/NZSS Cross Country - June 2015.blade.md
salihzeki12000/Website
733c8f7ea86f6ee4967cbbbb83cfc10d12cf7c12
[ "MIT" ]
null
null
null
source/_news/NZSS Cross Country - June 2015.blade.md
salihzeki12000/Website
733c8f7ea86f6ee4967cbbbb83cfc10d12cf7c12
[ "MIT" ]
10
2019-08-13T10:55:15.000Z
2022-02-26T10:21:10.000Z
source/_news/NZSS Cross Country - June 2015.blade.md
wing5wong/artisan-whs-static
cb36480c54adcb5cbe1fd25c1a741bb525112a72
[ "MIT" ]
1
2020-10-30T12:55:04.000Z
2020-10-30T12:55:04.000Z
--- title: "NZSS Cross Country - June 2015" date: description: "NZSS Cross Country was held in Dunedin on Saturday 20 June 2015. WHS students Emma Rainey, Rebecca Baker, Sam Luff and Travis Bayler were lucky to get home after the flooding in the Wanganui region.." image: http://c1940652.r52.cf0.rackcdn.com/55888abab8d39a3ca4000118/NZSS-Cross-Country-Dunedin-20.6.15-1.jpg excerpt: "" image_gallery: --- <p><span>NZSS Cross Country was held in Dunedin on Saturday 20 June 2015. &nbsp;WHS students Emma Rainey, Rebecca Baker, Sam Luff and Travis Bayler were lucky to get home after the flooding in the Wanganui region.</span></p> <p><span>WHS had 4 competitors go down to Dunedin over the weekend to represent the school at the NZSS Cross Country Champs.&nbsp;</span></p> <p><span>Rebecca Baker got 22nd in a competitive race of 87. Travis Bayler came in 134th&nbsp;and Sam Luff 122nd in&nbsp;a huge&nbsp;race of over 140 Year 9 boys. Emma Rainey who competed in the Senior girls race came 52nd out of 138 girls.</span></p> <p><span>The 4 students enjoyed the experience and are looking forward to training hard to become&nbsp;more competitive in the 2016 champs. &nbsp;</span><span style="line-height: 1.5;">&nbsp;</span></p> <p><span>The exciting part of their trip would of been getting back to Wanganui because of the floods. We had to divert to Dannevirke for an extra night stay then got as far as Turakina on Sunday to be told we will be there until Tuesday with all access to Wanganui out.&nbsp;</span></p> <p><span>But then we got a phone call from Steve Rainey to say he has a helicopter coming to pick us up and bring us back to Wanganui. A real amazing end to the trip seeing a 'birds eye view' of the floods in and around Wanganui.&nbsp;</span><span style="line-height: 1.5;">&nbsp;</span></p> <p><span>A big thank&nbsp;you to the Rainey family!&nbsp;</span></p> <p><span>(WHS Sports Co-ordinator, Lisa Murphy)</span></p> <p><img style="line-height: 1.5;" src=http://c1940652.r52.cf0.rackcdn.com/55888b49ff2a7c19eb000130/NZSS-Cross-Country-Dunedin-20.6.15-4.jpg alt="" /></p> <p><img src=http://c1940652.r52.cf0.rackcdn.com/55888be5ff2a7c19eb000132/NZSS-Cross-Country-Dunedin-20.6.15-6.jpg alt="" /></p> <p><img src=http://c1940652.r52.cf0.rackcdn.com/55888bffff2a7c19eb000134/NZSS-Cross-Country-Dunedin-20.6.15-7.jpg alt="" /></p> <p><img src=http://c1940652.r52.cf0.rackcdn.com/55888b33b8d39a3ca400011a/NZSS-Cross-Country-Dunedin-20.6.15-3.jpg alt="" /></p> <p><img src=http://c1940652.r52.cf0.rackcdn.com/55888c3db8d39a3ca400011d/NZSS-Cross-Country-Dunedin-20.6.15-8.jpg alt="" /></p> <p><img src=http://c1940652.r52.cf0.rackcdn.com/55888d09ff2a7c19eb000136/NZSS-Cross-Country-Dunedin-20.6.15-9.jpg alt="" /></p> <p><img src=http://c1940652.r52.cf0.rackcdn.com/55888d35ff2a7c19eb000138/NZSS-Cross-Country-Dunedin-20.6.15-10.jpg alt="" /></p> <p><img src=http://c1940652.r52.cf0.rackcdn.com/55888d46b8d39a3ca4000121/NZSS-Cross-Country-Dunedin-20.6.15-11.jpg alt="" /></p> <p><img src=http://c1940652.r52.cf0.rackcdn.com/55888d59ff2a7c19eb00013a/NZSS-Cross-Country-Dunedin-20.6.15-12.jpg alt="" /></p> <p><img src=http://c1940652.r52.cf0.rackcdn.com/55888d6db8d39a3ca4000123/NZSS-Cross-Country-Dunedin-20.6.15-15.jpg alt="" /></p>
96.294118
291
0.743128
eng_Latn
0.491149
4b1fea2babdcce2ba3294398c1475a24edec4884
3,696
md
Markdown
sqlserver/README.md
chrinils/integrations-core
e8503b9f00604ca2fe426061cf995a360902f0b9
[ "BSD-3-Clause" ]
null
null
null
sqlserver/README.md
chrinils/integrations-core
e8503b9f00604ca2fe426061cf995a360902f0b9
[ "BSD-3-Clause" ]
null
null
null
sqlserver/README.md
chrinils/integrations-core
e8503b9f00604ca2fe426061cf995a360902f0b9
[ "BSD-3-Clause" ]
1
2020-03-11T09:24:20.000Z
2020-03-11T09:24:20.000Z
# Microsoft SQL Server Check ## Overview This check lets you track the performance of your SQL Server instances. It collects metrics for number of user connections, rate of SQL compilations, and more. You can also create your own metrics by having the check run custom queries. ## Setup ### Installation The SQL Server check is packaged with the Agent, so simply [install the Agent](https://app.datadoghq.com/account/settings#agent) on your SQL Server instances. If you need the newest version of the check, install the `dd-check-sqlserver` package. Make sure that your SQL Server instance supports SQL Server authentication by enabling "SQL Server and Windows Authentication mode" in the server properties. **Server Properties** -> **Security** -> **SQL Server and Windows Authentication mode** ### Configuration 1. Create a read-only user to connect to your server: ``` CREATE LOGIN datadog WITH PASSWORD = 'YOUR_PASSWORD'; CREATE USER datadog FOR LOGIN datadog; GRANT SELECT on sys.dm_os_performance_counters to datadog; GRANT VIEW SERVER STATE to datadog; ``` 2. Create a file `sqlserver.yaml` in the Agent's `conf.d` directory: ``` init_config: instances: - host: <SQL_HOST>,<SQL_PORT> username: <SQL_ADMIN_USER> password: <SQL_ADMIN_PASSWORD> connector: odbc # alternative is 'adodbapi' driver: SQL Server ``` See the [example check configuration](https://github.com/DataDog/integrations-core/blob/master/sqlserver/conf.yaml.example) for a comprehensive description of all options, including how to use custom queries to create your own metrics. 3. [Restart the Agent](https://help.datadoghq.com/hc/en-us/articles/203764515-Start-Stop-Restart-the-Datadog-Agent) to start sending SQL Server metrics to Datadog. ### Validation Run the Agent's `info` subcommand and look for `sqlserver` under the Checks section: ``` Checks ====== [...] sqlserver ------- - instance #0 [OK] - Collected 26 metrics, 0 events & 1 service check [...] ``` ## Compatibility The sqlserver check is compatible with all Windows and Linux platforms. ## Data Collected ### Metrics See [metadata.csv](https://github.com/DataDog/integrations-core/blob/master/sqlserver/metadata.csv) for a list of metrics provided by this check. Most of these metrics come from your SQL Server's `sys.dm_os_performance_counters` table. ### Events The SQL server check does not include any event at this time. ### Service Checks **sqlserver.can_connect**: Returns CRITICAL if the Agent cannot connect to SQL Server to collect metrics, otherwise OK. ## Troubleshooting If you have any questions about Datadog or a use case our [Docs](https://docs.datadoghq.com/) didn’t mention, we’d love to help! Here’s how you can reach out to us: ### Visit the Knowledge Base Learn more about what you can do in Datadog on the [Support Knowledge Base](https://datadog.zendesk.com/agent/). ### Web Support Messages in the [event stream](https://app.datadoghq.com/event/stream) containing **@support-datadog** will reach our Support Team. This is a convenient channel for referencing graph snapshots or a particular event. In addition, we have a livechat service available during the day (EST) from any page within the app. ### By Email You can also contact our Support Team via email at [support@datadoghq.com](mailto:support@datadoghq.com). ### Over Slack Reach out to our team and other Datadog users on [Slack](http://chat.datadoghq.com/). ## Further Reading To get a better idea of how (or why) to monitor your Azure SQL Databases with Datadog, check out our [series of blog posts](https://www.datadoghq.com/blog/monitor-azure-sql-databases-datadog/) about it.
35.538462
316
0.751353
eng_Latn
0.927542
4b20ab7467761c123da8b375f55c9bc0b18d9d69
1,383
md
Markdown
2020/12/13/2020-12-13 23:15.md
zhzhzhy/WeiBoHot_history
32ce4800e63f26384abb17d43e308452c537c902
[ "MIT" ]
3
2020-07-14T14:54:15.000Z
2020-08-21T06:48:24.000Z
2020/12/13/2020-12-13 23:15.md
zhzhzhy/WeiBoHot_history
32ce4800e63f26384abb17d43e308452c537c902
[ "MIT" ]
null
null
null
2020/12/13/2020-12-13 23:15.md
zhzhzhy/WeiBoHot_history
32ce4800e63f26384abb17d43e308452c537c902
[ "MIT" ]
null
null
null
2020年12月13日23时数据 Status: 200 1.吴京儿子手臂线条 微博热度:3637532 2.云南向伴侣隐瞒艾滋将被追究刑责 微博热度:2572039 3.21岁的金晨和11岁的胡先煦合作过 微博热度:2352828 4.成都疫情 微博热度:2208743 5.暴露年龄的图片 微博热度:1526140 6.终于又看到王源跳舞了 微博热度:1279413 7.嫪毐什么时候领盒饭 微博热度:846855 8.韩国民众给素媛案罪犯家断燃气 微博热度:835727 9.央视点名问题婴儿床 微博热度:826201 10.香港新增新冠肺炎确诊95例 微博热度:815543 11.杜淳去沙县小吃会加什么菜 微博热度:791398 12.勤深深组合回归了 微博热度:785233 13.富大龙演秦始皇绝了 微博热度:781421 14.成都郫都区紧急寻人 微博热度:779013 15.我们的歌 微博热度:774983 16.黄圣依回应与张绍刚起争执 微博热度:770629 17.做完美甲千万别剥橘子 微博热度:768476 18.阿里拼多多美团回应退出社区团购 微博热度:747219 19.河南桑坡网红批发市场涉假 微博热度:738401 20.希林娜依高粤语发音 微博热度:737512 21.凡尔赛牛肉泡面 微博热度:731388 22.接生戏原来是这样拍的 微博热度:592143 23.乌合麒麟 微博热度:495784 24.广西财经学院演绎冥婚题材街舞 微博热度:479865 25.李雪琴压力大到暴哭 微博热度:457480 26.天天向上 微博热度:450911 27.火锅底料的大场面制作 微博热度:450896 28.兵哥哥的硬核驾驶技术 微博热度:450890 29.经脱敏处理的信息才可公开 微博热度:450887 30.成龙北京分龙 微博热度:450884 31.初雪 微博热度:449542 32.张杰 像一道光 微博热度:403731 33.张雪迎名字寓意 微博热度:391290 34.南京烛光祭现场 微博热度:379720 35.王嘉尔表情包棉花糖 微博热度:379657 36.陈飞宇为陈红庆生 微博热度:352521 37.南京遇害女生父亲不认为嫌犯有精神疾病 微博热度:350226 38.与晨同光 微博热度:349760 39.漠河气温降到零下44.3度 微博热度:349321 40.律师解读老人遭家暴40年欲离婚被驳 微博热度:348394 41.无锡下雪 微博热度:347168 42.热刺 水晶宫 微博热度:346213 43.南京下雪 微博热度:346182 44.顶楼 微博热度:304555 45.蔡素芬太惨了 微博热度:274249 46.爱的厘米大结局 微博热度:262092 47.8旬老人被骗子远程刷脸转走238万 微博热度:226359 48.大理天空出现罕见云团 微博热度:225237 49.杜淳 我为什么要跳舞 微博热度:225030 50.浙江多地下雪 微博热度:208836
6.779412
21
0.776573
yue_Hant
0.263512
4b20b8a372e990173ef953d839bc0cd93579a098
5,969
md
Markdown
desktop-src/DNS/microsoftdns-resourcerecord.md
npherson/win32
28da414b56bb3e56e128bf7e0db021bad5343d2d
[ "CC-BY-4.0", "MIT" ]
3
2020-04-24T13:02:42.000Z
2021-07-17T15:32:03.000Z
desktop-src/DNS/microsoftdns-resourcerecord.md
npherson/win32
28da414b56bb3e56e128bf7e0db021bad5343d2d
[ "CC-BY-4.0", "MIT" ]
null
null
null
desktop-src/DNS/microsoftdns-resourcerecord.md
npherson/win32
28da414b56bb3e56e128bf7e0db021bad5343d2d
[ "CC-BY-4.0", "MIT" ]
1
2022-03-09T23:50:05.000Z
2022-03-09T23:50:05.000Z
--- title: MicrosoftDNS_ResourceRecord class description: The MicrosoftDNS\_ResourceRecord class represents the general properties of a DNS RR.The following syntax is simplified from MOF code. ms.assetid: 84d6d106-fcc9-44ae-8db2-181c60489aec keywords: - MicrosoftDNS_ResourceRecord class DNS - MicrosoftDNS_ResourceRecord class DNS , described topic_type: - apiref api_name: - MicrosoftDNS_ResourceRecord - MicrosoftDNS_ResourceRecord.CreateInstanceFromTextRepresentation - MicrosoftDNS_ResourceRecord.GetObjectByTextRepresentation - MicrosoftDNS_ResourceRecord.DnsServerName - MicrosoftDNS_ResourceRecord.ContainerName - MicrosoftDNS_ResourceRecord.DomainName - MicrosoftDNS_ResourceRecord.OwnerName - MicrosoftDNS_ResourceRecord.RecordClass 1 - MicrosoftDNS_ResourceRecord.TTL - MicrosoftDNS_ResourceRecord.TimeStamp - MicrosoftDNS_ResourceRecord.RecordData - MicrosoftDNS_ResourceRecord.TextRepresentation api_location: - Root\MicrosoftDNS api_type: - Schema ms.topic: article ms.date: 05/31/2018 --- # MicrosoftDNS\_ResourceRecord class The **MicrosoftDNS\_ResourceRecord** class represents the general properties of a DNS RR. The following syntax is simplified from MOF code. ## Syntax ``` syntax class MicrosoftDNS_ResourceRecord : CIM_LogicalElement { string DnsServerName; string ContainerName; string DomainName; string OwnerName; uint16 RecordClass=1; uint32 TTL; uint32 TimeStamp; string RecordData; string TextRepresentation; }; ``` ## Members The **MicrosoftDNS\_ResourceRecord** class has these types of members: - [Methods](#methods) - [Properties](#properties) ### Methods The **MicrosoftDNS\_ResourceRecord** class has these methods. | Method | Description | |:-----------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | **CreateInstanceFromTextRepresentation** | Parses the RR in the TextRepresentation string, and with the input DNS Server and Container Names, defines, and instantiates a ResourceRecord object. The method returns a reference to the new object as an output parameter. <br/> Qualifiers: None<br/> | | **GetObjectByTextRepresentation** | Retrieves an existing instance of the MicrosoftDns\_ResourceRecord subclass, represented by the TextRepresentation string along with the DNS Server and Container Name. <br/> Qualifiers: None<br/> | ### Properties The **MicrosoftDNS\_ResourceRecord** class has these properties. <dl> <dt> **ContainerName** </dt> <dd> <dl> <dt> Data type: **string** </dt> <dt> Access type: Read-only </dt> </dl> Indicates the name of the Container for the Zone, Cache, or RootHints instance that contains the RR. </dd> <dt> **DnsServerName** </dt> <dd> <dl> <dt> Data type: **string** </dt> <dt> Access type: Read-only </dt> </dl> Indicates the FQDN or IP address of the DNS Server that contains the RR. </dd> <dt> **DomainName** </dt> <dd> <dl> <dt> Data type: **string** </dt> <dt> Access type: Read-only </dt> </dl> Represents the FQDN of the Domain that contains the RR. This property may contain the strings \\..Cache\\ or \\..RootHints\\ if the internal cache or RootHints contain the RR, respectively. </dd> <dt> **OwnerName** </dt> <dd> <dl> <dt> Data type: **string** </dt> <dt> Access type: Read-only </dt> </dl> Owner name for the RR. </dd> <dt> **RecordClass=1** </dt> <dd> <dl> <dt> Data type: **uint16** </dt> <dt> Access type: Read-only </dt> </dl> **Windows Server 2003: ** This string represents the class of the Resource Record. Valid values include: 1: IN (Internet) 2: CS (CSNET) 3: CH (CHAOS) 4: HS (Hesiod) </dd> <dt> **RecordData** </dt> <dd> <dl> <dt> Data type: **string** </dt> <dt> Access type: Read-only </dt> </dl> Resource record data. </dd> <dt> **TextRepresentation** </dt> <dd> <dl> <dt> Data type: **string** </dt> <dt> Access type: Read-only </dt> </dl> Text representation of the entire RR. </dd> <dt> **TimeStamp** </dt> <dd> <dl> <dt> Data type: **uint32** </dt> <dt> Access type: Read-only </dt> </dl> Time at which the RR was last refreshed, expressed in elapsed hours since January 1, 1601, Greenwich Mean Time (GMT). </dd> <dt> **TTL** </dt> <dd> <dl> <dt> Data type: **uint32** </dt> <dt> Access type: Read-only </dt> </dl> Time, in seconds, that the RR can be cached by a DNS [*resolver*](r-gly.md). </dd> </dl> ## Requirements | | | |-------------------------------------|----------------------------------------------------------------------------------------| | Minimum supported client<br/> | None supported<br/> | | Minimum supported server<br/> | Windows 2000 Server \[desktop apps only\]<br/> | | Namespace<br/> | Root\\MicrosoftDNS<br/> | | MOF<br/> | <dl> <dt>Dnsprov.mof</dt> </dl> | ## See also <dl> <dt> [**CreateInstanceFromTextRepresentation Method of the MicrosoftDNS\_ResourceRecord Class**](microsoftdns-resourcerecord-createinstancefromtextrepresentation.md) </dt> <dt> [**GetObjectByTextRepresentation Method of the MicrosoftDNS\_ResourceRecord Class**](microsoftdns-resourcerecord-getobjectbytextrepresentation.md) </dt> </dl>
24.870833
309
0.590886
eng_Latn
0.371704
4b20d444177bbf70761b776ce663b3e738495087
17
md
Markdown
README.md
JakubSzpak/django_biblio
029460fd4cd3cb47dfda5eaa96dcda826c4c6d02
[ "MIT" ]
null
null
null
README.md
JakubSzpak/django_biblio
029460fd4cd3cb47dfda5eaa96dcda826c4c6d02
[ "MIT" ]
5
2020-02-11T23:22:18.000Z
2021-02-02T21:51:08.000Z
README.md
JakubSzpak/django_biblio
029460fd4cd3cb47dfda5eaa96dcda826c4c6d02
[ "MIT" ]
null
null
null
# django_biblio
5.666667
15
0.764706
lit_Latn
0.865757
4b229ec79d8ac1c0690f5c0198cd4977357d8e64
8,991
md
Markdown
docs/comparisons/netstandard2.0_vs_net461/System.Web.Services.Configuration.md
Potapy4/standard
615dfb4efdf55ff048757806c45fd3c7d51d33df
[ "MIT" ]
3,463
2016-09-26T17:16:52.000Z
2022-03-30T22:31:13.000Z
docs/comparisons/netstandard2.0_vs_net461/System.Web.Services.Configuration.md
Potapy4/standard
615dfb4efdf55ff048757806c45fd3c7d51d33df
[ "MIT" ]
1,589
2016-09-26T20:54:19.000Z
2022-03-24T09:14:42.000Z
docs/comparisons/netstandard2.0_vs_net461/System.Web.Services.Configuration.md
Potapy4/standard
615dfb4efdf55ff048757806c45fd3c7d51d33df
[ "MIT" ]
621
2016-09-26T17:39:50.000Z
2022-03-12T15:45:24.000Z
# System.Web.Services.Configuration ``` diff +namespace System.Web.Services.Configuration { + public sealed class DiagnosticsElement : ConfigurationElement { + public DiagnosticsElement(); + protected override ConfigurationPropertyCollection Properties { get; } + public bool SuppressReturningExceptions { get; set; } + } + public enum PriorityGroup { + High = 0, + Low = 1, + } + public sealed class ProtocolElement : ConfigurationElement { + public ProtocolElement(); + public ProtocolElement(WebServiceProtocols protocol); + public WebServiceProtocols Name { get; set; } + protected override ConfigurationPropertyCollection Properties { get; } + } + public sealed class ProtocolElementCollection : ConfigurationElementCollection { + public ProtocolElementCollection(); + public ProtocolElement this[int index] { get; set; } + public ProtocolElement this[object key] { get; set; } + public void Add(ProtocolElement element); + public void Clear(); + public bool ContainsKey(object key); + public void CopyTo(ProtocolElement[] array, int index); + protected override ConfigurationElement CreateNewElement(); + protected override object GetElementKey(ConfigurationElement element); + public int IndexOf(ProtocolElement element); + public void Remove(ProtocolElement element); + public void RemoveAt(int index); + public void RemoveAt(object key); + } + public sealed class SoapEnvelopeProcessingElement : ConfigurationElement { + public SoapEnvelopeProcessingElement(); + public SoapEnvelopeProcessingElement(int readTimeout); + public SoapEnvelopeProcessingElement(int readTimeout, bool strict); + public bool IsStrict { get; set; } + protected override ConfigurationPropertyCollection Properties { get; } + public int ReadTimeout { get; set; } + } + public sealed class SoapExtensionTypeElement : ConfigurationElement { + public SoapExtensionTypeElement(); + public SoapExtensionTypeElement(string type, int priority, PriorityGroup group); + public SoapExtensionTypeElement(Type type, int priority, PriorityGroup group); + public PriorityGroup Group { get; set; } + public int Priority { get; set; } + protected override ConfigurationPropertyCollection Properties { get; } + public Type Type { get; set; } + } + public sealed class SoapExtensionTypeElementCollection : ConfigurationElementCollection { + public SoapExtensionTypeElementCollection(); + public SoapExtensionTypeElement this[int index] { get; set; } + public SoapExtensionTypeElement this[object key] { get; set; } + public void Add(SoapExtensionTypeElement element); + public void Clear(); + public bool ContainsKey(object key); + public void CopyTo(SoapExtensionTypeElement[] array, int index); + protected override ConfigurationElement CreateNewElement(); + protected override object GetElementKey(ConfigurationElement element); + public int IndexOf(SoapExtensionTypeElement element); + public void Remove(SoapExtensionTypeElement element); + public void RemoveAt(int index); + public void RemoveAt(object key); + } + public sealed class TypeElement : ConfigurationElement { + public TypeElement(); + public TypeElement(string type); + public TypeElement(Type type); + protected override ConfigurationPropertyCollection Properties { get; } + public Type Type { get; set; } + } + public sealed class TypeElementCollection : ConfigurationElementCollection { + public TypeElementCollection(); + public TypeElement this[int index] { get; set; } + public TypeElement this[object key] { get; set; } + public void Add(TypeElement element); + public void Clear(); + public bool ContainsKey(object key); + public void CopyTo(TypeElement[] array, int index); + protected override ConfigurationElement CreateNewElement(); + protected override object GetElementKey(ConfigurationElement element); + public int IndexOf(TypeElement element); + public void Remove(TypeElement element); + public void RemoveAt(int index); + public void RemoveAt(object key); + } + public enum WebServiceProtocols { + AnyHttpSoap = 33, + Documentation = 8, + HttpGet = 2, + HttpPost = 4, + HttpPostLocalhost = 16, + HttpSoap = 1, + HttpSoap12 = 32, + Unknown = 0, + } + public sealed class WebServicesSection : ConfigurationSection { + public WebServicesSection(); + public WsiProfilesElementCollection ConformanceWarnings { get; } + public static WebServicesSection Current { get; } + public DiagnosticsElement Diagnostics { get; set; } + public WebServiceProtocols EnabledProtocols { get; } + protected override ConfigurationPropertyCollection Properties { get; } + public ProtocolElementCollection Protocols { get; } + public TypeElementCollection ServiceDescriptionFormatExtensionTypes { get; } + public SoapEnvelopeProcessingElement SoapEnvelopeProcessing { get; set; } + public TypeElementCollection SoapExtensionImporterTypes { get; } + public TypeElementCollection SoapExtensionReflectorTypes { get; } + public SoapExtensionTypeElementCollection SoapExtensionTypes { get; } + public TypeElement SoapServerProtocolFactoryType { get; } + public TypeElementCollection SoapTransportImporterTypes { get; } + public WsdlHelpGeneratorElement WsdlHelpGenerator { get; } + public static WebServicesSection GetSection(Configuration config); + protected override void InitializeDefault(); + protected override void Reset(ConfigurationElement parentElement); + } + public sealed class WsdlHelpGeneratorElement : ConfigurationElement { + public WsdlHelpGeneratorElement(); + public string Href { get; set; } + protected override ConfigurationPropertyCollection Properties { get; } + protected override void DeserializeElement(XmlReader reader, bool serializeCollectionKey); + protected override void Reset(ConfigurationElement parentElement); + } + public sealed class WsiProfilesElement : ConfigurationElement { + public WsiProfilesElement(); + public WsiProfilesElement(WsiProfiles name); + public WsiProfiles Name { get; set; } + protected override ConfigurationPropertyCollection Properties { get; } + } + public sealed class WsiProfilesElementCollection : ConfigurationElementCollection { + public WsiProfilesElementCollection(); + public WsiProfilesElement this[int index] { get; set; } + public WsiProfilesElement this[object key] { get; set; } + public void Add(WsiProfilesElement element); + public void Clear(); + public bool ContainsKey(object key); + public void CopyTo(WsiProfilesElement[] array, int index); + protected override ConfigurationElement CreateNewElement(); + protected override object GetElementKey(ConfigurationElement element); + public int IndexOf(WsiProfilesElement element); + public void Remove(WsiProfilesElement element); + public void RemoveAt(int index); + public void RemoveAt(object key); + } + public sealed class XmlFormatExtensionAttribute : Attribute { + public XmlFormatExtensionAttribute(); + public XmlFormatExtensionAttribute(string elementName, string ns, Type extensionPoint1); + public XmlFormatExtensionAttribute(string elementName, string ns, Type extensionPoint1, Type extensionPoint2); + public XmlFormatExtensionAttribute(string elementName, string ns, Type extensionPoint1, Type extensionPoint2, Type extensionPoint3); + public XmlFormatExtensionAttribute(string elementName, string ns, Type extensionPoint1, Type extensionPoint2, Type extensionPoint3, Type extensionPoint4); + public XmlFormatExtensionAttribute(string elementName, string ns, Type[] extensionPoints); + public string ElementName { get; set; } + public Type[] ExtensionPoints { get; set; } + public string Namespace { get; set; } + } + public sealed class XmlFormatExtensionPointAttribute : Attribute { + public XmlFormatExtensionPointAttribute(string memberName); + public bool AllowElements { get; set; } + public string MemberName { get; set; } + } + public sealed class XmlFormatExtensionPrefixAttribute : Attribute { + public XmlFormatExtensionPrefixAttribute(); + public XmlFormatExtensionPrefixAttribute(string prefix, string ns); + public string Namespace { get; set; } + public string Prefix { get; set; } + } +} ```
52.273256
163
0.703036
kor_Hang
0.322256
4b22b5ac20c42016ecdc179a41e3ceb4f955a006
621
md
Markdown
docs/snippets/ping.md
ItsAuric/discord-akairo
e66adf146b2f0642a8b23f537e8ad1491a0c8eea
[ "MIT" ]
5
2021-04-27T15:45:00.000Z
2021-11-08T09:28:57.000Z
docs/snippets/ping.md
ItsAuric/discord-akairo
e66adf146b2f0642a8b23f537e8ad1491a0c8eea
[ "MIT" ]
2
2021-04-25T01:07:44.000Z
2021-04-26T15:06:38.000Z
docs/snippets/ping.md
ItsAuric/discord-akairo
e66adf146b2f0642a8b23f537e8ad1491a0c8eea
[ "MIT" ]
2
2021-04-26T14:08:10.000Z
2021-04-26T14:57:50.000Z
# Ping Command ```js const { Command } = require('@auric/discord-akairo'); class PingCommand extends Command { constructor() { super('ping', { aliases: ['ping', 'hello'] }); } async exec(message) { const sent = await message.util.reply('Pong!'); const timeDiff = (sent.editedAt || sent.createdAt) - (message.editedAt || message.createdAt); return message.util.reply([ 'Pong!', `🔂 **RTT**: ${timeDiff} ms`, `💟 **Heartbeat**: ${Math.round(this.client.ws.ping)} ms` ]); } } module.exports = PingCommand; ```
23.884615
101
0.537842
eng_Latn
0.266909
4b22de7204cf849a904dc8d83e9870264c85974f
4,241
md
Markdown
articles/governance/resource-graph/concepts/query-language.md
chclaus/azure-docs.de-de
38be052bda16366997a146cf5589168d6c6f3387
[ "CC-BY-4.0", "MIT" ]
null
null
null
articles/governance/resource-graph/concepts/query-language.md
chclaus/azure-docs.de-de
38be052bda16366997a146cf5589168d6c6f3387
[ "CC-BY-4.0", "MIT" ]
null
null
null
articles/governance/resource-graph/concepts/query-language.md
chclaus/azure-docs.de-de
38be052bda16366997a146cf5589168d6c6f3387
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- title: Grundlegendes zur Abfragesprache description: Beschreibt die verfügbaren Kusto-Operatoren und Funktionen, die mit Azure Resource Graph verwendet werden können. author: DCtheGeek ms.author: dacoulte ms.date: 04/22/2019 ms.topic: conceptual ms.service: resource-graph ms.openlocfilehash: 54bb0b4f21752b91ceb9d4004c153ff4d95006aa ms.sourcegitcommit: d7689ff43ef1395e61101b718501bab181aca1fa ms.translationtype: HT ms.contentlocale: de-DE ms.lasthandoff: 10/06/2019 ms.locfileid: "71976759" --- # <a name="understanding-the-azure-resource-graph-query-language"></a>Grundlegendes zur Azure Resource Graph-Abfragesprache Die Abfragesprache für Azure Resource Graph unterstützt eine Reihe von Operatoren und Funktionen. Diese arbeiten jeweils basierend auf [Azure Data Explorer](../../../data-explorer/data-explorer-overview.md). Der beste Weg, die von Resource Graph verwendete Abfragesprache kennenzulernen, besteht darin, zunächst mit der Dokumentation zur Azure Data Explorer-[Abfragesprache](/azure/kusto/query/index) zu beginnen. Sie vermittelt ein Verständnis dafür, wie die Sprache aufgebaut ist und wie die verschiedenen unterstützten Operatoren und Funktionen zusammenwirken. ## <a name="supported-tabular-operators"></a>Unterstützte tabellarische Operatoren Die folgenden tabellarischen Operatoren werden in Resource Graph unterstützt: - [count](/azure/kusto/query/countoperator) - [distinct](/azure/kusto/query/distinctoperator) - [extend](/azure/kusto/query/extendoperator) - [limit](/azure/kusto/query/limitoperator) - [order by](/azure/kusto/query/orderoperator) - [project](/azure/kusto/query/projectoperator) - [project-away](/azure/kusto/query/projectawayoperator) - [sample](/azure/kusto/query/sampleoperator) - [sample-distinct](/azure/kusto/query/sampledistinctoperator) - [sort by](/azure/kusto/query/sortoperator) - [summarize](/azure/kusto/query/summarizeoperator) - [take](/azure/kusto/query/takeoperator) - [top](/azure/kusto/query/topoperator) - [top-nested](/azure/kusto/query/topnestedoperator) - [top-hitters](/azure/kusto/query/tophittersoperator) - [where](/azure/kusto/query/whereoperator) ## <a name="supported-functions"></a>Unterstützte Funktionen Die folgenden Funktionen werden in Resource Graph unterstützt: - [ago()](/azure/kusto/query/agofunction) - [buildschema()](/azure/kusto/query/buildschema-aggfunction) - [strcat()](/azure/kusto/query/strcatfunction) - [isnotempty()](/azure/kusto/query/isnotemptyfunction) - [tostring()](/azure/kusto/query/tostringfunction) - [zip()](/azure/kusto/query/zipfunction) ## <a name="escape-characters"></a>Escape-Zeichen Einige Eigenschaftennamen, etwa diejenigen, die einen `.` oder ein `$` enthalten, müssen in einer Abfrage umhüllt oder mit Escapezeichen versehen sein. Andernfalls wird der jeweilige Eigenschaftenname falsch interpretiert, sodass nicht die erwarteten Ergebnisse bereitgestellt werden. - `.` – Umhüllen Sie den Namen der jeweiligen Eigenschaft: `['propertyname.withaperiod']` Beispielabfrage, in der die Eigenschaft _odata.type_ umhüllt ist: ```kusto where type=~'Microsoft.Insights/alertRules' | project name, properties.condition.['odata.type'] ``` - `$` – Versehen Sie den Namen der jeweiligen Eigenschaft mit einem Escapezeichen. Welches Escapezeichen verwendet wird, hängt von der Shell, in der Ressource Graph ausgeführt wird. - **Bash** - `\` Beispielabfrage, in der die Eigenschaft _\$type_ in Bash mit einem Escapezeichen versehen ist: ```kusto where type=~'Microsoft.Insights/alertRules' | project name, properties.condition.\$type ``` - **cmd** – Versehen Sie das `$`-Zeichen nicht mit einem Escapezeichen. - **PowerShell** - ``` ` ``` Beispielabfrage, in der die Eigenschaft _\$type_ in PowerShell mit einem Escapezeichen versehen ist: ```kusto where type=~'Microsoft.Insights/alertRules' | project name, properties.condition.`$type ``` ## <a name="next-steps"></a>Nächste Schritte - Informationen zur verwendeten Sprache finden Sie unter [Einfache Abfragen](../samples/starter.md). - Informationen zur anspruchsvolleren Nutzung finden Sie unter [Erweiterte Abfragen](../samples/advanced.md). - Lernen Sie, [Ressourcen zu untersuchen](explore-resources.md)
47.122222
355
0.77411
deu_Latn
0.932191
4b22f07b34f0d5e4904c47b470de07bc3ad16380
1,655
md
Markdown
force-app/main/default/staticresources/documentation/docs/docs/RecipeTreeViewController.md
JeroenSfdc/apex-recipes
1f31660463114cacd691d978aebdfcee8345b879
[ "CC0-1.0" ]
null
null
null
force-app/main/default/staticresources/documentation/docs/docs/RecipeTreeViewController.md
JeroenSfdc/apex-recipes
1f31660463114cacd691d978aebdfcee8345b879
[ "CC0-1.0" ]
null
null
null
force-app/main/default/staticresources/documentation/docs/docs/RecipeTreeViewController.md
JeroenSfdc/apex-recipes
1f31660463114cacd691d978aebdfcee8345b879
[ "CC0-1.0" ]
null
null
null
--- layout: default --- # RecipeTreeViewController class Provides the necessary data to populate a lightning-tree base component with recipe and group information ## Related [ApexClassUtilities](https://github.com/trailheadapps/apex-recipes/wiki/ApexClassUtilities.md) --- ## Properties ### `groupToListOfNames` → `List<String>>` --- ## Methods ### `generateMapOfGroupToListOfNames()` → `List<String>>` Generates a map containing Group names as the Keys tied to a List of class names. Note: this method contains a false-positive PMD violation. Normally, we'd want to check for FLS/CRUD here, but for ApexClass a system level object that Admins and users cannot really change we're ok. ### `generateTreeData()` → `List<RecipeTreeData>` Generates a recursive list of RecipeTreeData objects to feed to a Lightning-tree-view component. Importantly, the returning array has two RecipeTreeData objects - One for Recipes, the other for our supporting, shared code. #### Example ```java System.debug(RecipeTreeViewController.generateTreeData()); ``` --- ## Inner Classes ### RecipeTreeViewController.RecipeTreeData class Used to marshall data between Apex and the LWC component that uses this data --- #### Properties ##### `expanded` → `Boolean` ##### `items` → `RecipeTreeData[]` ##### `label` → `String` ##### `name` → `String` --- #### Methods ##### `compareTo(Object compareTo)` → `Integer` Required by the Comparable interface, this method, once implemented allows us to sort of this object type. ###### Parameters |Param|Description| |-----|-----------| |`compareTo` | A RecipeTreeData object to compare this instance against. | ---
26.693548
281
0.725076
eng_Latn
0.888762
4b242af10d14c4cd671933705ccbec15a8a4ef6b
5,489
md
Markdown
site/en/guides/border-router/docker/index.md
SiliconLabs/ot-docs
94173eafe79c880329c352ebf02009b0ce34d0ad
[ "BSD-3-Clause" ]
null
null
null
site/en/guides/border-router/docker/index.md
SiliconLabs/ot-docs
94173eafe79c880329c352ebf02009b0ce34d0ad
[ "BSD-3-Clause" ]
null
null
null
site/en/guides/border-router/docker/index.md
SiliconLabs/ot-docs
94173eafe79c880329c352ebf02009b0ce34d0ad
[ "BSD-3-Clause" ]
null
null
null
# Overview OpenThread Border Router (OTBR) provides Docker support, and can be run in a Docker container rather than directly on your local machine. This guide focuses on running OTBR Docker on the Raspberry Pi (RPi) or any Linux-based machine, and has only been tested on those platforms. > Caution: Only the commissioner included with OTBR is supported with Docker. The Thread Commissioning App is not supported. ## Raspberry Pi setup Install the [**Raspberry Pi OS with Desktop**](https://www.raspberrypi.org/downloads/raspberry-pi-os/) OS on the RPi. Follow the instructions in the [Download and Install the OS](../../../guides/border-router/raspberry-pi.md#download-and-install-the-os) step from the Raspberry Pi Overview, but make sure to use **Raspberry Pi OS with Desktop** as the OS. You cannot use the Lite version, as you need to access the OTBR Web GUI in a web browser. Once installed, boot up the RPi and open a terminal window. 1. Update the system: ``` $ sudo apt-get update $ sudo apt-get upgrade ``` 1. Install Docker: ``` $ curl -sSL https://get.docker.com | sh ``` 1. If you want to use Docker as non-root, without requiring `sudo` before each command, modify your user settings: ``` $ sudo usermod -aG docker $USER ``` 1. Start Docker if it is not already running: ``` $ sudo dockerd ``` 1. Install git: ``` $ sudo apt install git ``` ## Linux setup Use the same instructions as the RPi: 1. Update the system: ``` $ sudo apt-get update $ sudo apt-get upgrade ``` 1. Install Docker: ``` $ curl -sSL https://get.docker.com | sh ``` 1. If you want to use Docker as non-root, without requiring `sudo` before each command, modify your user settings: ``` $ sudo usermod -aG docker $USER ``` 1. Start Docker if it is not already running: ``` $ sudo dockerd ``` 1. Install git: ``` $ sudo apt install git ``` ## Mac or Windows To use OTBR Docker on Mac or Windows, install [Docker Toolbox](https://docs.docker.com/toolbox/). This is required as running OTBR Docker involves mounting virtual serial ports, which is only supported by Docker Toolbox on those systems. > Note: This guide does not provide complete instructions for running OTBR Docker on Mac or Windows. See [Contribute](https://openthread.io/resources#contribute) if you are interested in contributing this content to openthread.io. ## Get the OTBR Docker image > Note: Going forward, all steps apply to a supported platform, either the RPi or a Linux machine. Get the OTBR Docker image by pulling it directly from the [OpenThread Docker Hub](https://hub.docker.com/u/openthread/), or by cloning the OTBR repository and building the included Dockerfile locally. We recommend pulling the image from Docker Hub, as it has been tested and verified by the OpenThread team. ### Pull the image from Docker Hub This image is as of Commit ID `e80def4`. 1. Pull the image: ``` $ docker pull openthread/otbr:latest ``` 1. It should now appear in your list of Docker images: ``` $ docker images REPOSITORY TAG IMAGE ID CREATED SIZE openthread/otbr latest 98416559dcbd 2 weeks ago 1.15GB ``` ### Build the Dockerfile To create the image yourself, clone the OpenThread Border Router repository and build the included Dockerfile. > Note: Building the Dockerfile locally might take up to one hour, depending on your system. For example, a Raspberry Pi with a fresh OS image takes longer to install all dependencies than a Linux machine that might have many of them already. 1. Clone the OTBR repository: ``` $ cd ~ $ git clone https://github.com/openthread/ot-br-posix $ cd ot-br-posix ``` 1. Build the Dockerfile: ``` $ docker build --no-cache -t openthread/otbr -f etc/docker/Dockerfile . ``` ## License Copyright (c) 2021, The OpenThread Authors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32.099415
98
0.7229
eng_Latn
0.891131
4b245c8c66f162648e87984534f79ac5beee0d6b
243
md
Markdown
README.md
NikolaevRoman/electron-explorer-app
89da000f5526735b89385858bf2ed16b6acacaac
[ "MIT" ]
null
null
null
README.md
NikolaevRoman/electron-explorer-app
89da000f5526735b89385858bf2ed16b6acacaac
[ "MIT" ]
1
2022-03-25T19:02:08.000Z
2022-03-25T19:02:08.000Z
README.md
NikolaevRoman/electron-explorer-app
89da000f5526735b89385858bf2ed16b6acacaac
[ "MIT" ]
null
null
null
# electron-explorer-app Explorer app on electron js. Using React for frontend. # Install Clone repository to local machine. Then use: npm install and npm run build for create build. The build will be created in the folder <project_path>/dist
30.375
59
0.790123
eng_Latn
0.994474
4b25ea224ae4acfb06c90f184a9ceb2f4b9721c9
670
md
Markdown
dotnetcore/WebAppRazor/README.md
PraveenReddy-Lingala/sonar-scanner-sample-projects
9b2847ab7876548efa47f7a0e45d0bdd5c93698a
[ "MIT" ]
1
2020-10-28T07:17:12.000Z
2020-10-28T07:17:12.000Z
dotnetcore/WebAppRazor/README.md
PraveenReddy-Lingala/sonar-scanner-sample-projects
9b2847ab7876548efa47f7a0e45d0bdd5c93698a
[ "MIT" ]
7
2021-03-09T22:33:00.000Z
2022-03-02T06:15:47.000Z
dotnetcore/WebAppRazor/README.md
PraveenReddy-Lingala/sonar-scanner-sample-projects
9b2847ab7876548efa47f7a0e45d0bdd5c93698a
[ "MIT" ]
16
2020-04-23T06:09:42.000Z
2022-03-16T03:51:47.000Z
# ASP.NET Core Razor web application [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=devpro.scannersamples.dotnetcore.webapprazor&metric=alert_status)](https://sonarcloud.io/dashboard?id=devpro.scannersamples.dotnetcore.webapprazor) ## Run the application - Run: `dotnet run --project WebAppRazor\WebAppRazor.csproj` ## Run the scanner - Run the scan (replace with the correct values): ```dos dotnet sonarscanner begin /k:"<projetKey>" /o:"<company>" /d:sonar.login="<token>" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.exclusions="wwwroot/lib/**" dotnet build dotnet sonarscanner end /d:sonar.login="<token>" ```
37.222222
228
0.746269
kor_Hang
0.263826
4b2696249a1e38b421ddd8f692cfa746f2039224
167
md
Markdown
README.md
java-gradle-tasks/02-01-04-if-else-null
49dc83487bcaf3b093c8430f64105e93ff6f5429
[ "CC0-1.0" ]
null
null
null
README.md
java-gradle-tasks/02-01-04-if-else-null
49dc83487bcaf3b093c8430f64105e93ff6f5429
[ "CC0-1.0" ]
null
null
null
README.md
java-gradle-tasks/02-01-04-if-else-null
49dc83487bcaf3b093c8430f64105e93ff6f5429
[ "CC0-1.0" ]
null
null
null
# 02-01-04-if-else-null # MyEquation A kódba lévő metódus az *a x + b = 0* egyenlet megoldását adja! Írja meg a kódot! Ha nincs megoldás null értékkel térjen vissza!
41.75
129
0.736527
hun_Latn
1.000005
4b2698bee8268c230d6bdfe4d5f45587e98e714f
79
md
Markdown
add/metadata/System.Deployment.Application/CheckForUpdateCompletedEventHandler.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.Deployment.Application/CheckForUpdateCompletedEventHandler.meta.md
kcpr10/dotnet-api-docs
b73418e9a84245edde38474bdd600bf06d047f5e
[ "CC-BY-4.0", "MIT" ]
null
null
null
add/metadata/System.Deployment.Application/CheckForUpdateCompletedEventHandler.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.Deployment.Application.CheckForUpdateCompletedEventHandler ---
19.75
70
0.822785
kor_Hang
0.343048
4b26b8021f515e8099bae1aa1f6f680bed4d5d4e
22,115
md
Markdown
docs/data-tools/windows-communication-foundation-services-and-wcf-data-services-in-visual-studio.md
mairaw/visualstudio-docs.pt-br
26480481c1cdab3e77218755148d09daec1b3454
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/data-tools/windows-communication-foundation-services-and-wcf-data-services-in-visual-studio.md
mairaw/visualstudio-docs.pt-br
26480481c1cdab3e77218755148d09daec1b3454
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/data-tools/windows-communication-foundation-services-and-wcf-data-services-in-visual-studio.md
mairaw/visualstudio-docs.pt-br
26480481c1cdab3e77218755148d09daec1b3454
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- title: Windows Communication Foundation e WCF Data Services ms.date: 11/04/2016 ms.topic: conceptual dev_langs: - VB - CSharp helpviewer_keywords: - services, WCF Data - WCF services, binding to - WCF services, asynchronous service methods - service references [Visual Studio] - WCF Data Services - asynchronous calls - service references [Visual Studio], type sharing - endpoints [WCF] - asynchronous service methods - service references [Visual Studio] endpoints - WCF services, type sharing - Windows Communication Foundation, in Visual Studio - services, WCF - WCF service, Visual Studio - data services, WCF - services, in Visual Studio - data binding [Visual Studio], WCF - service endpoints [Visual Studio] - service references [Visual Studio], asynchronous calls - services, Windows Communication Foundation - type sharing in WCF services - WCF services, endpoints - service method, called asynchronously[Visual Studio] ms.assetid: d56f12cb-e139-4fec-b3e4-488383356642 author: gewarren ms.author: gewarren manager: douge ms.prod: visual-studio-dev15 ms.technology: vs-data-tools ms.workload: - data-storage ms.openlocfilehash: b9f2202c96799fcc2e258e79f050d15fb474d0aa ms.sourcegitcommit: 81e9d90843ead658bc73b30c869f25921d99e116 ms.translationtype: MTE95 ms.contentlocale: pt-BR ms.lasthandoff: 11/26/2018 ms.locfileid: "52305501" --- # <a name="windows-communication-foundation-services-and-wcf-data-services-in-visual-studio"></a>Serviços do Windows Communication Foundation e WCF Data Services no Visual Studio Visual Studio fornece ferramentas para trabalhar com o Windows Communication Foundation (WCF) e o WCF Data Services, tecnologias da Microsoft para criar aplicativos distribuídos. Este tópico fornece uma introdução aos serviços de uma perspectiva do Visual Studio. Para obter a documentação completa, consulte [WCF Data Services 4.5](/dotnet/framework/data/wcf/index). ## <a name="what-is-wcf"></a>O que é o WCF? Windows Communication Foundation (WCF) é uma estrutura unificada para criar aplicativos distribuídos seguros, confiáveis, transacionados e interoperáveis. Ele substitui as tecnologias mais antigas de comunicação entre processos, como serviços web ASMX, .NET Remoting, Enterprise Services (DCOM) e MSMQ. WCF reúne a funcionalidade de todas essas tecnologias em um modelo de programação unificado. Isso simplifica a experiência de desenvolvimento de aplicativos distribuídos. ### <a name="what-are-wcf-data-services"></a>Quais são o WCF Data Services WCF Data Services é uma implementação do protocolo OData (Open Data) padrão. WCF Data Services permite expor dados tabulares como um conjunto de APIs REST, permitindo que você retornar dados usando verbos HTTP como GET, POST, PUT ou DELETE. No lado do servidor, o WCF Data Services estão sendo substituídos pelos [API Web ASP.NET](http://www.asp.net/web-api) para a criação de novos serviços OData. A biblioteca de cliente do WCF Data Services continua a ser uma boa opção para consumir serviços OData em um aplicativo .NET do Visual Studio (**Project** > **Add Service Reference**). Para obter mais informações, consulte [WCF Data Services 4.5](http://go.microsoft.com/fwlink/?LinkID=119952). ### <a name="wcf-programming-model"></a>Modelo de programação do WCF O modelo de programação do WCF baseia-se a comunicação entre duas entidades: um serviço WCF e um cliente do WCF. O modelo de programação é encapsulado no <xref:System.ServiceModel> namespace no .NET Framework. ### <a name="wcf-service"></a>Serviço WCF Um serviço WCF baseia-se em uma interface que define um contrato entre o serviço e o cliente. Ele é marcado com um <xref:System.ServiceModel.ServiceContractAttribute> de atributo, conforme mostrado no código a seguir: [!code-csharp[WCFWalkthrough#6](../data-tools/codesnippet/CSharp/windows-communication-foundation-services-and-wcf-data-services-in-visual-studio_1.cs)] [!code-vb[WCFWalkthrough#6](../data-tools/codesnippet/VisualBasic/windows-communication-foundation-services-and-wcf-data-services-in-visual-studio_1.vb)] Definir funções ou métodos que são expostos por um serviço WCF marcando-as com um <xref:System.ServiceModel.OperationContractAttribute> atributo. [!code-csharp[WCFWalkthrough#1](../data-tools/codesnippet/CSharp/windows-communication-foundation-services-and-wcf-data-services-in-visual-studio_2.cs)] [!code-vb[WCFWalkthrough#1](../data-tools/codesnippet/VisualBasic/windows-communication-foundation-services-and-wcf-data-services-in-visual-studio_2.vb)] Além disso, você pode expor os dados serializados marcando um tipo composto com um <xref:System.Runtime.Serialization.DataContractAttribute> atributo. Isso permite que a associação de dados em um cliente. Depois que uma interface e seus métodos são definidos, eles são encapsulados em uma classe que implementa a interface. Uma única classe de serviço do WCF pode implementar vários contratos de serviço. Um serviço WCF é exposto para consumo por meio do que é conhecido como um *ponto de extremidade*. O ponto de extremidade fornece a única maneira de se comunicar com o serviço; não é possível acessar o serviço por meio de uma referência direta, como você faria com outras classes. Um ponto de extremidade consiste em um endereço, uma ligação e um contrato. O endereço define em que o serviço está localizado; Isso pode ser uma URL, um endereço FTP, ou uma rede ou o caminho local. Uma associação define a maneira que você se comunica com o serviço. Associações do WCF fornecem um modelo versátil para especificar um protocolo como HTTP ou FTP, um mecanismo de segurança como autenticação do Windows ou nomes de usuário e senhas e muito mais. Um contrato inclui as operações que são expostas pela classe de serviço WCF. Vários pontos de extremidade podem ser expostos para um único serviço do WCF. Isso permite que clientes diferentes para se comunicar com o mesmo serviço de maneiras diferentes. Por exemplo, um serviço de serviços bancários pode fornecer um ponto de extremidade para os funcionários e outro para clientes externos, cada um com um endereço diferente, associação, e/ou de contrato. ### <a name="wcf-client"></a>Cliente de WCF Um cliente WCF consiste em uma *proxy* que permite que um aplicativo para se comunicar com um serviço WCF e um ponto de extremidade que corresponde a um ponto de extremidade definido para o serviço. O proxy é gerado no lado do cliente na *App. config* de arquivo e inclui informações sobre os tipos e métodos que são expostos pelo serviço. Para serviços que expõem vários pontos de extremidade, o cliente pode selecionar aquele que melhor atenda às suas necessidades, por exemplo, para se comunicar por HTTP e usar a autenticação do Windows. Depois que um cliente WCF tiver sido criado, você referenciar o serviço em seu código exatamente como faria com qualquer outro objeto. Por exemplo, para chamar o `GetData` método mostrado anteriormente, você escreveria código semelhante ao seguinte: [!code-csharp[WCFWalkthrough#3](../data-tools/codesnippet/CSharp/windows-communication-foundation-services-and-wcf-data-services-in-visual-studio_3.cs)] [!code-vb[WCFWalkthrough#3](../data-tools/codesnippet/VisualBasic/windows-communication-foundation-services-and-wcf-data-services-in-visual-studio_3.vb)] ## <a name="wcf-tools-in-visual-studio"></a>Ferramentas do WCF no Visual Studio Visual Studio fornece ferramentas para ajudá-lo a criar serviços WCF e clientes do WCF. Para um passo a passo que demonstra as ferramentas, consulte [instruções passo a passo: Criando um serviço WCF simples no Windows Forms](../data-tools/walkthrough-creating-a-simple-wcf-service-in-windows-forms.md). ### <a name="create-and-test-wcf-services"></a>Criar e testar os serviços WCF Você pode usar modelos do Visual Studio do WCF como uma base para criar rapidamente seu próprio serviço. Em seguida, você pode usar o Host de automático de serviço do WCF e o cliente de teste do WCF para depurar e testar o serviço. Juntos, essas ferramentas fornecem um rápido e conveniente de depuração e ciclo de testes e eliminam a necessidade de se comprometer com um modelo de hospedagem em um estágio inicial. #### <a name="wcf-templates"></a>Modelos do WCF Modelos do Visual Studio do WCF fornecem uma estrutura de classe básica para o desenvolvimento de serviço. Vários modelos WCF estão disponíveis na **adicionar novo projeto** caixa de diálogo. Isso inclui projetos de lLibrary de serviço do WCF, sites de serviço WCF e modelos de item de serviço do WCF. Quando você seleciona um modelo, os arquivos são adicionados para um contrato de serviço, uma implementação de serviço e uma configuração de serviço. Todos os atributos necessários já foram adicionados, criando um tipo de "Hello World" simples do serviço, e você não tivesse de escrever nenhum código. É claro, convém adicionar código para fornecer funções e métodos para o serviço do mundo real, mas os modelos fornecem os princípios básicos. Para saber mais sobre os modelos WCF, consulte [modelos do Visual Studio do WCF](/dotnet/framework/wcf/wcf-vs-templates). #### <a name="wcf-service-host"></a>Host de serviço do WCF Quando você inicia o depurador do Visual Studio (pressionando **F5**) para um projeto de serviço do WCF, a ferramenta de Host de serviço WCF é iniciada automaticamente para hospedar o serviço localmente. Host de serviço WCF enumera os serviços em um projeto de serviço do WCF, carrega a configuração do projeto e cria uma instância de um host para cada serviço que encontrar. Usando o Host de serviço WCF, você pode testar um serviço WCF sem gravar código extra ou confirmar a um host específico durante o desenvolvimento. Para saber mais sobre o Host de serviço WCF, consulte [host de serviço do WCF (WcfSvcHost.exe)](/dotnet/framework/wcf/wcf-service-host-wcfsvchost-exe). #### <a name="wcf-test-client"></a>Cliente de teste do WCF A ferramenta de cliente de teste do WCF lhe permite parâmetros de teste, enviem essa entrada para um serviço WCF e exibir a resposta que o serviço envia de volta. Ele fornece um serviço conveniente testar a experiência quando combiná-lo com o Host de serviço WCF. Encontrar a ferramenta na *% ProgramFiles (x86) %\Microsoft Visual Studio\2017\Enterprise\Common7\IDE* pasta. Quando você pressiona **F5** para depurar um projeto de serviço do WCF, o cliente de teste do WCF é aberta e exibe uma lista de pontos de extremidade de serviço que são definidos no arquivo de configuração. Você pode testar os parâmetros e iniciar o serviço e repita esse processo para testar e validar seu serviço continuamente. Para saber mais sobre o cliente de teste do WCF, consulte [(WcfTestClient.exe) do cliente de teste do WCF](/dotnet/framework/wcf/wcf-test-client-wcftestclient-exe). ### <a name="accessing-wcf-services-in-visual-studio"></a>Acessando os serviços WCF no Visual Studio Visual Studio simplifica a tarefa de criação de clientes do WCF, geração automática de um proxy e um ponto de extremidade para serviços que você adicionar usando o **adicionar referência de serviço** caixa de diálogo. Todas as informações de configuração necessária são adicionadas para o *App. config* arquivo. A maioria das vezes, tudo o que você precisa fazer é instanciar o serviço para usá-lo. O **adicionar referência de serviço** caixa de diálogo permite que você insira o endereço de um serviço ou para pesquisar um serviço que é definido em sua solução. A caixa de diálogo retorna uma lista de serviços e as operações fornecidas por esses serviços. Ele também permite que você defina o espaço para nome pelo qual você fará referência os serviços no código. O **configurar referências de serviço** caixa de diálogo permite que você personalize a configuração para um serviço. Alterar o endereço para um serviço, especifique o nível de acesso, o comportamento assíncrono e tipos de contrato de mensagem e configurar a reutilização de tipo. ## <a name="how-to-select-a-service-endpoint"></a>Como: selecione um ponto de extremidade de serviço Alguns serviços do Windows Communication Foundation (WCF) expõem vários pontos de extremidade por meio do qual um cliente pode se comunicar com o serviço. Por exemplo, um serviço pode expor um ponto de extremidade que usa uma associação HTTP e o nome de usuário e a segurança de senha e um segundo ponto de extremidade que usa a autenticação do Windows e FTP. O primeiro ponto de extremidade pode ser usado por aplicativos que acessam o serviço de fora de um firewall, enquanto o segundo pode ser usado em uma intranet. Nesse caso, você pode especificar o `endpointConfigurationName` como um parâmetro para o construtor para uma referência de serviço. [!INCLUDE[note_settings_general](../data-tools/includes/note_settings_general_md.md)] ### <a name="to-select-a-service-endpoint"></a>Para selecionar um ponto de extremidade de serviço 1. Adicione uma referência a um serviço WCF clicando com o nó do projeto no **Gerenciador de soluções** e escolhendo **adicionar referência de serviço**. 2. No Editor de códigos, adicione um construtor para a referência de serviço: ```vb Dim proxy As New ServiceReference.Service1Client( ``` ```csharp ServiceReference.Service1Client proxy = new ServiceReference.Service1Client( ``` > [!NOTE] > Substitua *ServiceReference* com o namespace para a referência de serviço e a substituição *Service1Client* com o nome do serviço. 3. Uma lista do IntelliSense exibe que inclui as sobrecargas do construtor. Selecione o `endpointConfigurationName As String` de sobrecarga. 4. Após a sobrecarga, digite `=` *ConfigurationName*, onde *ConfigurationName* é o nome do ponto de extremidade que você deseja usar. > [!NOTE] > Se você não souber os nomes dos pontos de extremidade disponíveis, você pode encontrá-los de *App. config* arquivo. ### <a name="to-find-the-available-endpoints-for-a-wcf-service"></a>Para localizar pontos de extremidade disponíveis para um serviço WCF 1. No **Gerenciador de soluções**, com o botão direito do **App. config** de arquivos para o projeto que contém a referência de serviço e, em seguida, clique em **abrir**. O arquivo aparece no Editor de códigos. 2. Pesquise o `<Client>` marca no arquivo. 3. Pesquisar sob o `<Client>` marca para uma marca que começa com `<Endpoint>`. Se a referência de serviço fornece vários pontos de extremidade, haverá duas ou mais `<Endpoint` marcas. 4. Dentro de `<EndPoint>` marca, você encontrará um `name="` *SomeService* `"` parâmetro (onde *SomeService* representa um nome de ponto de extremidade). Esse é o nome para o ponto de extremidade que pode ser passado para o `endpointConfigurationName As String` sobrecarga de um construtor para uma referência de serviço. ## <a name="how-to-call-a-service-method-asynchronously"></a>Como: chamar um método de serviço de forma assíncrona A maioria dos métodos em serviços Windows Communication Foundation (WCF) pode ser chamado de forma síncrona ou assíncrona. Chamando um método de forma assíncrona permite que seu aplicativo para continuar trabalhando enquanto o método está sendo chamado quando ele opera sobre uma conexão lenta. Por padrão, quando uma referência de serviço é adicionada a um projeto, ele é configurado para chamar métodos de forma síncrona. Você pode alterar o comportamento para chamar os métodos de forma assíncrona, alterando uma configuração na **Configure Service Reference** caixa de diálogo. > [!NOTE] > Essa opção é definida em uma base por serviço. Se um método para um serviço é chamado de forma assíncrona, todos os métodos devem ser chamados de forma assíncrona. [!INCLUDE[note_settings_general](../data-tools/includes/note_settings_general_md.md)] ### <a name="to-call-a-service-method-asynchronously"></a>Para chamar um método de serviço de forma assíncrona 1. Na **Gerenciador de soluções**, selecione a referência de serviço. 2. Sobre o **Project** menu, clique em **Configure Service Reference**. 3. No **Configure Service Reference** caixa de diálogo, selecione o **gerar operações assíncronas** caixa de seleção. ## <a name="how-to-bind-data-returned-by-a-service"></a>Como: associar dados retornados por um serviço Você pode associar os dados retornados por um serviço do Windows Communication Foundation (WCF) a um controle, assim como você pode vincular qualquer outra fonte de dados a um controle. Quando você adiciona uma referência a um serviço WCF, se o serviço contiver tipos compostos que retornam dados, eles são adicionados automaticamente para o **fontes de dados** janela. ### <a name="to-bind-a-control-to-single-data-field-returned-by-a-wcf-service"></a>Para associar um controle a único campo de dados retornado por um serviço WCF 1. No menu **Dados**, clique em **Mostrar Fontes de Dados**. A janela **Fontes de Dados** é exibida. 2. No **fontes de dados** janela, expanda o nó para sua referência de serviço. Quaisquer tipos compostos retornados pela exibição do serviço. 3. Expanda um nó para um tipo. Os campos de dados para esse tipo aparecem. 4. Selecione um campo e clique na seta suspensa para exibir uma lista de controles que estão disponíveis para o tipo de dados. 5. Clique no tipo de controle ao qual você deseja associar. 6. Arraste o campo um formulário. O controle é adicionado ao formulário, juntamente com uma <xref:System.Windows.Forms.BindingSource> componente e um <xref:System.Windows.Forms.BindingNavigator> componente. 7. Repita as etapas 4, embora a 6 para todos os outros campos que você deseja associar. ### <a name="to-bind-a-control-to-composite-type-returned-by-a-wcf-service"></a>Para associar um controle a tipo composto retornado por um serviço WCF 1. Sobre o **dados** menu, selecione **Show Data Sources**. A janela **Fontes de Dados** é exibida. 2. No **fontes de dados** janela, expanda o nó para sua referência de serviço. Quaisquer tipos compostos retornados pela exibição do serviço. 3. Selecione um nó para um tipo e clique na seta suspensa para exibir uma lista das opções disponíveis. 4. Clique em **DataGridView** para exibir os dados em uma grade ou **detalhes** para exibir os dados em controles individuais. 5. Arraste o nó para o formulário. Os controles são adicionados ao formulário, juntamente com uma <xref:System.Windows.Forms.BindingSource> componente e um <xref:System.Windows.Forms.BindingNavigator> componente. ## <a name="how-to-configure-a-service-to-reuse-existing-types"></a>Como: configurar um serviço para reutilizar os tipos existentes Quando uma referência de serviço é adicionada a um projeto, quaisquer tipos definidos no serviço são gerados no projeto local. Em muitos casos, isso cria tipos duplicados quando um serviço usa tipos comuns do .NET Framework ou quando os tipos são definidos em uma biblioteca compartilhada. Para evitar esse problema, os tipos em assemblies referenciados são compartilhados por padrão. Se você quiser desabilitar o compartilhamento para um ou mais assemblies de tipo, você pode fazer isso na **configurar referências de serviço** caixa de diálogo. ### <a name="to-disable-type-sharing-in-a-single-assembly"></a>Para desabilitar o compartilhamento de tipo em um único assembly 1. Na **Gerenciador de soluções**, selecione a referência de serviço. 2. Sobre o **Project** menu, clique em **Configure Service Reference**. 3. No **configurar referências de serviço** caixa de diálogo, selecione **reutilizar os tipos em assemblies referenciados especificados**. 4. Marque a caixa de seleção para cada assembly no qual você deseja habilitar o compartilhamento de tipo. Para desabilitar o compartilhamento para um assembly de tipo, deixe a caixa de seleção desmarcada. ### <a name="to-disable-type-sharing-in-all-assemblies"></a>Para desabilitar o compartilhamento de tipo em todos os assemblies 1. Na **Gerenciador de soluções**, selecione a referência de serviço. 2. Sobre o **Project** menu, clique em **Configure Service Reference**. 3. No **configurar referências de serviço** caixa de diálogo, desmarque a **reutilizar os tipos em assemblies referenciados** caixa de seleção. ## <a name="related-topics"></a>Tópicos relacionados | Título | Descrição | | - | - | | [Passo a passo: criando um Serviço WCF em Windows Forms](../data-tools/walkthrough-creating-a-simple-wcf-service-in-windows-forms.md) | Fornece uma demonstração passo a passo de criação e uso de serviços WCF no Visual Studio. | | [Passo a passo: criando um serviço de dados WCF com WPF e Entity Framework](../data-tools/walkthrough-creating-a-wcf-data-service-with-wpf-and-entity-framework.md) | Fornece uma demonstração passo a passo de como criar e usar o WCF Data Services no Visual Studio. | | [Usando as ferramentas de desenvolvimento do WCF](/dotnet/framework/wcf/using-the-wcf-development-tools) | Discute como criar e testar os serviços WCF no Visual Studio. | | | [Como adicionar, atualizar ou remover uma referência de WCF Data Service](../data-tools/how-to-add-update-or-remove-a-wcf-data-service-reference.md) | | [Solução de problemas de referências de serviço](../data-tools/troubleshooting-service-references.md) | Apresenta alguns erros comuns que podem ocorrer com referências de serviço e como evitá-los. | | [Depurando serviços WCF](../debugger/debugging-wcf-services.md) | Descreve problemas comuns de depuração e técnicas que você pode encontrar ao depurar serviços WCF. | | [Passo a passo: criando um aplicativo de dados de N camadas](../data-tools/walkthrough-creating-an-n-tier-data-application.md) | Fornece instruções passo a passo para criar um conjunto de dados tipado e separar o código do TableAdapter e do conjunto de dados em vários projetos. | | [Configurar a caixa de diálogo de referência de serviço](../data-tools/configure-service-reference-dialog-box.md) | Descreve os elementos de interface do usuário para o **Configure Service Reference** caixa de diálogo. | ## <a name="reference"></a>Referência - <xref:System.ServiceModel> - <xref:System.Data.Services> ## <a name="see-also"></a>Consulte também - [Ferramentas de dados do Visual Studio para .NET](../data-tools/visual-studio-data-tools-for-dotnet.md)
80.418182
694
0.785982
por_Latn
0.999718
4b273c2c675c5ad7eddf91034621db55326b7cfe
190
md
Markdown
src/products/map-name-tetra-1442n-description-water-soluble-polyacrylate-phosphonate-and-corrosion-inhibitor-blend-type-list-production-chemicals-tags-list-finished-products-scale-inhibitors.md
tetraco-llc/tetraco-llc
03d272937a3b313c9e6d668683935f17e8cce6e5
[ "MIT" ]
null
null
null
src/products/map-name-tetra-1442n-description-water-soluble-polyacrylate-phosphonate-and-corrosion-inhibitor-blend-type-list-production-chemicals-tags-list-finished-products-scale-inhibitors.md
tetraco-llc/tetraco-llc
03d272937a3b313c9e6d668683935f17e8cce6e5
[ "MIT" ]
null
null
null
src/products/map-name-tetra-1442n-description-water-soluble-polyacrylate-phosphonate-and-corrosion-inhibitor-blend-type-list-production-chemicals-tags-list-finished-products-scale-inhibitors.md
tetraco-llc/tetraco-llc
03d272937a3b313c9e6d668683935f17e8cce6e5
[ "MIT" ]
null
null
null
--- name: Tetra 1442N description: Water soluble polyacrylate, phosphonate, and corrosion inhibitor blend type: - Production Chemicals tags: - Finished Products - Scale Inhibitors ---
19
83
0.757895
eng_Latn
0.935239
4b27f9475756b2e35fa398b0951e3d2c760e9019
394
md
Markdown
src/assets/peoples/goblins/background.md
almightynassar/almighty-rpg-manager
5e84f94ed0a69a0aaef1755b8f442e9782681182
[ "MIT" ]
1
2020-10-05T09:44:37.000Z
2020-10-05T09:44:37.000Z
src/assets/peoples/goblins/background.md
almightynassar/almighty-rpg-manager
5e84f94ed0a69a0aaef1755b8f442e9782681182
[ "MIT" ]
null
null
null
src/assets/peoples/goblins/background.md
almightynassar/almighty-rpg-manager
5e84f94ed0a69a0aaef1755b8f442e9782681182
[ "MIT" ]
2
2020-05-20T11:31:52.000Z
2021-06-11T12:12:01.000Z
### Cunning and Quick Although the average goblin is small, they make up for it with the quickness and agility. They are notoriously hard to catch, and are sometimes viewed by the other races as natural thieves and hooligans. ### Friends with Orcs The Goblins share the Shattered Isles with the Orcs. The Goblins create the settlements, while the Orcs live off the land in wandering tribes.
49.25
203
0.78934
eng_Latn
0.999984
4b2962a44122eb7459844d82beda6634d332a137
3,276
md
Markdown
docs/getting-started-guides/aws.md
kumarchinnakali/Apollo
a08c7b6bbd203f140162049223632d73c313013b
[ "MIT" ]
1
2019-04-22T03:35:23.000Z
2019-04-22T03:35:23.000Z
docs/getting-started-guides/aws.md
kumarchinnakali/Apollo
a08c7b6bbd203f140162049223632d73c313013b
[ "MIT" ]
null
null
null
docs/getting-started-guides/aws.md
kumarchinnakali/Apollo
a08c7b6bbd203f140162049223632d73c313013b
[ "MIT" ]
null
null
null
## Getting started on AWS ### Prerequisites 1. You need an AWS account. Visit [http://aws.amazon.com](http://aws.amazon.com) to get started 2. You need an AWS [instance profile and role](http://docs.aws.amazon.com/IAM/latest/UserGuide/instance-profiles.html) with EC2 full access. 3. You need an Atlas account. Visit [https://atlas.hashicorp.com](https://atlas.hashicorp.com) to get started. 4. You need to have installed and configured Terraform (>= 0.5.0 recommended). Visit [https://www.terraform.io/intro/getting-started/install.html](https://www.terraform.io/intro/getting-started/install.html) to get started. 5. You will need a VPN client if you want to access the web interfaces for Mesos, Consul and Marathon. We recommend using Tunnelblick. Visit [https://code.google.com/p/tunnelblick/](https://code.google.com/p/tunnelblick/) to download and install. 6. You need to have [Python](https://www.python.org/) >= 2.7.5 installed along with [pip](https://pip.pypa.io/en/latest/installing.html). ### Cluster Turnup #### Download Apollo ##### Install from source at head 1. ```git clone https://github.com/Capgemini/apollo.git``` 2. ```cd apollo``` 3. ```pip install -r requirements.txt``` #### Set config Configuration can be set via environment variables. All variables following the pattern "TF_VAR_" will be available for Apollo in terraform, see [https://github.com/hashicorp/terraform/pull/1621#issuecomment-100825568](https://github.com/hashicorp/terraform/pull/1621#issuecomment-100825568) All variables following pattern "APOLLO_" will be available for Apollo in ansible. For a full list of default config options for AWS see ```bootstrap/aws/config-default.sh``` As a minimum you will need to set these environment variables - ``` APOLLO_PROVIDER=aws or APOLLO_PROVIDER=aws-public TF_VAR_user TF_VAR_access_key TF_VAR_secret_key TF_VAR_key_file TF_VAR_key_name ATLAS_TOKEN ``` _NOTE: The value for ATLAS_TOKEN should be set to whatever you generated with your [Atlas Account](https://atlas.hashicorp.com/settings/tokens). #### Turn up the cluster ``` sh bootstrap/apollo-launch.sh ``` NOTE: The script will provision a new VPC and a 3 node mesos master cluster in eu-west-1 (Ireland). If you choose APOLLO_PROVIDER=aws-public: It will also create a mesos slave cluster and a Bastion server for accessing the VPC via VPN and SSH. It will then generate a local SSH config for the Bastion server and the private instances, and run an Ansible playbook to provision the cluster. Finally it will attempt to start and configure a VPN client connection for you. For instructions on how to configure the VPN (outside of the bootstrap script) to access the web interface of the tools see the [vpn guide](../aws/vpn.md). #### Tearing down the cluster ``` sh bootstrap/apollo-down.sh ``` #### SSH'ing to your private instances As part of ```apollo-launch.sh``` an SSH config file will be generated in ```$APOLLO_ROOT/terraform/aws/ssh.config```. If your master instance has a private IP of 10.0.1.11 (for example), You can SSH directly to that instance by doing the following - ``` ssh -F $APOLLO_ROOT/terraform/aws/ssh.config 10.0.1.11 ``` This will proxy your SSH command via the Bastion server and you should land in the master private instance.
42
246
0.761294
eng_Latn
0.924132
4b296dd2dd5b7d87bf53f9b1b859fa043bbd76da
1,463
md
Markdown
docs/tutorials/gluon/autograd.md
Vikas-kum/incubator-mxnet
ba02bf2fe2da423caa59ddb3fd5e433b90b730bf
[ "Apache-2.0" ]
399
2017-05-30T05:12:48.000Z
2022-01-29T05:53:08.000Z
docs/tutorials/gluon/autograd.md
yanghaojin/BMXNet
102f8d0ed59529bbd162c37bf07ae58ad6c4caa1
[ "Apache-2.0" ]
187
2018-03-16T23:44:43.000Z
2021-12-14T21:19:54.000Z
docs/tutorials/gluon/autograd.md
yanghaojin/BMXNet
102f8d0ed59529bbd162c37bf07ae58ad6c4caa1
[ "Apache-2.0" ]
107
2017-05-30T05:53:22.000Z
2021-06-24T02:43:31.000Z
# Automatic differentiation MXNet supports automatic differentiation with the `autograd` package. `autograd` allows you to differentiate a graph of NDArray operations with the chain rule. This is called define-by-run, i.e., the network is defined on-the-fly by running forward computation. You can define exotic network structures and differentiate them, and each iteration can have a totally different network structure. ```python import mxnet as mx from mxnet import autograd ``` To use `autograd`, we must first mark variables that require gradient and attach gradient buffers to them: ```python x = mx.nd.array([[1, 2], [3, 4]]) x.attach_grad() ``` Now we can define the network while running forward computation by wrapping it inside a `record` (operations out of `record` does not define a graph and cannot be differentiated): ```python with autograd.record(): y = x * 2 z = y * x ``` Let's backprop with `z.backward()`, which is equivalent to `z.backward(mx.nd.ones_like(z))`. When z has more than one entry, `z.backward()` is equivalent to `mx.nd.sum(z).backward()`: ```python z.backward() print(x.grad) ``` Now, let's see if this is the expected output. Here, y = f(x), z = f(y) = f(g(x)) which means y = 2 * x and z = 2 * x * x. After, doing backprop with `z.backward()`, we will get gradient dz/dx as follows: dy/dx = 2, dz/dx = 4 * x So, we should get x.grad as an array of [[4, 8],[12, 16]]. <!-- INSERT SOURCE DOWNLOAD BUTTONS -->
26.125
81
0.710185
eng_Latn
0.997906
4b2b2b079fe07df45b033cd14104975df2cd5e16
5,139
md
Markdown
docs/code-quality/ca2116.md
G-arj/visualstudio-docs
4c58c63b87a0613962a9b5d67ae116e98c48f4e5
[ "CC-BY-4.0", "MIT" ]
834
2017-06-24T10:40:36.000Z
2022-03-31T19:48:51.000Z
docs/code-quality/ca2116.md
G-arj/visualstudio-docs
4c58c63b87a0613962a9b5d67ae116e98c48f4e5
[ "CC-BY-4.0", "MIT" ]
7,042
2017-06-23T22:34:47.000Z
2022-03-31T23:05:23.000Z
docs/code-quality/ca2116.md
G-arj/visualstudio-docs
4c58c63b87a0613962a9b5d67ae116e98c48f4e5
[ "CC-BY-4.0", "MIT" ]
1,640
2017-06-23T22:31:39.000Z
2022-03-31T02:45:37.000Z
--- title: "CA2116: APTCA methods should only call APTCA methods" description: "A method in an assembly with the System.Security.AllowPartiallyTrustedCallersAttribute attribute calls a method in an assembly that does not have the attribute." ms.date: 11/04/2016 ms.topic: reference f1_keywords: - "AptcaMethodsShouldOnlyCallAptcaMethods" - "CA2116" helpviewer_keywords: - "AptcaMethodsShouldOnlyCallAptcaMethods" - "CA2116" ms.assetid: 8b91637e-891f-4dde-857b-bf8012270ec4 author: mikejo5000 ms.author: mikejo manager: jmartens ms.technology: vs-ide-code-analysis ms.workload: - "multiple" --- # CA2116: APTCA methods should only call APTCA methods |Item|Value| |-|-| |RuleId|CA2116| |Category|Microsoft.Security| |Breaking change|Breaking| ## Cause A method in an assembly with the <xref:System.Security.AllowPartiallyTrustedCallersAttribute?displayProperty=fullName> attribute calls a method in an assembly that does not have the attribute. > [!NOTE] > This rule has been deprecated. For more information, see [Deprecated rules](fxcop-unported-deprecated-rules.md). ## Rule description By default, public or protected methods in assemblies with strong names are implicitly protected by a [Link Demands](/dotnet/framework/misc/link-demands) for full trust; only fully trusted callers can access a strong-named assembly. Strong-named assemblies marked with the <xref:System.Security.AllowPartiallyTrustedCallersAttribute> (APTCA) attribute do not have this protection. The attribute disables the link demand, making the assembly accessible to callers that do not have full trust, such as code executing from an intranet or the Internet. When the APTCA attribute is present on a fully trusted assembly, and the assembly executes code in another assembly that does not allow partially trusted callers, a security exploit is possible. If two methods `M1` and `M2` meet the following conditions, malicious callers can use the method `M1` to bypass the implicit full trust link demand that protects `M2`: - `M1` is a public method declared in a fully trusted assembly that has the APTCA attribute. - `M1` calls a method `M2` outside `M1`'s assembly. - `M2`'s assembly does not have the APTCA attribute and, therefore, should not be executed by or on behalf of callers that are partially trusted. A partially trusted caller `X` can call method `M1`, causing `M1` to call `M2`. Because `M2` does not have the APTCA attribute, its immediate caller (`M1`) must satisfy a link demand for full trust; `M1` has full trust and therefore satisfies this check. The security risk is because `X` does not participate in satisfying the link demand that protects `M2` from untrusted callers. Therefore, methods with the APTCA attribute must not call methods that do not have the attribute. ## How to fix violations If the APCTA attribute is required, use a demand to protect the method that calls into the full trust assembly. The exact permissions you demand will depend on the functionality exposed by your method. If it is possible, protect the method with a demand for full trust to ensure that the underlying functionality is not exposed to partially trusted callers. If this is not possible, select a set of permissions that effectively protects the exposed functionality. ## When to suppress warnings To safely suppress a warning from this rule, you must ensure that the functionality exposed by your method does not directly or indirectly allow callers to access sensitive information, operations, or resources that can be used in a destructive manner. ## Example 1 The following example uses two assemblies and a test application to illustrate the security vulnerability detected by this rule. The first assembly does not have the APTCA attribute and should not be accessible to partially trusted callers (represented by `M2` in the previous discussion). :::code language="csharp" source="../snippets/csharp/VS_Snippets_CodeAnalysis/FxCop.Security.NoAptca/cs/FxCop.Security.NoAptca.cs" id="Snippet1"::: ## Example 2 The second assembly is fully trusted and allows partially trusted callers (represented by `M1` in the previous discussion). :::code language="csharp" source="../snippets/csharp/VS_Snippets_CodeAnalysis/FxCop.Security.YesAptca/cs/FxCop.Security.YesAptca.cs" id="Snippet1"::: ## Example 3 The test application (represented by `X` in the previous discussion) is partially trusted. :::code language="csharp" source="../snippets/csharp/VS_Snippets_CodeAnalysis/FxCop.Security.TestAptcaMethods/cs/FxCop.Security.TestAptcaMethods.cs" id="Snippet1"::: This example produces the following output: ```txt Demand for full trust:Request failed. ClassRequiringFullTrust.DoWork was called. ``` ## Related rules - [CA2117: APTCA types should only extend APTCA base types](../code-quality/ca2117.md) ## See also - [Secure Coding Guidelines](/dotnet/standard/security/secure-coding-guidelines) - [Using Libraries from Partially Trusted Code](/dotnet/framework/misc/using-libraries-from-partially-trusted-code) - [Link Demands](/dotnet/framework/misc/link-demands) - [Data and Modeling](/dotnet/framework/data/index)
59.755814
548
0.79315
eng_Latn
0.99554
4b2b36337d850f79e5942030d42ae09c9df64936
2,241
md
Markdown
reference-manual/convertigo-objects/mobile-application/components/components/sliding-tab-container.md
convertigo/convertigo-doc
4a326913807a6f72af7eb6f298dcaabbdc699b60
[ "MIT", "BSD-3-Clause" ]
2
2019-03-01T20:54:23.000Z
2019-03-22T10:36:12.000Z
reference-manual/convertigo-objects/mobile-application/components/components/sliding-tab-container.md
convertigo/convertigo-doc
4a326913807a6f72af7eb6f298dcaabbdc699b60
[ "MIT", "BSD-3-Clause" ]
null
null
null
reference-manual/convertigo-objects/mobile-application/components/components/sliding-tab-container.md
convertigo/convertigo-doc
4a326913807a6f72af7eb6f298dcaabbdc699b60
[ "MIT", "BSD-3-Clause" ]
2
2022-02-15T06:23:37.000Z
2022-03-19T12:13:11.000Z
--- layout: page title: Sliding Tabs Container sidebar: c8o_sidebar permalink: reference-manual/convertigo-objects/mobile-application/components/components/sliding-tab-container/ metadesc: super-tabs Defines a Sliding Tabs Container component. Sliding Tab Container can be used like Tabs Container but they usually appear on the top ObjGroup: Components ObjCatName: components ObjName: SlidingTabs ObjClass: ion_objects.json ObjIcon: /images/beans/mobile/components/dynamic/images/slidingtabs_color_32x32.png topnav: topnavobj --- super-tabs<br/> ##### Defines a <i>Sliding Tabs Container</i> component.<br/> <i>Sliding Tab Container</i> can be used like <i>Tabs Container</i> but they usually appear on the top of the page below the <i>Header</i>.<br/> <i>Sliding Tab Container</i> should be inserted in the <i>Content</i> component with the <i>padding</i> property removed.<br/> Also you can use the <i>no-border</i> attribute on the <i>Header</i> to remove the border and the shadow of the <i>NavBar</i>.<br/> <br/> Insert any number of <i>Sliding Tab Item</i> components, one for each tab.<br/> You can swipe from one tab to another or select a tab when you tap on it.<br/> For more information: <a href='https://github.com/zyra/ionic2-super-tabs'>Swipeable Tabs</a>. Name | Description --- | --- Badge color | The color of the badge. See colors for more information. Defaults to primary. Indicator color | The color of the tab indicator. See colors for more information. Defaults to primary. Scroll tabs | Set to true to enable tab bar swiping. Useful if you have lots of tabs. Selected Tab Index | The index of the tab that is selected when the component is initialized. Defaults to 0. Tabs placement | Placement of the tabs buttons. Defaults to top. Toolbar Color | The color of the text and icons inside the toolbar. See colors for more information. Toolbar background | The background color of the toolbar that contains the tab buttons. See colors for more information. Comment | Describes the object comment to include in the documentation report. This property generally contains an explanation about the object. Identifier | Defines the component identifier. Is active | Defines whether the component is active.
58.973684
160
0.770192
eng_Latn
0.980816
4b2c20f22a61a34e7a2a3eff8da331013a0243f8
8,528
md
Markdown
src/guides/schema-in-depth.md
weiznich/diesel.rs-website
e014758e8d8fcd2db05c9f7424338b1698bdb035
[ "MIT" ]
null
null
null
src/guides/schema-in-depth.md
weiznich/diesel.rs-website
e014758e8d8fcd2db05c9f7424338b1698bdb035
[ "MIT" ]
null
null
null
src/guides/schema-in-depth.md
weiznich/diesel.rs-website
e014758e8d8fcd2db05c9f7424338b1698bdb035
[ "MIT" ]
null
null
null
--- lang: en-US title: "Schema in Depth" css: ../assets/stylesheets/application.css include-after: | <script src="../assets/javascripts/application.js"></script> --- ::: demo ::: content-wrapper ::: guide-wrapper In this guide we're going to look at what exactly `diesel print-schema` and [`table!`] do. For `table!`, we will show a simplified version of the actual code that gets generated, and explain how each piece is relevant to you. If you've ever been confused about what exactly is getting generated, or what `use schema::posts::dsl::*` means, this is the right place to be. `diesel print-schema` is a command provided by Diesel CLI. This command will establish a database connection, query for a list of all the tables and their columns, and generate `table!` invocations for each one. `diesel print-schema` will skip any table names which start with `__` (a double underscore). Diesel can be configured to automatically re-run `diesel print-schema` whenever you run migrations. See [Configuring Diesel CLI] for details. `table!` is where the bulk of the code gets generated. If you wanted to, you could see the actual exact code that gets generated by running `cargo rustc -- -Z unstable-options --pretty=expanded`. However, the output will be quite noisy, and there's a lot of code that won't actually be relevant to you. Instead we're going to go step by step through a *simplified* version of this output, which only has the code which you would use directly. For this example, we'll look at the code generated by this `table!` invocation: [Configuring Diesel CLI]: ./configuring-diesel-cli.md [`table!`]: https://docs.diesel.rs/diesel/macro.table.html ```rust table! { users { id -> Integer, name -> Text, hair_color -> Nullable<Text>, } } ``` If you just want to see the full simplified code and look through it yourself, you will find it at the end of this guide. The output of `table!` is always a Rust module with the same name. The first and most important part of this module will be the definition of the table itself: ```rust pub struct table; ``` This is the struct that represents the user's table for the purpose of constructing SQL queries. It's usually referenced in code as `users::table` (or sometimes just `users`, more on that in a bit). Next, we'll see there's a module called `columns`, with one struct per column of the table. ```rust pub struct id; pub struct name; pub struct hair_color; ``` Each of these structs uniquely represents each column of the table for the purpose of constructing SQL queries. Each of these structs will implement a trait called [`Expression`], which indicates the SQL type of the column. [`Expression`]: https://docs.diesel.rs/diesel/expression/trait.Expression.html ```rust impl Expression for id { type SqlType = Integer; } impl Expression for name { type SqlType = Text; } impl Expression for hair_color { type SqlType = Nullable<Text>; } ``` The `SqlType` type is at the core of how Diesel ensures that your queries are correct. This type will be used by [`ExpressionMethods`] to determine what things can and cannot be passed to methods like `eq`. It will also be used by [`Queryable`] to determine what types can be deserialized when this column appears in the select clause. [`ExpressionMethods`]: https://docs.diesel.rs/diesel/expression_methods/trait.ExpressionMethods.html [`Queryable`]: https://docs.diesel.rs/diesel/query_source/trait.Queryable.html In the columns module you'll also see a special column called `star`. Its definition looks like this: ```rust pub struct star; impl Expression for star { type SqlType = (); } ``` The `star` struct represents `users.*` in the query builder. This struct is only intended to be used for generating count queries. It should never be used directly. Diesel loads your data from a query by index, not by name. In order to ensure that we're actually getting the data for the column we think we are, Diesel never uses `*` when we actually want to get the data back out of it. We will instead generate an explicit select clause such as `SELECT users.id, users.name, users.hair_color`. Everything in the columns module will be re-exported from the parent module. This is why we can reference columns as `users::id`, and not `users::columns::id`. ```rust pub use self::columns::*; pub struct table; pub mod columns { /* ... */ } ``` Queries can often get quite verbose when everything has to be prefixed with `users::`. For this reason, Diesel also provides a convenience module called `dsl`. ```rust pub mod dsl { pub use super::columns::{id, name, hair_color}; pub use super::table as users; } ``` This module re-exports everything in `columns` module (except for `star`), and also re-exports the table but renamed to the actual name of the table. This means that instead of writing: ```rust users::table .filter(users::name.eq("Sean")) .filter(users::hair_color.eq("black")) ``` we can instead write: ```rust users.filter(name.eq("Sean")).filter(hair_color.eq("black")) ``` The `dsl` module should only ever be imported for single functions. You should never have `use schema::users::dsl::*;` at the top of a module. Code like `#[derive(Insertable)]` will assume that `users` points to the module, not the table struct. Since `star` is otherwise inaccessible if you have `use schema::users::dsl::*;`, it is also exposed as an instance method on the table. ```rust impl table { pub fn star(&self) -> star { star } } ``` Next, there are several traits that get implemented for `table`. You generally will never interact with these directly, but they are what enable most of the query builder functions found in [the `query_dsl` module], as well as use with `insert`, `update`, and `delete`. [the `query_dsl` module]: https://docs.diesel.rs/diesel/query_dsl/index.html ```rust impl AsQuery for table { /* body omitted */ } impl Table for table { /* body omitted */ } impl IntoUpdateTarget for table { /* body omitted */ } ``` Finally, there are a few small type definitions and constants defined to make your life easier. ```rust pub const all_columns: (id, name, hair_color) = (id, name, hair_color); pub type SqlType = (Integer, Text, Nullable<Text>); pub type BoxedQuery<'a, DB, ST = SqlType> = BoxedSelectStatement<'a, ST, table, DB>; ``` `all_columns` is just a tuple of all of the column on the table. It is what is used to generate the `select` statement for a query on this table when you don't specify one explicitly. If you ever want to reference `users::star` for things that aren't count queries, you probably want `users::all_columns` instead. `SqlType` will be the SQL type of `all_columns`. It's rare to need to reference this directly, but it's less verbose than `<<users::table as Table>::AllColumns as Expression>::SqlType` when you need it. Finally, there is a helper type for referencing boxed queries built from this table. This means that instead of writing `BoxedSelectStatement<'static, users::SqlType, users::table, Pg>` you can instead write `users::BoxedQuery<'static, Pg>`. You can optionally specify the SQL type as well if the query has a custom select clause. And that's everything! Here is the full code that was generated for this table: ```rust pub mod users { pub use self::columns::*; pub mod dsl { pub use super::columns::{id, name, hair_color}; pub use super::table as users; } pub const all_columns: (id, name, hair_color) = (id, name, hair_color); pub struct table; impl table { pub fn star(&self) -> star { star } } pub type SqlType = (Integer, Text, Nullable<Text>); pub type BoxedQuery<'a, DB, ST = SqlType> = BoxedSelectStatement<'a, ST, table, DB>; impl AsQuery for table { /* body omitted */ } impl Table for table { /* body omitted */ } impl IntoUpdateTarget for table { /* body omitted */ } pub mod columns { pub struct star; impl Expression for star { type SqlType = (); } pub struct id; impl Expression for id { type SqlType = Integer; } pub struct name; impl Expression for name { type SqlType = Text; } pub struct hair_color; impl Expression for hair_color { type SqlType = Nullable<Text>; } } } ``` ::: ::: :::
29.406897
101
0.703682
eng_Latn
0.995977
4b2d305a95cc0b2cac6796ac50948179e7ffdb12
1,000
md
Markdown
README.md
CristianDRM/mask_shifter
7e6a37ed8f2e76707eb3a8dd12901bfec37392c5
[ "Apache-2.0" ]
5
2018-12-04T12:44:24.000Z
2020-10-05T18:29:26.000Z
README.md
CristianDRM/mask_shifter
7e6a37ed8f2e76707eb3a8dd12901bfec37392c5
[ "Apache-2.0" ]
1
2020-12-16T14:46:13.000Z
2021-04-27T22:23:43.000Z
README.md
CristianDRM/mask_shifter
7e6a37ed8f2e76707eb3a8dd12901bfec37392c5
[ "Apache-2.0" ]
1
2021-03-30T22:13:19.000Z
2021-03-30T22:13:19.000Z
# mask_shifter This package provides a way to switch between two masks in a TextField ## Getting Started Import the packages: ```dart import 'package:mask_shifter/mask_shifter.dart'; ``` ## Its very simple to use: Just pass the class as an input formatter. Example: ```dart return TextField( inputFormatters: [ MaskedTextInputFormatterShifter( maskONE:"XXX.XXX.XXX-XX", maskTWO:"XX.XXX.XXX/XXXX-XX" ), ], decoration: InputDecoration( border: OutlineInputBorder(), labelText: this.label, labelStyle: TextStyle(fontWeight: FontWeight.bold), ), ); ``` There are two parameters, maskONE and maskTWO. maskONE must be the shorter mask, and maskTWO the longest. For help getting started with Flutter, view our online [documentation](https://flutter.io/). For help on editing package code, view the [documentation](https://flutter.io/developing-packages/).
25
100
0.655
eng_Latn
0.920107
4b2da5f41d487a731962b2d9e86e23b19a9792e6
513
md
Markdown
docs/README.md
filipecancio/Jappy
687b116a5e4faba3174d85d20445eb3ffe63fbeb
[ "MIT" ]
null
null
null
docs/README.md
filipecancio/Jappy
687b116a5e4faba3174d85d20445eb3ffe63fbeb
[ "MIT" ]
null
null
null
docs/README.md
filipecancio/Jappy
687b116a5e4faba3174d85d20445eb3ffe63fbeb
[ "MIT" ]
null
null
null
# Jappy :dog: Projeto de appscript com CLASP [![cancio-dev](https://img.shields.io/badge/cancio--dev-website-green)](https://cancio.dev/) [![Jappy](https://img.shields.io/badge/jappy-website-9cf)](https://jappy.cancio.dev/) ## Adicionando a biblioteca no seu projeto - Clique em **Recursos\Bibliotecas** - Coloque o project key `1e4cIvhLHCs38GpPkiB0RVQlEL_KAdD8CrrhSYpgakWi2cosaKK7ZoBj2` e clique em **Adicionar**. - Selecione a versão mais recente e escolha `Jappy` com identificador. - Clique em **Salvar**.
39.461538
110
0.750487
por_Latn
0.893426
4b2dafd35d8287a12e5bcaefa4a559a49b026e91
1,368
md
Markdown
INSTALL.md
josevnz/jdumpertools
3843ca1fdd97678588b461d185c506394f430b5f
[ "Apache-2.0" ]
null
null
null
INSTALL.md
josevnz/jdumpertools
3843ca1fdd97678588b461d185c506394f430b5f
[ "Apache-2.0" ]
null
null
null
INSTALL.md
josevnz/jdumpertools
3843ca1fdd97678588b461d185c506394f430b5f
[ "Apache-2.0" ]
null
null
null
# Compilation You will need: * gcc 8.3.1+ and Make 4.2.1+ to compile * RPM build 4.14+ if you want to create an RPM * Docker 19.03+ if you want to create a docker image ## Example build session I assume you have the necessary expertise to install and use tools like [Make](https://en.wikipedia.org/wiki/Makefile), [rpmbuild](https://www.redhat.com/sysadmin/create-rpm-package), [Docker build](https://docs.docker.com/engine/reference/commandline/build/) on your system. You are more than welcome to contribute documentation on how to do these tasks. ``` # To compile make all # To build an RPM # rpmlint jdumpertools.spec # rpmdev-setuptree make rpm # To create a Docker image make docker ``` # Installation ## RPM ``` rpm -Uhv jdumpertools-0-1.fc33.x86_64.rpm ``` ## Docker You need to install Docker. Please follow this [directions](https://docs.docker.com/engine/install/fedora/) [Official repository](https://hub.docker.com/r/josevnz/jdumpertools) ``` docker pull josevnz/jdumpertools ``` ## From source Just copy the libjdumpertools.so to your $$HOME/lib directory and jdu, jutmp to $HOME/bin. You will need to update your LD_LIBRARY_PATH: ``` # Add this to your ~/.bash_profile export LD_LIBRARY_PATH=$HOME/lib:$LD_LIBRARY_PATH ``` # Bugs / feature request This software was tested on Fedora 33. If you find a bug please report it on GitHub.
23.586207
355
0.741228
eng_Latn
0.889961
4b2e3ccbeab73090f23959df9c92f977f0fc4216
3,460
md
Markdown
README.md
nmoran/Transformers.jl
27a736794487f303d7919ac03623c9d34670f744
[ "MIT" ]
null
null
null
README.md
nmoran/Transformers.jl
27a736794487f303d7919ac03623c9d34670f744
[ "MIT" ]
null
null
null
README.md
nmoran/Transformers.jl
27a736794487f303d7919ac03623c9d34670f744
[ "MIT" ]
null
null
null
<div align="center"> <img src="images/transformerslogo.png" alt="Transformers.jl" width="512"></img></div> [![Build Status](https://travis-ci.com/chengchingwen/Transformers.jl.svg?branch=master)](https://travis-ci.com/chengchingwen/Transformers.jl) [![codecov](https://codecov.io/gh/chengchingwen/Transformers.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/chengchingwen/Transformers.jl) [![](https://img.shields.io/badge/docs-dev-blue.svg)](https://chengchingwen.github.io/Transformers.jl/dev/) Julia implementation of [transformer](https://arxiv.org/abs/1706.03762)-based models, with [Flux.jl](https://github.com/FluxML/Flux.jl). # Installation In the Julia REPL: ]add Transformers For using GPU, install & build: ]add CUDA ]build julia> using CUDA julia> using Transformers #run the model below . . . # Example Using pretrained Bert with `Transformers.jl`. ```julia using Transformers using Transformers.Basic using Transformers.Pretrain ENV["DATADEPS_ALWAYS_ACCEPT"] = true bert_model, wordpiece, tokenizer = pretrain"bert-uncased_L-12_H-768_A-12" vocab = Vocabulary(wordpiece) text1 = "Peter Piper picked a peck of pickled peppers" |> tokenizer |> wordpiece text2 = "Fuzzy Wuzzy was a bear" |> tokenizer |> wordpiece text = ["[CLS]"; text1; "[SEP]"; text2; "[SEP]"] @assert text == [ "[CLS]", "peter", "piper", "picked", "a", "peck", "of", "pick", "##led", "peppers", "[SEP]", "fuzzy", "wu", "##zzy", "was", "a", "bear", "[SEP]" ] token_indices = vocab(text) segment_indices = [fill(1, length(text1)+2); fill(2, length(text2)+1)] sample = (tok = token_indices, segment = segment_indices) bert_embedding = sample |> bert_model.embed feature_tensors = bert_embedding |> bert_model.transformers ``` See `example` folder for the complete example. # Huggingface We have some support for the models from [`huggingface/transformers`](https://github.com/huggingface/transformers). ```julia using Transformers.HuggingFace # loading a model from huggingface model hub julia> model = hgf"bert-base-cased:forquestionanswering"; ┌ Warning: Transformers.HuggingFace.HGFBertForQuestionAnswering doesn't have field cls. └ @ Transformers.HuggingFace ~/peter/repo/gsoc2020/src/huggingface/models/models.jl:46 ┌ Warning: Some fields of Transformers.HuggingFace.HGFBertForQuestionAnswering aren't initialized with loaded state: qa_outputs └ @ Transformers.HuggingFace ~/peter/repo/gsoc2020/src/huggingface/models/models.jl:52 ``` Current we only support a few model and the tokenizer part is not finished yet. # For more information If you want to know more about this package, see the [document](https://chengchingwen.github.io/Transformers.jl/dev/) and the series of [blog posts](https://nextjournal.com/chengchingwen) I wrote for JSoC and GSoC. You can also tag me (@chengchingwen) on Julia's slack or discourse if you have any questions, or just create a new Issue on GitHub. # Roadmap ## What we have before v0.2 - `Transformer` and `TransformerDecoder` support for both 2d & 3d data. - `PositionEmbedding` implementation. - `Positionwise` for handling 2d & 3d input. - docstring for most of the functions. - runable examples (see `example` folder) - `Transformers.HuggingFace` for handling pretrains from `huggingface/transformers` ## What we will have in v0.2.0 - Complete tokenizer APIs - tutorials - benchmarks - more examples
31.743119
148
0.728324
eng_Latn
0.738642
4b2f0c621fe2cdea41da620d712516c7e92a2ded
77
md
Markdown
README.md
everchain-project/wallet.js
1348b02f96941935e07f570248e26387a7f89768
[ "MIT" ]
null
null
null
README.md
everchain-project/wallet.js
1348b02f96941935e07f570248e26387a7f89768
[ "MIT" ]
null
null
null
README.md
everchain-project/wallet.js
1348b02f96941935e07f570248e26387a7f89768
[ "MIT" ]
null
null
null
# wallet.js A javascript library for creating and managing delegated wallets
25.666667
64
0.831169
eng_Latn
0.995182
4b2f3936f425dceed5d42524636b248752c4b5ad
1,245
md
Markdown
content/publication/li-2011-iedm/index.md
bdai6/my_website
11cb8685d3f574333b9f0c81ea49c2d76798fa16
[ "MIT" ]
1
2019-08-07T21:38:13.000Z
2019-08-07T21:38:13.000Z
content/publication/li-2011-iedm/index.md
bdai6/my_website
11cb8685d3f574333b9f0c81ea49c2d76798fa16
[ "MIT" ]
null
null
null
content/publication/li-2011-iedm/index.md
bdai6/my_website
11cb8685d3f574333b9f0c81ea49c2d76798fa16
[ "MIT" ]
null
null
null
--- title: "Explore physical origins of resistance drift in phase change memory and its implication for drift-insensitive materials" authors: ["Jing Li","Binquan Luan","T. H. Hsu","Y. Zhu","G. Martyna","D. Newns","H. Y. Cheng","S. Raoux","H. L. Lung","C. Lam"] date: 2011-12-01 doi: "10.1109/IEDM.2011.6131541" publication_types: ["1"] publication: "_2011 International Electron Devices Meeting (**IEDM**)_" publication_short: "" summary: "" tags: ["conference"," amorphous semiconductors","antimony alloys","atomic structure","germanium alloys","phase change materials","phase change memories","tellurium alloys","ge","sb","te","amorphous germanium","atomic structure","drift-insensitive phase change material","electrical characteristics","first principle ab initio method","material-device characterization","phase change memory","resistance drift","tellurium ternary alloys","conductivity","phase change materials","phase change memory","programming","resistance","temperature measurement"] categories: [] featured: false url_pdf: url_code: url_dataset: url_poster: url_project: url_slides: url_source: url_video: image: caption: "" focal_point: "" preview_only: false projects: [] slides: "" --- (Acceptance Rate*: underline33%)
36.617647
552
0.745382
eng_Latn
0.505173
4b2f575d5b56d94fb4f8f6e9e4b7d6d5108d8502
11,143
md
Markdown
docs/index.md
techieshark/nginx-ee
6a6ebe01b72ca7c4a9d366034c9f189563f6e9fb
[ "MIT" ]
168
2017-12-15T21:48:33.000Z
2022-03-29T14:48:10.000Z
docs/index.md
techieshark/nginx-ee
6a6ebe01b72ca7c4a9d366034c9f189563f6e9fb
[ "MIT" ]
66
2017-12-07T21:09:11.000Z
2022-02-14T00:50:47.000Z
docs/index.md
techieshark/nginx-ee
6a6ebe01b72ca7c4a9d366034c9f189563f6e9fb
[ "MIT" ]
76
2017-12-07T20:46:02.000Z
2022-03-23T20:02:42.000Z
--- title: Nginx-ee - Automated Nginx compilation from sources with additional modules support layout: default --- <h1 align="center"> <br> <img src="https://raw.githubusercontent.com/VirtuBox/nginx-ee/master/nginx-ee-logo.png" alt="nginx-ee"> <br> Nginx-ee <br> </h1> <h4 align="center"> Automated Nginx compilation from sources with additional modules support </h4> <hr /> <p align="center"> <a href="https://travis-ci.org/VirtuBox/nginx-ee"><img src="https://travis-ci.com/VirtuBox/nginx-ee.svg?branch=master" alt="build" /></a> <img src="https://img.shields.io/github/license/VirtuBox/nginx-ee.svg" alt="MIT"> <img src="https://img.shields.io/github/stars/VirtuBox/nginx-ee.svg" alt="Stars"> <img src="https://img.shields.io/github/last-commit/virtubox/nginx-ee/master.svg?style=flat" alt="Commits"> <br> <img src="https://img.shields.io/github/release/VirtuBox/nginx-ee.svg?style=flat" alt="GitHub release"> <a href="https://www.codacy.com/app/VirtuBox/nginx-ee?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=VirtuBox/nginx-ee&amp;utm_campaign=Badge_Grade"><img src="https://api.codacy.com/project/badge/Grade/61fe95d2311241b6b5051a04493a43c2" alt="codacy"/></a> <a href="https://www.codefactor.io/repository/github/virtubox/nginx-ee"><img src="https://www.codefactor.io/repository/github/virtubox/nginx-ee/badge" alt="CodeFactor" /></a> <img src="https://status.virtubox.net/netdata/api/v1/badge.svg?chart=web_log_vtb.cx.requests_per_url&options=unaligned&dimensions=nginx-ee&group=sum&after=-86400&label=today&units=installations&precision=0&color=%2300AA00" alt="nginx-ee-badge"/></p> <p align="center"> <a href="#features"> Features<a> • <a href="#additional-third-party-modules"> Modules</a> • <a href="#compatibility"> Compatibility</a> • <a href="#usage"> Usage</a> • <a href="https://github.com/VirtuBox/nginx-ee/wiki"> Wiki</a> • <a href="#related"> Related</a> • <a href="#credits"> Credits</a> • <a href="#license"> License</a> <p align="center"><img src="https://raw.githubusercontent.com/VirtuBox/nginx-ee/master/nginx-ee.png" alt="Nginx-ee"></p> <hr /> <h2 id="features">Features</h2> <ul> <li>Compile the latest Nginx releases : stable or mainline</li> <li>Install Nginx or replace Nginx package previously installed</li> <li>Nginx built-in modules selection</li> <li>Nginx Third-party modules selection</li> <li>Dynamic modules support</li> <li>Brotli Support</li> <li>TLS v1.3 support (Final)</li> <li>OpenSSL (1.1.1g or 3.0.0-dev or from system-lib) or LibreSSL</li> <li>Cloudflare HPACK</li> <li>Cloudflare zlib</li> <li>Automated nginx updates cronjob</li> <li>Compilation with GCC-7/9</li> <li>Security hardening and performance optimization enabled with proper GCC flags</li> </ul> <hr /> <h2 id="additional-third-party-modules">Additional Third-party modules</h2> <p>Nginx current mainline release : <strong>v1.19.2</strong> Nginx current stable release : <strong>v1.18.0</strong></p> <ul> <li><a href="https://github.com/FRiCKLE/ngx_cache_purge">ngx_cache_purge</a></li> <li><a href="https://github.com/openresty/headers-more-nginx-module">headers-more-nginx-module</a></li> <li><a href="https://github.com/google/ngx_brotli">ngx_brotli</a></li> <li><a href="https://github.com/openresty/memc-nginx-module.git">memc-nginx-module</a></li> <li><a href="https://github.com/simpl/ngx_devel_kit.git">ngx-devel-kit</a></li> <li><a href="https://github.com/openresty/srcache-nginx-module">srcache-nginx-module</a></li> <li><a href="https://github.com/yaoweibin/ngx_http_substitutions_filter_module">ngx_http_substitutions_filter_module</a></li> <li><a href="https://github.com/nginx-modules/ngx_http_tls_dyn_size">nginx_dynamic_tls_records</a></li> <li><a href="http://www.ipscrub.org/">ipscrub</a></li> <li><a href="https://github.com/sto/ngx_http_auth_pam_module">ngx_http_auth_pam_module</a></li> <li><a href="https://github.com/vozlt/nginx-module-vts">virtual-host-traffic-status</a></li> <li><a href="https://github.com/cloudflare/zlib.git">Cloudflare zlib</a></li> <li><a href="https://github.com/openresty/redis2-nginx-module.git">redis2-nginx-module</a></li> </ul> <p>For Nginx http_ssl_module :</p> <ul> <li><a href="https://github.com/openssl/openssl">OpenSSL</a></li> <li><a href="https://github.com/libressl-portable">LibreSSL</a></li> </ul> <p>Optional modules :</p> <ul> <li><a href="https://github.com/apache/incubator-pagespeed-ngx">ngx_pagespeed</a></li> <li><a href="https://github.com/nbs-system/naxsi">naxsi WAF</a></li> <li><a href="https://github.com/arut/nginx-rtmp-module">nginx-rtmp-module</a></li> </ul> <hr /> <h2 id="compatibility">Compatibility</h2> <h3 id="operating-system">Operating System</h3> <h4 id="recommended">Recommended</h4> <ul> <li>Ubuntu 20.04 LTS (Focal)</li> <li>Ubuntu 18.04 LTS (Bionic)</li> <li>Debian 10 (Buster)</li> </ul> <h4 id="also-compatible">Also compatible</h4> <ul> <li>Ubuntu 19.10 (Eoan)</li> <li>Ubuntu 19.04 (Disco)</li> <li>Ubuntu 18.10 (Cosmic)</li> <li>Ubuntu 16.04 LTS (Xenial)</li> <li>Debian 9 (Stretch)</li> <li>Debian 8 (Jessie)</li> <li>Raspbian 9 (Stretch)</li> <li>Raspbian 10 (Buster)</li> </ul> <h3 id="applications">Applications</h3> <h4 id="lemp-stack">LEMP Stack</h4> <ul> <li>EasyEngine v3</li> <li>WordOps</li> </ul> <h4 id="plesk">Plesk</h4> <ul> <li>17.5.x</li> <li>17.8.x</li> <li>17.9.x</li> <li>18.x (Obsidian)</li> </ul> <hr /> <h2 id="usage">Usage</h2> <h3 id="one-step-automated-install">One-Step Automated Install</h3> <p><strong>Default settings</strong> :</p> <ul> <li>mainline release</li> <li>openssl stable : 1.1.1g</li> <li>without pagespeed</li> <li>without naxsi</li> <li>without rtmp</li> </ul> <pre><code class="language-bash">bash &lt;(wget -O - vtb.cx/nginx-ee || curl -sL vtb.cx/nginx-ee) </code></pre> <h3 id="alternative-install-method">Alternative Install Method</h3> <pre><code class="language-bash">git clone https://github.com/VirtuBox/nginx-ee cd nginx-ee sudo bash nginx-build.sh </code></pre> <h3 id="interactive-install">Interactive install</h3> <p>Interactive installation is available with arguments <code>-i</code> or <code>--interactive</code></p> <pre><code class="language-bash">bash &lt;(wget -O - vtb.cx/nginx-ee || curl -sL vtb.cx/nginx-ee) --interactive </code></pre> <h3 id="custom-installation">Custom installation</h3> <p>Example : Nginx stable release with pagespeed and naxsi</p> <pre><code class="language-bash">bash &lt;(wget -O - vtb.cx/nginx-ee || curl -sL vtb.cx/nginx-ee) --stable --pagespeed --naxsi </code></pre> <h4 id="options-available">Options available</h4> <p>Nginx build options :</p> <ul> <li><code>--stable</code> : compile Nginx stable release</li> <li><code>--full</code> : Naxsi + PageSpeed + RTMP</li> <li><code>--dynamic</code> : Compile Nginx modules as dynamic modules</li> </ul> <p>Optional third-party modules :</p> <ul> <li><code>--pagespeed</code>: compile nginx with ngx_pagespeed latest-stable</li> <li><code>--pagespeed-beta</code>: compile nginx with ngx_pagespeed latest-beta</li> <li><code>--naxsi</code> : compile nginx with naxsi</li> <li><code>--rtmp</code> : compile nginx with rtmp module</li> <li><code>--libressl</code> : compile nginx with LibreSSL instead of OpenSSL</li> <li><code>--openssl-dev</code> : compile nginx with OpenSSL 3.0.0-dev</li> <li><code>--openssl-system</code> : compile nginx with OpenSSL system lib</li> </ul> <p>Extras :</p> <ul> <li><code>--cron</code> : setup daily cronjob to update nginx each time a new release is available</li> </ul> <hr /> <h2 class="atx" id="packages">Packages</h2> <p>You are looking for an up-to-date version of Nginx with additional modules but without having to recompile Nginx after new releases ? Feel free to use the custom Nginx package built for WordOps and available on <a href="https://launchpad.net/~wordops/+archive/ubuntu/nginx-wo">Launchpad.net</a>.</p> <p>Add the repository</p> <pre><code class="language-bash">sudo add-apt-repository ppa:wordops/nginx-wo -uy </code></pre> <p>Install Nginx</p> <pre><code class="language-bash">sudo apt install nginx-custom nginx-wo -y </code></pre> <hr /> <h2 id="roadmap">Roadmap</h2> <ul class="contains-task-list"> <li class="task-list-item"><input disabled="disabled" type="checkbox" checked="checked" /> Add choice between stable &amp; mainline release</li> <li class="task-list-item"><input disabled="disabled" type="checkbox" checked="checked" /> Add Nginx configuration examples</li> <li class="task-list-item"><input disabled="disabled" type="checkbox" checked="checked" /> Add Cloudflare HPACK patch</li> <li class="task-list-item"><input disabled="disabled" type="checkbox" checked="checked" /> Add support for servers without EasyEngine</li> <li class="task-list-item"><input disabled="disabled" type="checkbox" checked="checked" /> Add non-interactive installation</li> <li class="task-list-item"><input disabled="disabled" type="checkbox" checked="checked" /> Add automated update detection</li> <li class="task-list-item"><input disabled="disabled" type="checkbox" checked="checked" /> Add support for Plesk servers</li> <li class="task-list-item"><input disabled="disabled" type="checkbox" checked="checked" /> Add Nginx modules choice</li> <li class="task-list-item"><input disabled="disabled" type="checkbox" checked="checked" /> Add support for Debian 9</li> <li class="task-list-item"><input disabled="disabled" type="checkbox" /> Add support for config.inc build configuration</li> <li class="task-list-item"><input disabled="disabled" type="checkbox" checked="checked" /> Add openssl release choice</li> <li class="task-list-item"><input disabled="disabled" type="checkbox" checked="checked" /> Add more compilation presets</li> <li class="task-list-item"><input disabled="disabled" type="checkbox" checked="checked" /> Add support for LibreSSL</li> </ul> <hr /> <h2 id="related">Related</h2> <ul> <li><a href="https://github.com/VirtuBox/ubuntu-nginx-web-server">Ubuntu-nginx-web-server</a></li> <li><a href="https://github.com/WordOps/WordOps">WordOps</a></li> <li><a href="https://github.com/VirtuBox/plesk-nginx-fascgi-cache-template">Plesk-nginx-fastcgi-cache-template</a></li> <li><a href="https://github.com/VirtuBox/nginx-cloudflare-real-ip">Nginx-Cloudflare-real-ip</a></li> <li><a href="https://github.com/VirtuBox/advanced-nginx-cheatsheet">Advanced Nginx Cheatsheet</a></li> </ul> <hr /> <h2 id="contributing">Contributing</h2> <p>If you have any ideas, just open an issue and describe what you would like to add/change in Nginx-ee.</p> <p>If you'd like to contribute, please fork the repository and make changes as you'd like. Pull requests are warmly welcome.</p> <h2 id="credits">Credits</h2> <ul> <li><a href="https://github.com/centminmod/centminmod">centminmod</a> : Nginx, Nginx modules &amp; various other patches</li> <li><a href="https://github.com/hakasenyang/openssl-patch">hakase</a> : OpenSSL-patch</li> <li><a href="https://github.com/kn007/patch">Karl Chen</a> : Nginx patches</li> </ul> <h2 id="license">License</h2> <p><a href="https://github.com/VirtuBox/nginx-ee/blob/master/LICENSE">MIT</a> © <a href="https://virtubox.net" title="VirtuBox" target="_blank">VirtuBox</a></p>
52.314554
269
0.718568
kor_Hang
0.191442
4b2fa04b05fe6cc33b7053948a620747bdd19705
44
md
Markdown
README.md
SwiftHow/swift.how
d284f05a7c8e2035f02bd168d26fccb312f7a404
[ "MIT" ]
null
null
null
README.md
SwiftHow/swift.how
d284f05a7c8e2035f02bd168d26fccb312f7a404
[ "MIT" ]
null
null
null
README.md
SwiftHow/swift.how
d284f05a7c8e2035f02bd168d26fccb312f7a404
[ "MIT" ]
null
null
null
# swift.how swift.how 2.0 based on grommet.
14.666667
31
0.727273
eng_Latn
0.978772
4b2fd93ec052b960f31d0a9189101fb804037dea
438
md
Markdown
README.md
thayallans/invisify.js
923d49a9c8b28d1e4a4f707c2f0730aec7a24eb9
[ "MIT" ]
2
2021-03-03T06:17:26.000Z
2022-01-07T12:09:21.000Z
README.md
thayallans/invisify.js
923d49a9c8b28d1e4a4f707c2f0730aec7a24eb9
[ "MIT" ]
1
2021-03-03T06:43:25.000Z
2021-03-03T06:44:34.000Z
README.md
thayallans/invisify.js
923d49a9c8b28d1e4a4f707c2f0730aec7a24eb9
[ "MIT" ]
1
2021-03-03T06:40:38.000Z
2021-03-03T06:40:38.000Z
# invisify.js Convert a String into a collection of invisible characters. Great for minimalists who hate looking at Strings. ## Installation (NPM) ```bash npm install invisify ``` ## Installation (CDN) ``` <script src="https://unpkg.com/invisify@1.0.4/cdn/invisify.js"></script> ``` ## Usage (NPM) ```javascript const { stringToInvisify } = require('invisify'); stringToInvisify('lolol'); // Outputs invisible character collection ```
21.9
110
0.721461
eng_Latn
0.597412
4b30c23ec84b6cacd8ca407aecca385bc0533866
758
md
Markdown
windows.ui.core/corewindow_characterreceived.md
djee-ms/winrt-api
a98775bf0a76fbfd2aeb67b46b79540d56b78ebd
[ "CC-BY-4.0", "MIT" ]
null
null
null
windows.ui.core/corewindow_characterreceived.md
djee-ms/winrt-api
a98775bf0a76fbfd2aeb67b46b79540d56b78ebd
[ "CC-BY-4.0", "MIT" ]
null
null
null
windows.ui.core/corewindow_characterreceived.md
djee-ms/winrt-api
a98775bf0a76fbfd2aeb67b46b79540d56b78ebd
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- -api-id: E:Windows.UI.Core.CoreWindow.CharacterReceived -api-type: winrt event --- <!-- Event syntax public event Windows.Foundation.TypedEventHandler CharacterReceived<Windows.UI.Core.CoreWindow, Windows.UI.Core.CharacterReceivedEventArgs> --> # Windows.UI.Core.CoreWindow.CharacterReceived ## -description Is fired when a new character is received by the input queue. ## -remarks Apps do not receive this event when an [Input Method Editor (IME)](https://msdn.microsoft.com/library/5fcc73e6-f499-47e6-8e81-0014ca4d241c) is enabled. The Input Method Editor (IME) handles all keyboard input and sets [Handled](characterreceivedeventargs_handled.md) to **true**. ## -examples ## -see-also [CharacterReceivedEventArgs](characterreceivedeventargs.md)
36.095238
279
0.78628
eng_Latn
0.599873
4b312e57dc41735709b072017999738e8ecc374c
5,153
md
Markdown
docs/vs-2015/extensibility/private-galleries.md
seferciogluecce/visualstudio-docs.tr-tr
222704fc7d0e32183a44e7e0c94f11ea4cf54a33
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/vs-2015/extensibility/private-galleries.md
seferciogluecce/visualstudio-docs.tr-tr
222704fc7d0e32183a44e7e0c94f11ea4cf54a33
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/vs-2015/extensibility/private-galleries.md
seferciogluecce/visualstudio-docs.tr-tr
222704fc7d0e32183a44e7e0c94f11ea4cf54a33
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- title: Özel galeriler | Microsoft Docs ms.custom: '' ms.date: 11/15/2016 ms.prod: visual-studio-dev14 ms.reviewer: '' ms.suite: '' ms.technology: - vs-ide-sdk ms.tgt_pltfrm: '' ms.topic: article helpviewer_keywords: - VSIX galleries, private - private galleries, VSIX ms.assetid: b6b3dee7-91c5-4556-9f69-0d56b675e83b caps.latest.revision: 11 ms.author: gregvanl manager: ghogen ms.openlocfilehash: 820b0e992b79af28ca1b7f65f6a2f6221396da9e ms.sourcegitcommit: 9ceaf69568d61023868ced59108ae4dd46f720ab ms.translationtype: MT ms.contentlocale: tr-TR ms.lasthandoff: 10/12/2018 ms.locfileid: "49192622" --- # <a name="private-galleries"></a>Özel Galeriler [!INCLUDE[vs2017banner](../includes/vs2017banner.md)] Denetimleri, şablonlar ve bunlara yayınlayarak geliştirme araçları paylaşabilirsiniz bir *özel galeri* gösterildiği gibi kuruluşunuz için intranet üzerindeki: - Bir Atom (uygun şekilde yapılandırılmış merkezi bir konuma (depo) intranet ağınızdaki RSS akışı) oluşturun. Daha fazla bilgi için [nasıl yapılır: özel bir galeri için bir Atom akışı oluşturma](../extensibility/how-to-create-an-atom-feed-for-a-private-gallery.md). - Özel Galeri açıklayan .pkgdef dosyası dağıtın. Özel bir galeri aynı anda birçok bilgisayara bağlanmak isteyen yöneticiler için bu yapılandırmayı öneririz. ## <a name="adding-a-private-gallery-to-extensions-and-updates-in-visual-studio"></a>Uzantılar ve güncelleştirmeler Visual Studio'da özel bir galeri ekleme Özel bir galeri kullanılabilir olduğunda, kendisine ekleyebilirsiniz **Uzantılar ve güncelleştirmeler** Visual Studio'da. ![Uzantı Yöneticisi ekleme iletişim kutusu](../extensibility/media/em-adddialog.png "EM_AddDialog") #### <a name="to-add-a-private-gallery-to-extensions-and-updates"></a>Uzantılar ve güncelleştirmeler için özel bir galeri ekleme 1. Menü çubuğunda, **Araçları**, **seçenekleri**. 2. İçinde **ortam** düğümünü **Uzantılar ve güncelleştirmeler**. 3. Seçin **Ekle** düğmesi. 4. İçinde **adı** alanında, özel galeri için bir ad girin, örneğin, `My Gallery`. 5. İçinde **URL** Atom akışı veya özel galeri barındıran SharePoint sitesinin URL'sini girin. 1. Atom akışı ana bilgisayar ise özel Galerisine bağlanır, bu URL'yi benzeyecektir: http://www.mywebsite/mygallery/atom.xml. Bu URL için bir dosya veya bir ağ yolu başvurabilir. 2. Konak, bir SharePoint sitesi ise, URL bu benzeyecektir: http://mysharepoint/sites/mygallery/forms/AllItems.aspx. ### <a name="managing-private-galleries"></a>Özel galeriler yönetme Bir yönetici özel bir galeri kullanılabilir birkaç bilgisayar için aynı zamanda her bilgisayarda Sistem kayıt defterini değiştirerek yapabilirsiniz. Bunu gerçekleştirmek için yeni kayıt defteri anahtarları ve değerlerini açıklayan .pkgdef dosyası oluşturun. Bu dosya biçimi aşağıdaki gibidir. ``` [$RootPath$\ExtensionManager\Repositories\{UniqueGUID}] @={URI} (REG_SZ) Disabled=0 | 1 (DWORD) Priority=0 (highest priority) … MaxInt (lowest priority) (DWORD) (uint) Protocol=VSGallery|Atom|Sharepoint (REG_SZ) DisplayName={DisplayName} (REG_SZ) DisplayNameResourceID={ID} (REG_SZ) DisplayNamePackageGuid={GUID} (REG_SZ) ``` Daha fazla bilgi için [nasıl yapılır: bir özel galeri kayıt ayarları kullanılarak yönetme](../extensibility/how-to-manage-a-private-gallery-by-using-registry-settings.md). ## <a name="installing-extensions-from-a-private-gallery"></a>Bir özel Galeriden uzantıları yükleme İçin arama yapın ve Visual Studio uzantıları özel bir galeri yüklersiniz **Uzantılar ve güncelleştirmeler**. Aşağıdaki adımları adlı özel bir galeri kullanın `My Gallery`. ![Uzantı Yöneticisi'ni yükleme özel galeri](../extensibility/media/em.png "EM_") #### <a name="to-search-for-and-install-extensions-from-a-private-gallery"></a>Arama ve özel bir Galeriden uzantıları yüklemek için 1. Menü çubuğunda, **Araçları**, **Uzantılar ve güncelleştirmeler**. 2. Sol bölmede seçin **çevrimiçi uzantılara**ve ardından **My galeri**. 3. Sağ bölmede, bir uzantı seçin ve ardından **indirme** düğmesi. ## <a name="updating-extensions-from-a-private-gallery"></a>Özel bir galeriyi Extensions güncelleştiriliyor Visual Studio Uzantıları'nın yeni sürümlerine özel galeride gönderilen değerler olarak yüklediğiniz uzantıları güncelleştirebilirsiniz. Aşağıdaki adımları adlı özel bir galeri kullanın `My Repository`. ![Uzantı Yöneticisi Özel Galeri güncelleştirme](../extensibility/media/em-update.png "EM_Update") #### <a name="to-update-an-installed-extension-from-a-private-gallery"></a>Yüklü uzantı özel galerisinden güncelleştirmek için 1. Menü çubuğunda, **Araçları**, **Uzantılar ve güncelleştirmeler**. 2. Sol bölmede seçin **güncelleştirmeleri**ve ardından **My depo**. 3. Sağ bölmede, bir uzantı seçin ve ardından **güncelleştirme** düğmesi. ## <a name="see-also"></a>Ayrıca Bkz. [Bulma ve Visual Studio uzantıları kullanma](../ide/finding-and-using-visual-studio-extensions.md) [Visual Studio Uzantıları Gönderme](../extensibility/shipping-visual-studio-extensions.md)
50.029126
296
0.757229
tur_Latn
0.99752
4b31a3fc1f3ddd8ca7886cf0c4672269a910607a
355
md
Markdown
_posts/2022-06-03-VirtualBox-beginners-guide.md
datamaunz/datamaunz.github.io
a518dbdb0eb07c1095e5f4e7d1180261504cd815
[ "MIT" ]
null
null
null
_posts/2022-06-03-VirtualBox-beginners-guide.md
datamaunz/datamaunz.github.io
a518dbdb0eb07c1095e5f4e7d1180261504cd815
[ "MIT" ]
null
null
null
_posts/2022-06-03-VirtualBox-beginners-guide.md
datamaunz/datamaunz.github.io
a518dbdb0eb07c1095e5f4e7d1180261504cd815
[ "MIT" ]
null
null
null
--- layout: post title: VirtualBox Beginners Guide subtitle: Notes from tutorial ot install Ubuntu categories: Fundamentals tags: [os, virtualization, virtual machine, ubuntu] --- notes are based on [How to use VirtualBox (Beginners Guide)](https://youtu.be/sB_5fqiysi4) ## Installation - go to [www.virtualbox.org/](https://www.virtualbox.org/)
19.722222
90
0.743662
eng_Latn
0.465541
4b32c917cd55a80917a8331651401b8075185a39
6,513
md
Markdown
docs/standard/io/how-to-compress-and-extract-files.md
xp-development/docs.de-de
4ed86aedf7dfd721b914a25db5f3e2506bc68bad
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/standard/io/how-to-compress-and-extract-files.md
xp-development/docs.de-de
4ed86aedf7dfd721b914a25db5f3e2506bc68bad
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/standard/io/how-to-compress-and-extract-files.md
xp-development/docs.de-de
4ed86aedf7dfd721b914a25db5f3e2506bc68bad
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- title: 'Vorgehensweise: Komprimieren und Extrahieren von Dateien' ms.date: 01/14/2019 ms.technology: dotnet-standard dev_langs: - csharp - vb helpviewer_keywords: - I/O [.NET Framework], compression - compression - compress files ms.assetid: e9876165-3c60-4c84-a272-513e47acf579 author: mairaw ms.author: mairaw ms.openlocfilehash: 9a4ea4c32f5b73b283a5982f16e55a4d078171c1 ms.sourcegitcommit: 14355b4b2fe5bcf874cac96d0a9e6376b567e4c7 ms.translationtype: HT ms.contentlocale: de-DE ms.lasthandoff: 01/30/2019 ms.locfileid: "55255002" --- # <a name="how-to-compress-and-extract-files"></a>Vorgehensweise: Komprimieren und Extrahieren von Dateien Der <xref:System.IO.Compression>-Namespace enthält die folgenden Typen zum Komprimieren und Dekomprimieren von Dateien und Streams. Sie können diese Typen auch verwenden, um den Inhalt einer komprimierten Datei zu lesen und zu ändern. - <xref:System.IO.Compression.ZipFile> - <xref:System.IO.Compression.ZipArchive> - <xref:System.IO.Compression.ZipArchiveEntry> - <xref:System.IO.Compression.DeflateStream> - <xref:System.IO.Compression.GZipStream> Anhand der folgenden Beispiele werden einige der Vorgänge erläutert, die Sie mit komprimierten Dateien ausführen können. ## <a name="example-1-create-and-extract-a-zip-file"></a>Beispiel 1: Erstellen und Extrahieren einer ZIP-Datei Das folgende Beispiel zeigt, wie Sie mithilfe der <xref:System.IO.Compression.ZipFile>-Klasse eine komprimierte *ZIP*-Datei erstellen und extrahieren können. In dem Beispiel wird der Inhalt eines Ordners in eine neue *ZIP*-Datei komprimiert, die anschließend in einen neuen Ordner extrahiert wird. Wenn Sie das Beispiel ausführen möchten, erstellen Sie in Ihrem Programmordner einen Ordner für den *Start*, und füllen Sie diesen mit Dateien auf, die gezippt werden sollen. Wenn der Buildfehler "The name 'ZipFile' does not exist in the current context." (Der Name „ZipFile“ ist im aktuellen Kontext nicht vorhanden.) zurückgegeben wird, fügen Sie dem Projekt einen Verweis auf die `System.IO.Compression.FileSystem`-Assembly hinzu. [!code-csharp[System.IO.Compression.ZipFile#1](../../../samples/snippets/csharp/VS_Snippets_CLR_System/system.io.compression.zipfile/cs/program1.cs#1)] [!code-vb[System.IO.Compression.ZipFile#1](../../../samples/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.zipfile/vb/program1.vb#1)] ## <a name="example-2-extract-specific-file-extensions"></a>Beispiel 2: Extrahieren bestimmter Dateierweiterungen Im nächsten Beispiel wird der Inhalt einer vorhandenen *ZIP*-Datei durchlaufen, und Dateien mit der Erweiterung *.txt* werden extrahiert. Dabei wird die Klasse <xref:System.IO.Compression.ZipArchive> verwendet, um auf die Zip-Datei zuzugreifen, und mithilfe der Klasse <xref:System.IO.Compression.ZipArchiveEntry> werden die einzelnen Einträge untersucht. Die Erweiterungsmethode <xref:System.IO.Compression.ZipFileExtensions.ExtractToFile%2A> für das <xref:System.IO.Compression.ZipArchiveEntry>-Objekt ist in der Klasse <xref:System.IO.Compression.ZipFileExtensions?displayProperty=nameWithType> verfügbar. Wenn Sie das Beispiel ausführen möchten, platzieren Sie die *ZIP*-Datei mit dem Namen *result.zip* in Ihrem Programmordner. Geben Sie einen Ordnernamen an, in den die Datei extrahiert werden soll, wenn Sie dazu aufgefordert werden. Wenn der Buildfehler "The name 'ZipFile' does not exist in the current context." (Der Name „ZipFile“ ist im aktuellen Kontext nicht vorhanden.) zurückgegeben wird, fügen Sie dem Projekt einen Verweis auf die `System.IO.Compression.FileSystem`-Assembly hinzu. Wenn der Fehler "The type 'ZipArchive' is defined in an assembly that is not referenced." (Der Typ „ZipArchive“ ist in einer Assembly definiert, auf die nicht verwiesen wird.) zurückgegeben wird, fügen Sie dem Projekt einen Verweis auf die `System.IO.Compression`-Assembly hinzu. > [!IMPORTANT] > Beim Entzippen von Dateien müssen Sie auf schädliche Dateipfade achten, die aus dem Verzeichnis weisen können, in das Sie extrahieren möchten. Dies wird als Path Traversal-Angriff bezeichnet. Im folgenden Beispiel wird gezeigt, wie Sie eine Überprüfung auf schädliche Dateipfade durchführen und Dateien sicher entzippen können. [!code-csharp[System.IO.Compression.ZipArchive#1](../../../samples/snippets/csharp/VS_Snippets_CLR_System/system.io.compression.ziparchive/cs/program1.cs#1)] [!code-vb[System.IO.Compression.ZipArchive#1](../../../samples/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program1.vb#1)] ## <a name="example-3-add-a-file-to-an-existing-zip"></a>Beispiel 3: Hinzufügen einer Datei zu einer bestehenden ZIP-Datei Im folgenden Beispiel wird die Klasse <xref:System.IO.Compression.ZipArchive> verwendet, um auf eine vorhandene *ZIP*-Datei zuzugreifen, der anschließend eine Datei hinzugefügt wird. Die neue Datei wird komprimiert, wenn Sie sie zur vorhandenen ZIP-Datei hinzufügen. [!code-csharp[System.IO.Compression.ZipArchiveMode#1](../../../samples/snippets/csharp/VS_Snippets_CLR_System/system.io.compression.ziparchivemode/cs/program1.cs#1)] [!code-vb[System.IO.Compression.ZipArchiveMode#1](../../../samples/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchivemode/vb/program1.vb#1)] ## <a name="example-4-compress-and-decompress-gz-files"></a>Beispiel 4: Komprimieren und Dekomprimieren von GZ-Dateien Sie können auch die Klassen <xref:System.IO.Compression.GZipStream> und <xref:System.IO.Compression.DeflateStream> verwenden, um Daten zu komprimieren und zu dekomprimieren. Der Komprimierungsalgorithmus ist der gleiche. Es gibt viele beliebte Tools, die Sie verwenden können, um <xref:System.IO.Compression.GZipStream>-Objekte zu dekomprimieren, die in eine *GZ*-Datei geschrieben wurden. Das folgende Beispiel zeigt, wie Sie ein Dateiverzeichnis mithilfe der <xref:System.IO.Compression.GZipStream>-Klasse komprimieren und dekomprimieren: [!code-csharp[IO.Compression.GZip1#1](../../../samples/snippets/csharp/VS_Snippets_CLR/IO.Compression.GZip1/CS/gziptest.cs#1)] [!code-vb[IO.Compression.GZip1#1](../../../samples/snippets/visualbasic/VS_Snippets_CLR/IO.Compression.GZip1/VB/gziptest.vb#1)] ## <a name="see-also"></a>Siehe auch - <xref:System.IO.Compression.ZipArchive> - <xref:System.IO.Compression.ZipFile> - <xref:System.IO.Compression.ZipArchiveEntry> - <xref:System.IO.Compression.DeflateStream> - <xref:System.IO.Compression.GZipStream> - [Datei- und Stream-E/A](../../../docs/standard/io/index.md)
78.46988
609
0.798557
deu_Latn
0.933675
4b32f88982ab1fe0b8906d25ee0a422ee1c3c4b8
12,631
md
Markdown
articles/cognitive-services/Bing-Video-Search/video-search-sdk-quickstart.md
ZexDC/azure-docs
edf98652ceca4fbbd9c3ac156d87c7b985a4587d
[ "CC-BY-4.0" ]
null
null
null
articles/cognitive-services/Bing-Video-Search/video-search-sdk-quickstart.md
ZexDC/azure-docs
edf98652ceca4fbbd9c3ac156d87c7b985a4587d
[ "CC-BY-4.0" ]
1
2022-01-13T19:45:57.000Z
2022-01-13T19:45:57.000Z
articles/cognitive-services/Bing-Video-Search/video-search-sdk-quickstart.md
ZexDC/azure-docs
edf98652ceca4fbbd9c3ac156d87c7b985a4587d
[ "CC-BY-4.0" ]
null
null
null
--- title: "Quickstart: Bing Video Aearch SDK, C#" titleSuffix: Azure Cognitive Services description: Setup for Bing Video search SDK console application. services: cognitive-services author: mikedodaro manager: cgronlun ms.service: cognitive-services ms.component: bing-video-search ms.topic: quickstart ms.date: 01/29/2018 ms.author: rosh --- # Quickstart: Bing Video Search SDK with C# The Bing Video Search SDK contains the functionality of the REST API for web requests and parsing results. The [source code for C# Bing Video Search SDK samples](https://github.com/Azure-Samples/cognitive-services-dotnet-sdk-samples/tree/master/BingSearchv7/BingVideoSearch) is available on Git Hub. ## Application dependencies Get a [Cognitive Services access key](https://azure.microsoft.com/try/cognitive-services/) under **Search**. See also [Cognitive Services Pricing - Bing Search API](https://azure.microsoft.com/pricing/details/cognitive-services/search-api/). To set up a console application using the Bing Video Search SDK, browse to the `Manage NuGet Packages` option from the Solution Explorer in Visual Studio. Add the `Microsoft.Azure.CognitiveServices.Search.VideoSearch` package. Installing the [[NuGet Video Search SDK package]](https://www.nuget.org/packages/Microsoft.Azure.CognitiveServices.Search.VideoSearch/1.2.0) also installs dependencies, including: * Microsoft.Rest.ClientRuntime * Microsoft.Rest.ClientRuntime.Azure * Newtonsoft.Json ## Video Search client To create an instance of the `VideoSearchAPI` client, add using directives: ``` using Microsoft.Azure.CognitiveServices.Search.VideoSearch; using Microsoft.Azure.CognitiveServices.Search.VideoSearch.Models; ``` Then, instantiate the client: ``` var client = new VideoSearchAPI(new ApiKeyServiceClientCredentials("YOUR-ACCESS-KEY")); ``` Use the client to search with a query text "SwiftKey" for videos. ``` var videoResults = client.Videos.SearchAsync(query: "SwiftKey").Result; Console.WriteLine("Search videos for query \"SwiftKey\""); ``` Parse the results, then verify number of results and print out ID, name, and url of first video result. ``` if (videoResults == null) { Console.WriteLine("Didn't see any video result data.."); } else { if (videoResults.Value.Count > 0) { var firstVideoResult = videoResults.Value.First(); Console.WriteLine($"\r\nVideo result count: {videoResults.Value.Count}"); Console.WriteLine($"First video id: {firstVideoResult.VideoId}"); Console.WriteLine($"First video name: {firstVideoResult.Name}"); Console.WriteLine($"First video url: {firstVideoResult.ContentUrl}"); } else { Console.WriteLine("Couldn't find video results!"); } } ``` ## Complete console application The following console application executes the previously defined query and parses results. ``` using System; using System.Collections.Generic; using System.Linq; using Microsoft.Azure.CognitiveServices.Search.VideoSearch; using Microsoft.Azure.CognitiveServices.Search.VideoSearch.Models; namespace VideoSrchSDK { class Program { static void Main(string[] args) { var client = new VideoSearchAPI(new ApiKeyServiceClientCredentials("19aa718a79d6444daaa415981d9f54ad")); try { var videoResults = client.Videos.SearchAsync(query: "SwiftKey").Result; Console.WriteLine("Search videos for query \"SwiftKey\""); if (videoResults == null) { Console.WriteLine("Didn't see any video result data.."); } else { if (videoResults.Value.Count > 0) { var firstVideoResult = videoResults.Value.First(); Console.WriteLine($"\r\nVideo result count: {videoResults.Value.Count}"); Console.WriteLine($"First video id: {firstVideoResult.VideoId}"); Console.WriteLine($"First video name: {firstVideoResult.Name}"); Console.WriteLine($"First video url: {firstVideoResult.ContentUrl}"); } else { Console.WriteLine("Couldn't find video results!"); } } } catch (Exception ex) { Console.WriteLine("Encountered exception. " + ex.Message); } // Include these calls to use queries defined under the following headings. //VideoSearchWithFilters(client); //VideoDetail(client); //VideoTrending(client); Console.WriteLine("Any key to exit..."); Console.ReadKey(); } ``` ## URL parameters Search on query text "Bellevue Trailer" for videos that are unchanged, short, and 1080p resolution. Verify the number of results, and print out ID, name, and url of first video result. ``` public static void VideoSearchWithFilters(VideoSearchAPI client) { try { var videoResults = client.Videos.SearchAsync(query: "Bellevue Trailer", pricing: VideoPricing.Free, length: VideoLength.Short, resolution: VideoResolution.HD1080p).Result; Console.WriteLine("Search videos for query \"Bellevue Trailer\" that is free, short and 1080p resolution"); if (videoResults == null) { Console.WriteLine("Didn't see any video result data.."); } else { if (videoResults.Value.Count > 0) { var firstVideoResult = videoResults.Value.First(); Console.WriteLine($"\r\nVideo result count: {videoResults.Value.Count}"); Console.WriteLine($"First video id: {firstVideoResult.VideoId}"); Console.WriteLine($"First video name: {firstVideoResult.Name}"); Console.WriteLine($"First video url: {firstVideoResult.ContentUrl}"); } else { Console.WriteLine("Couldn't find video results!"); } } } catch (Exception ex) { Console.WriteLine("Encountered exception. " + ex.Message); } } ``` ## Trending videos Search for trending videos, then verify banner tiles and categories. ``` public static void VideoTrending(VideoSearchAPI client) { try { var trendingResults = client.Videos.TrendingAsync().Result; Console.WriteLine("Search trending videos"); if (trendingResults == null) { Console.WriteLine("Didn't see any trending video data.."); } else { // Banner Tiles if (trendingResults.BannerTiles?.Count > 0) { var firstBannerTile = trendingResults.BannerTiles[0]; Console.WriteLine($"\r\nBanner tile count: {trendingResults.BannerTiles.Count}"); Console.WriteLine($"First banner tile text: {firstBannerTile.Query.Text}"); Console.WriteLine($"First banner tile url: {firstBannerTile.Query.WebSearchUrl}"); } else { Console.WriteLine("Couldn't find banner tiles!"); } // Categories if (trendingResults.Categories?.Count > 0) { var firstCategory = trendingResults.Categories[0]; Console.WriteLine($"Category count: {trendingResults.Categories.Count}"); Console.WriteLine($"First category title: {firstCategory.Title}"); if (firstCategory.Subcategories?.Count > 0) { var firstSubCategory = firstCategory.Subcategories[0]; Console.WriteLine($"SubCategory count: {firstCategory.Subcategories.Count}"); Console.WriteLine($"First sub category title: {firstSubCategory.Title}"); if (firstSubCategory.Tiles?.Count > 0) { var firstTile = firstSubCategory.Tiles[0]; Console.WriteLine($"Tile count: {firstSubCategory.Tiles.Count}"); Console.WriteLine($"First tile text: {firstTile.Query.Text}"); Console.WriteLine($"First tile url: {firstTile.Query.WebSearchUrl}"); } else { Console.WriteLine("Couldn't find tiles!"); } } else { Console.WriteLine("Couldn't find subcategories!"); } } else { Console.WriteLine("Couldn't find categories!"); } } } catch (Exception ex) { Console.WriteLine("Encountered exception. " + ex.Message); } } ``` ## Details Search videos for "Bellevue Trailer", and then search for detailed information of the first video. ``` public static void VideoDetail(VideoSearchAPI client) { try { var videoResults = client.Videos.SearchAsync(query: "Bellevue Trailer").Result; var firstVideo = videoResults?.Value?.FirstOrDefault(); if (firstVideo != null) { var modules = new List<VideoInsightModule?>() { VideoInsightModule.All }; var videoDetail = client.Videos.DetailsAsync(query: "Bellevue Trailer", id: firstVideo.VideoId, modules: modules).Result; Console.WriteLine($"Search detail for video id={firstVideo.VideoId}, name={firstVideo.Name}"); if (videoDetail != null) { if (videoDetail.VideoResult != null) { Console.WriteLine($"\r\nExpected video id: {videoDetail.VideoResult.VideoId}"); Console.WriteLine($"Expected video name: {videoDetail.VideoResult.Name}"); Console.WriteLine($"Expected video url: {videoDetail.VideoResult.ContentUrl}"); } else { Console.WriteLine("Couldn't find expected video!"); } if (videoDetail?.RelatedVideos?.Value?.Count > 0) { var firstRelatedVideo = videoDetail.RelatedVideos.Value[0]; Console.WriteLine($"Related video count: {videoDetail.RelatedVideos.Value.Count}"); Console.WriteLine($"First related video id: {firstRelatedVideo.VideoId}"); Console.WriteLine($"First related video name: {firstRelatedVideo.Name}"); Console.WriteLine($"First related video url: {firstRelatedVideo.ContentUrl}"); } else { Console.WriteLine("Couldn't find any related video!"); } } else { Console.WriteLine("Couldn't find detail about the video!"); } } else { Console.WriteLine("Couldn't find video results!"); } } catch (Exception ex) { Console.WriteLine("Encountered exception. " + ex.Message); } } } ``` ## Next steps [Cognitive services .NET SDK samples](https://github.com/Azure-Samples/cognitive-services-dotnet-sdk-samples/tree/master/BingSearchv7)
38.984568
242
0.546671
yue_Hant
0.489346
4b34aedc174bd7d5a4916e6242fb7bc8b1c6bfad
1,862
md
Markdown
dynamics-nav/How-to--Start--Stop--Restart--or-Remove-a-Microsoft-Dynamics-NAV-Server-Instance.md
dennisroczek/navdevitpro-content-pr
1bf11f3f948c600e3d1426bb9ab5d1d6dd1db4f7
[ "CC-BY-4.0", "MIT" ]
3
2020-01-20T03:29:28.000Z
2021-04-21T00:13:46.000Z
dynamics-nav/How-to--Start--Stop--Restart--or-Remove-a-Microsoft-Dynamics-NAV-Server-Instance.md
dennisroczek/navdevitpro-content-pr
1bf11f3f948c600e3d1426bb9ab5d1d6dd1db4f7
[ "CC-BY-4.0", "MIT" ]
260
2019-10-31T19:29:48.000Z
2022-03-30T20:46:14.000Z
dynamics-nav/How-to--Start--Stop--Restart--or-Remove-a-Microsoft-Dynamics-NAV-Server-Instance.md
dennisroczek/navdevitpro-content-pr
1bf11f3f948c600e3d1426bb9ab5d1d6dd1db4f7
[ "CC-BY-4.0", "MIT" ]
13
2019-12-06T15:06:58.000Z
2022-03-23T22:01:57.000Z
--- title: "How to: Start, Stop, Restart, or Remove a Microsoft Dynamics NAV Server Instance" ms.custom: na ms.date: 06/05/2016 ms.reviewer: na ms.suite: na ms.tgt_pltfrm: na ms.topic: article ms.prod: "dynamics-nav-2018" ms.assetid: 1e330b20-3806-4877-a1a6-f39acead3fa0 caps.latest.revision: 4 manager: edupont --- # How to: Start, Stop, Restart, or Remove a Microsoft Dynamics NAV Server Instance You can start, stop, restart, or remove a [!INCLUDE[nav_server](includes/nav_server_md.md)] instance by using the [!INCLUDE[nav_admin](includes/nav_admin_md.md)]. When you select a [!INCLUDE[nav_server](includes/nav_server_md.md)] computer in the left pane of [!INCLUDE[nav_admin](includes/nav_admin_md.md)], it shows all server instances on that computer in the center pane. ### To start, stop, restart, or remove a [!INCLUDE[nav_server](includes/nav_server_md.md)] instance 1. In the left pane of [!INCLUDE[nav_admin](includes/nav_admin_md.md)], choose a [!INCLUDE[nav_server](includes/nav_server_md.md)] computer. Unless you are administering a remote computer, this is **Microsoft Dynamics NAV \(local\)**. 2. In the center pane, right-click an instance, and then choose **Start**, **Stop**, **Restart**, or **Remove**. Choose **Restart** to stop and then start the instance again. Choose **Remove** to remove a server instance. ## See Also [Managing Microsoft Dynamics NAV Server Instances](Managing-Microsoft-Dynamics-NAV-Server-Instances.md) [How to: Configure a Microsoft Dynamics NAV Server Instance](How-to--Configure-a-Microsoft-Dynamics-NAV-Server-Instance.md) [How to: Create a Microsoft Dynamics NAV Server Instance](How-to--Create-a-Microsoft-Dynamics-NAV-Server-Instance.md) [Microsoft Dynamics NAV Server Administration Tool](Microsoft-Dynamics-NAV-Server-Administration-Tool.md)
56.424242
377
0.744361
eng_Latn
0.732857
4b34b489d965710bcfc51a79f1fe5b205faaad71
48
md
Markdown
README.md
amgaera/r3name
0850f79dda80f4ee38270c369c4d2ed97694c810
[ "MIT" ]
null
null
null
README.md
amgaera/r3name
0850f79dda80f4ee38270c369c4d2ed97694c810
[ "MIT" ]
null
null
null
README.md
amgaera/r3name
0850f79dda80f4ee38270c369c4d2ed97694c810
[ "MIT" ]
null
null
null
# r3name Rename files using regular expressions
16
38
0.833333
eng_Latn
0.993024
4b34ebe78216460de3286433a1b6d0d205163eaa
273
md
Markdown
docs/vs-2015/index.md
drvoss/visualstudio-docs.ko-kr
739317082fa0a67453bad9d3073fbebcb0aaa7fb
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/vs-2015/index.md
drvoss/visualstudio-docs.ko-kr
739317082fa0a67453bad9d3073fbebcb0aaa7fb
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/vs-2015/index.md
drvoss/visualstudio-docs.ko-kr
739317082fa0a67453bad9d3073fbebcb0aaa7fb
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- redirect_url: welcome-to-visual-studio-2015 ms.openlocfilehash: e1f0e7ecc4cb181018c7bd497c68057c00331149 ms.sourcegitcommit: 6944ceb7193d410a2a913ecee6f40c6e87e8a54b ms.translationtype: HT ms.contentlocale: ko-KR ms.lasthandoff: 09/06/2018 ms.locfileid: "43821008" ---
27.3
60
0.838828
nld_Latn
0.067388
4b36c610695bf441a94826c605d0ebc6ef076db0
919
md
Markdown
_posts/2011-02-28-d0b2d0b5d181d0b5d0bdd0bdd0b8d0b9-d181d183d0bfd187d0b8d0ba.md
prostoalex/lanamoskalyuk-jekyll-netlify-boilerplate
6a64121a51cf13377675478a42bc661b61ae46ab
[ "MIT" ]
null
null
null
_posts/2011-02-28-d0b2d0b5d181d0b5d0bdd0bdd0b8d0b9-d181d183d0bfd187d0b8d0ba.md
prostoalex/lanamoskalyuk-jekyll-netlify-boilerplate
6a64121a51cf13377675478a42bc661b61ae46ab
[ "MIT" ]
null
null
null
_posts/2011-02-28-d0b2d0b5d181d0b5d0bdd0bdd0b8d0b9-d181d183d0bfd187d0b8d0ba.md
prostoalex/lanamoskalyuk-jekyll-netlify-boilerplate
6a64121a51cf13377675478a42bc661b61ae46ab
[ "MIT" ]
null
null
null
--- id: 3652 title: Весенний супчик date: 2011-02-28T08:52:51-08:00 author: lana layout: post guid: http://lana.moskalyuk.com/?p=3652 permalink: /recipe/3652/ ljID: - "1676" - "1676" - "1676" categories: - asparagus - celery - dill - leeks - milk - parsley - soup --- <img loading="lazy" class="alignnone" title="soup" src="http://farm6.static.flickr.com/5171/5484814284_ee9e694977_z.jpg" alt="" width="640" height="427" /> **Ингредиенты**: 1 пучок спаржы 2-3 стебля лука-порея 2 стебля сельдерея 1 чашка зеленого горошка петрушка, укроп, мята Спаржу, лук порей и сельдерей залить водой и тушить до готовности (10-15 минут). Добавить горошек и зелень. Измельчить с помощью блендера. Посолить/поперчить. Приятного аппетита! <img loading="lazy" class="alignnone" title="soup" src="http://farm6.static.flickr.com/5256/5484817800_a1c6f8d9d3_z.jpg" alt="" width="640" height="427" />
24.837838
155
0.705114
rus_Cyrl
0.080369
4b36d76c259411663dc1bfaa0e0453564413e373
633
md
Markdown
ulisp-4.0b-esp/README.md
Kaef/ulisp-esp
8c4227e7fb128eb3b527c4795152cad1b34329d8
[ "MIT" ]
5
2019-12-21T10:16:27.000Z
2022-02-18T05:37:08.000Z
ulisp-4.0b-esp/README.md
Kaef/ulisp-esp
8c4227e7fb128eb3b527c4795152cad1b34329d8
[ "MIT" ]
null
null
null
ulisp-4.0b-esp/README.md
Kaef/ulisp-esp
8c4227e7fb128eb3b527c4795152cad1b34329d8
[ "MIT" ]
null
null
null
# ulisp-esp A version of the Lisp programming language for ESP32-based boards. For more information see: http://www.ulisp.com/show?21T5 This version was modified by Kaef in Nov. 2021. This version supports esp32 only! (other versions of uLisp can be found at http://www.ulisp.com/) The following additions had been made (Nov-27, 2021): - LARGE_WORKSPACE support -- using the 4MB PSRAM for the workspace. That results in ~ 512k workspace size (cons cells)! - SD-CARD support for TTGO-T8 board (pin definitions for ttgo-t8 added and initializing spi with user defined gpio pins) - added file system commands (ls, rm, mkdir, rmdir)
42.2
120
0.766193
eng_Latn
0.986858
4b374a8d447f04735821a12db1d16e8b78d1b38a
122
md
Markdown
_posts/2012-02-28-154-kokosmakronen.md
ocirne/omas-backbuch
f88d85b898d7d6f102d1c1a142d1138d26052621
[ "CC0-1.0" ]
null
null
null
_posts/2012-02-28-154-kokosmakronen.md
ocirne/omas-backbuch
f88d85b898d7d6f102d1c1a142d1138d26052621
[ "CC0-1.0" ]
null
null
null
_posts/2012-02-28-154-kokosmakronen.md
ocirne/omas-backbuch
f88d85b898d7d6f102d1c1a142d1138d26052621
[ "CC0-1.0" ]
null
null
null
--- layout: default title: Kokosmakronen number: 154 --- 1 Pf. Kokosraspel, 1 Pf. Zucker, 7 Eiweiß zu Schnee geschlagen.
15.25
63
0.721311
deu_Latn
0.897633
4b37d0c25c5f1e78efc1aed1734c6205711e841f
59
md
Markdown
_includes/04-lists.md
Yoyo398/markdown-portfolio
3d556e0caa86abaf8438f2aabf93961b8ae56fb3
[ "MIT" ]
null
null
null
_includes/04-lists.md
Yoyo398/markdown-portfolio
3d556e0caa86abaf8438f2aabf93961b8ae56fb3
[ "MIT" ]
5
2021-03-07T08:48:02.000Z
2021-03-07T09:09:03.000Z
_includes/04-lists.md
Yoyo398/markdown-portfolio
3d556e0caa86abaf8438f2aabf93961b8ae56fb3
[ "MIT" ]
null
null
null
* Burj khalifa * Angel falls * Niagra falls * Eiffel tower
11.8
14
0.728814
cat_Latn
0.189262
4b384923ff845b3c94e519e24be69b785ee6a785
2,022
md
Markdown
_posts/2018-10-11-wg.md
denisstoyanov/denisstoyanov.github.io
5cfa8bfac8277ca05e3bb033969e9fa87f8b1d09
[ "CC-BY-3.0" ]
null
null
null
_posts/2018-10-11-wg.md
denisstoyanov/denisstoyanov.github.io
5cfa8bfac8277ca05e3bb033969e9fa87f8b1d09
[ "CC-BY-3.0" ]
null
null
null
_posts/2018-10-11-wg.md
denisstoyanov/denisstoyanov.github.io
5cfa8bfac8277ca05e3bb033969e9fa87f8b1d09
[ "CC-BY-3.0" ]
null
null
null
--- layout: post title: "WG" date: 2018-10-11 excerpt: "PSD to HTML, CSS and JS" tags: [PSD to HTML] image: "/images/projects/wg/thumbs/5.1_WG-thumb.jpg" --- <div class="row"> <div class="6u"> <ul> <li>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed maximus eros ligula, et euismod quam tempor a. Cras sollicitudin mauris eu ornare sollicitudin.</li> <li>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed maximus eros ligula, et euismod quam tempor a. Cras sollicitudin mauris eu ornare sollicitudin.</li> <li>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed maximus eros ligula, et euismod quam tempor a. Cras sollicitudin mauris eu ornare sollicitudin.</li> <li>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed maximus eros ligula, et euismod quam tempor a. Cras sollicitudin mauris eu ornare sollicitudin.</li> <li>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed maximus eros ligula, et euismod quam tempor a. Cras sollicitudin mauris eu ornare sollicitudin.</li> <li>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed maximus eros ligula, et euismod quam tempor a. Cras sollicitudin mauris eu ornare sollicitudin.</li> <li>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed maximus eros ligula, et euismod quam tempor a. Cras sollicitudin mauris eu ornare sollicitudin.</li> <li>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed maximus eros ligula, et euismod quam tempor a. Cras sollicitudin mauris eu ornare sollicitudin.</li> </ul> </div> <div class="6u"> <span class="image fit"> <img class="fit" src="/images/projects/wg/5.1_WG.jpg"> </span> </div> </div> <span class="image fit"> <img src="/images/projects/wg/5.2_WG.jpg"> </span> <span class="image fit"> <img src="/images/projects/wg/5.3_WG.jpg"> </span> <span class="image fit"> <img src="/images/projects/wg/5.4_WG.jpg"> </span> <span class="image fit"> <img src="/images/projects/wg/5.5_WG.jpg"> </span>
49.317073
168
0.730465
kor_Hang
0.192496
4b386c7c4c791f7a1d1f6f42d1d6d8019792f214
5,477
md
Markdown
menu/projects.md
justinengelmann/justinengelmann.github.io
a1f29659f1dd16413a2bd9ee069305fbc96dff62
[ "MIT" ]
null
null
null
menu/projects.md
justinengelmann/justinengelmann.github.io
a1f29659f1dd16413a2bd9ee069305fbc96dff62
[ "MIT" ]
null
null
null
menu/projects.md
justinengelmann/justinengelmann.github.io
a1f29659f1dd16413a2bd9ee069305fbc96dff62
[ "MIT" ]
null
null
null
--- layout: page title: Projects --- #### Research Deep-learning disease detection on retinal images *CDT MScR Thesis, ongoing* The goal of the project is to develop a performant and explainable classifier for diagnosing disease from ultra-widefield Scanning Laster Ophthalmoscopy retina images. [Conditional Wasserstein GAN-based Oversampling of Tabular Data for Imbalanced Learning](https://github.com/justinengelmann/GANbasedOversampling) *MSc Thesis, Grade: 1.0 (German scale, best possible grade)* [arxiv](https://arxiv.org/abs/2008.09202) / [Expert Systems with Applications](https://doi.org/10.1016/j.eswa.2021.114582) Developed a novel GAN-based oversampling method that can effectively model tabular data with both categorical and numerical columns. Previous methods did not incorporate recent advancements from the literature on generating realistic tabular data with GANs and did not allow for categorical variables, which are commonplace in real-world tabular data. Empirical results evidence the competitiveness of GAN-based oversampling. [Super-resolution of brain MRI scans acquired in clinical practice](https://github.com/bryanlimy/mri-super-resolution) *CDT Group Project, 75 (UK scale)* When acquiring MRI scans, there is a trade-off between quality and acquisition speed. Thus, to sped up acquisition in clinical practice, MRI scans are typically acquired at the lowest acceptable resolution sufficient for diagnosis. However, this resolution is insufficient for common image processing methods used in research. We used a dataset of paired low-quality scans acquired under clinical protocols and high-quality scans of the same patients to train a deep learning model to upsample the low-quality scans. Quantitative and qualitative evaluation are promising and we made concrete recommendations for validating the method and for devloping it further. #### Selected Coursework Temporally Biased Label Smoothing and Latent Time Regression for Multi-class Problems that represent an Underlying Progression *MScR Course Machine Learning Practical Group Project, 72 (UK scale)* We considered two biomedical datasets where the classes represent stages of an underlying progression which have motivated our research: A dataset of retina images, where classes are different stages of disease progression, and a dataset of cell images, where classes are different stages of the cell cycle. We investigate whether we can improve classification performance by encoding the domain knowledge that classes are ordered in time into the training process. First, we considered Temporally Biased Label Smoothing, an extension of standard Label Smoothing where non-target classes get probability mass proportional to temporal proximity to the target class. Second, we proposed a Latent Time Regression approach where we try to learn a continuous, one-dimensional variable representing the latent position of a sample in the process. In our experiments, each method outperformed the baselines of standard label smoothing and no label smoothing on one of the datasets but not the other. Profit-Efficient A/B Testing through Inverse Propensity Score Weighting *MSc Seminar Causal Machine Learning, Grade: 1.3 (German scale)* Implemented a novel approach for maximising outcome metrics during an A/B test by leveraging pre-existing domain knowledge about individual treatment effects and tested it with a simulation study. The core idea was to assign idividuals where we expect higher treatment effects to the treatment group with higher probability, and then use Inverse Propensity Score Weighting to reduce bias. [Reducing Ecommerce Returns Costs through Profit-Sensitive Prescriptive Modelling](https://github.com/justinengelmann/Business-Analytics-and-Data-Science-WS1819) *MSc Course Business Analytics and Data Science, Grade: 1.0 (German scale, best possible grade)* Ranked 2nd out of 118 students in In-Class Kaggle competition for predicting Ecommerce returns which was scored on plain ROC-AUC rather than profit. Implemented an algorithm to create a selective averaging ensemble of heterogeneous base models from scratch which maximises profit rather than accuracy. Final ensemble increased profits by 30% compared to the optimal naïve baseline strategy of never intervening. [Controllability of Risk in Financial Networks](https://github.com/justinengelmann/Network-Games-and-Mechanism-Design-SS19) *MSc Seminar Network Games and Mechanism Design, Grade: 1.0 (German scale, best possible grade)* Applied the concept of controllability to a graph of risk interdependence of major financial institutions and computed the minimum input set. #### Other [Few-shot Image Classification](https://github.com/justinengelmann/TX2020-Philips-Challenge-Inference) *Eindhoven Tech Experience 2020 - Challenge by Philips* Finetuned a pre-trained VGG16 CNN to recognise one of four products with a small dataset of 20 labelled images per class. One of [21 winners out of over 900 participants](https://brainporteindhoven.com/int/brainport-for-you/work/tech-xperience-winners-2020/). Churn Prediction for a major German Media Business *Finalist at McKinsey Digital Shapers 2020* Worked as Data Scientist in a cross-functional team to develop a churn prediction tool for a major German Media Business. Explored, cleaned and prepared a large dataset of subscribers and trained a predictive model which achieved very high accuracy.
99.581818
425
0.81614
eng_Latn
0.994214
4b39acece27f258a653b7acb9ab44fead7b9d708
3,549
md
Markdown
src/learn/intro.md
visika/website
70d8d16ee3017262fb46243b0e209aaa0b8458a9
[ "Apache-2.0" ]
null
null
null
src/learn/intro.md
visika/website
70d8d16ee3017262fb46243b0e209aaa0b8458a9
[ "Apache-2.0" ]
null
null
null
src/learn/intro.md
visika/website
70d8d16ee3017262fb46243b0e209aaa0b8458a9
[ "Apache-2.0" ]
null
null
null
--- extends: learn/_page.html title: Introduction next: label: Installation url: /learn/installation.html --- Stencila provides a set of open-source software components enabling reproducible research within the tool of your choice. Stencila allows you to write reproducible documents containing interactive source code using the interfaces you are most familiar with. Stencila components can be combined in various ways and plugged into existing reproducible infrastructure. ## Execution engine ![Stencila Engine](img/engine.png){style="display: inline; width: 25%; margin: 0 auto; padding-right: 1em; padding-bottom: 1em; float: left;" } Stencila execution engine is its heart. The engine enables a spreadsheet-like, reactive programming model. It maintains a graph of the dependency between code cells. This means that as you change your code or data, all other parts of your document depending on them get updated as well. Stencila execution engine does not itself execute the code embedded in the documents but instead sends it to the execution contexts. ## Execution contexts{style="clear: left;"} ![Stencila Contexts](img/contexts.png){style="display: inline; width: 25%; margin: 0 auto; padding-right: 1em; padding-bottom: 1em; float: left;" } The execution contexts _compile_ and _execute_ code from the code cells that the execution engine passes on. This means that Stencila can be used for practically any programming language as the execution contexts can be developed using Stencila API. Currently we provide execution contexts for R, Python, JavaScript, SQL and Mini (Stencila's own simple language). The execution contexts determine the inputs and outputs of cells which enables automatic conversion of data between languages. In other words, you can combine of multiple languages in one document. ## Sheets{style="clear: right;"} ![Stencila Sheets](img/UI.png){style="display: inline; width: 25%; margin: 0 auto; padding-right: 1em; padding-bottom: 3em; float: left;" } Stencila comes with its own simple interface, Stencila Sheet, which can be used similarly to a typical spreadsheet application. We are working on plugins for dominant spreadsheet applications which will add capabilities for working with: * code in open-source languages, * shared, custom functions * shared, custom types (for data validation). In other words, Stencila Sheets (and in the future, the plugins) allow for execution of R, Python, SQL (and more languages) code via special “code-snippet” functions e.g. `r`, `py`, `sql`. This feature will help researchers working in spreadsheet make their work more robust, easier to test and collaborate on. {style="clear: right;"} ## Converter ![Stencila Converter](img/convert.png){style="display: inline; width: 25%; margin: 0 auto; padding-right: 1em; float: left;" } Stencila includes a set of import/export converters which allow you to convert between a range of formats commonly used for among researchers (and not only). Converters support lossless conversion of interactive source code sections and (most of the time) formatting.{style="display: block;"} You can convert to and from formats used by: * Excel (*xlsx*, *csv*, *tsv*), * Jupyter Notebooks (*ipynb*), * Markdown (*md*), * RMarkdown (*Rmd*, * Word (*docx*), * LaTeX (*tex*), * publishing applications (*JATS*, *xml*), * and more... Converter bridges formats commonly used across the workflow lifecycle, e.g.from Jupyter Notebook to RMarkdown to Word to JATS. It makes the collaboration more seamless and less painful.
56.333333
334
0.773176
eng_Latn
0.993842
4b39fc53dfa227cb27dfa38f4794cd6eee879842
1,737
md
Markdown
README.md
27149chen/pyds8k
e6e52af236330e4da4b08d749d835b7809ae2308
[ "Apache-2.0" ]
null
null
null
README.md
27149chen/pyds8k
e6e52af236330e4da4b08d749d835b7809ae2308
[ "Apache-2.0" ]
null
null
null
README.md
27149chen/pyds8k
e6e52af236330e4da4b08d749d835b7809ae2308
[ "Apache-2.0" ]
null
null
null
# DS8000 Python Client This repository contains the IBM RESTful API Python client, which establishes terminal connection with IBM DS8000 storage systems. The Python client protocol enables full management and monitoring of these storage arrays by issuing dedicated RESTful APIs. ## Getting started Clone the repository, and then add it to your PYTHONPATH directory. The Python client is then ready for import and use. ## Usage examples Usage examples of the Python client are available in the **examples.py** file. ## Displaying the RESTful APIs reference information Each storage system of DS8000 and major software version has its own set of RESTful APIs. The RESTful APIs are detailed in the RESTful API reference guides that are available on IBM Knowledge Center (KC). To display the full RESTful API Reference Guide of a specific storage system and a specific software version: 1. Navigate to a storage system welcome page on KC: 2. On the welcome page, select a storage system software version. For example, select **Version 8.5.3**. ![Software version](https://github.com/IBM/pyds8k/blob/master/images/1.jpg) The welcome page of the selected software version is displayed. 3. If needed, select the **Table of contents** tab. ![Table of contents](https://github.com/IBM/pyds8k/blob/master/images/2.jpg) 4. On the table of contents, click **RESTful API**. ![CLI interface](https://github.com/IBM/pyds8k/blob/master/images/3.jpg) 5. Refer to **Host commands** and to all subsequent chapters. ## Contributing We do not accept any contributions at the moment. This may change in the future, so you can fork, clone, and suggest a pull request. ## Running tests Use nosetests command to run a test. nosetests -v
38.6
255
0.774899
eng_Latn
0.992346
4b3a2dbb34ba66ceab3035c04e412ac73794cda0
1,660
md
Markdown
dynamicsax2012-technet/shoppingcart-kitcomponents-property-microsoft-dynamics-retail-sharepoint-web-controls.md
s0pach/DynamicsAX2012-technet
8412306681e6b914ebcfad0a9ee05038474ef1e6
[ "CC-BY-4.0", "MIT" ]
1
2020-06-16T22:06:04.000Z
2020-06-16T22:06:04.000Z
dynamicsax2012-technet/shoppingcart-kitcomponents-property-microsoft-dynamics-retail-sharepoint-web-controls.md
s0pach/DynamicsAX2012-technet
8412306681e6b914ebcfad0a9ee05038474ef1e6
[ "CC-BY-4.0", "MIT" ]
null
null
null
dynamicsax2012-technet/shoppingcart-kitcomponents-property-microsoft-dynamics-retail-sharepoint-web-controls.md
s0pach/DynamicsAX2012-technet
8412306681e6b914ebcfad0a9ee05038474ef1e6
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- title: ShoppingCart.KitComponents Property (Microsoft.Dynamics.Retail.SharePoint.Web.Controls) TOCTitle: KitComponents Property ms:assetid: P:Microsoft.Dynamics.Retail.SharePoint.Web.Controls.ShoppingCart.KitComponents ms:mtpsurl: https://technet.microsoft.com/library/microsoft.dynamics.retail.sharepoint.web.controls.shoppingcart.kitcomponents(v=AX.60) ms:contentKeyID: 62202725 author: Khairunj ms.date: 05/18/2015 mtps_version: v=AX.60 f1_keywords: - Microsoft.Dynamics.Retail.SharePoint.Web.Controls.ShoppingCart.KitComponents dev_langs: - CSharp - C++ - VB --- # KitComponents Property Gets or sets the kit components. **Namespace:**  [Microsoft.Dynamics.Retail.SharePoint.Web.Controls](microsoft-dynamics-retail-sharepoint-web-controls-namespace.md) **Assembly:**  Microsoft.Dynamics.Retail.SP.Web.Controls (in Microsoft.Dynamics.Retail.SP.Web.Controls.dll) ## Syntax ``` vb 'Declaration Protected Property KitComponents As HtmlTableRow Get Set 'Usage Dim value As HtmlTableRow value = Me.KitComponents Me.KitComponents = value ``` ``` csharp protected HtmlTableRow KitComponents { get; set; } ``` ``` c++ protected: property HtmlTableRow^ KitComponents { HtmlTableRow^ get (); void set (HtmlTableRow^ value); } ``` #### Property Value Type: [System.Web.UI.HtmlControls.HtmlTableRow](https://technet.microsoft.com/library/3x5s86zd\(v=ax.60\)) The kit components. ## See Also #### Reference [ShoppingCart Class](shoppingcart-class-microsoft-dynamics-retail-sharepoint-web-controls.md) [Microsoft.Dynamics.Retail.SharePoint.Web.Controls Namespace](microsoft-dynamics-retail-sharepoint-web-controls-namespace.md)
25.538462
135
0.776506
yue_Hant
0.638507
4b3ab066394e05981ad1c16bdaa3bcc7d43d32f0
261
markdown
Markdown
_til/2020-12-19-hyperloglog-intuitive-explanation-of-probabilistic-set-cardinality-estimation.markdown
petrroll/devblog
a635162354e8222dc916dee85d2d0945822b3226
[ "MIT" ]
1
2020-06-23T09:10:59.000Z
2020-06-23T09:10:59.000Z
_til/2020-12-19-hyperloglog-intuitive-explanation-of-probabilistic-set-cardinality-estimation.markdown
petrroll/devblog
a635162354e8222dc916dee85d2d0945822b3226
[ "MIT" ]
1
2022-02-26T08:50:19.000Z
2022-02-26T08:50:19.000Z
_til/2020-12-19-hyperloglog-intuitive-explanation-of-probabilistic-set-cardinality-estimation.markdown
petrroll/devblog
a635162354e8222dc916dee85d2d0945822b3226
[ "MIT" ]
null
null
null
--- date: 2020-12-19 22:26:36 +0100 author: Petr Houška category: math --- [HyperLogLog: Intuitive explanation of probabilistic set cardinality estimation](https://danonrockstar.com/hyperloglog-an-intuitive-explanation-that-doesnt-involve-math-c8fe131adfca)
37.285714
182
0.793103
eng_Latn
0.220264
4b3b342f72cb0b2f2a7e5b6a047233f008a9a7ff
9,911
md
Markdown
excel/.backup/library-bas.md
ry4nyeo/lab-vba
3ff1ca60b93428243e1556119f1b8fbf9f844309
[ "MIT" ]
null
null
null
excel/.backup/library-bas.md
ry4nyeo/lab-vba
3ff1ca60b93428243e1556119f1b8fbf9f844309
[ "MIT" ]
null
null
null
excel/.backup/library-bas.md
ry4nyeo/lab-vba
3ff1ca60b93428243e1556119f1b8fbf9f844309
[ "MIT" ]
null
null
null
# .BAS Library <sup>[Usage](#Usage-) · [Tools](#Tools-) · [WIP](#WIP-)</sup> ## Usage **Method 1**<br> * Import the .bas file(s) into Excel Visual Basic Editor as a module.<br> * Create a custom ribbon button for subroutines. **Method 2**<br> * Copy the codes in .bas file(s).<br> * Paste the codes into Excel Visual Basic Editor module.<br> * Create a custom ribbon button for subroutines. ## Tools By functions: * [Casing](https://github.com/ry4nyeo/vba/blob/main/pages/casing.md) * [Fonts](https://github.com/ry4nyeo/vba/blob/main/pages/fonts.md) * [Formats](https://github.com/ry4nyeo/vba/blob/main/pages/formats.md) * [Formulas](https://github.com/ry4nyeo/vba/blob/main/pages/formulas.md) * [Inserts](https://github.com/ry4nyeo/vba/blob/main/pages/inserts.md) * [Removes](https://github.com/ry4nyeo/vba/blob/main/pages/removes.md) * [Sorts](https://github.com/ry4nyeo/vba/blob/main/pages/sorts.md) * [Workbook](https://github.com/ry4nyeo/vba/blob/main/pages/workbook.md) * [XFunctions](https://github.com/ry4nyeo/vba/blob/main/pages/xfunctions.md) * [CustomUI](https://github.com/ry4nyeo/vba/blob/main/pages/customui.md) ## WIP * [CopyToWorkbook](https://github.com/ry4nyeo/vba/blob/main/pages/_copytoworkbook.md) * [epace](https://github.com/ry4nyeo/vba/blob/main/pages/_epace.md) * [CellTrim](https://github.com/ry4nyeo/vba/blob/main/excel/CellTrim.bas) * [ColorBorder](https://github.com/ry4nyeo/vba/blob/main/excel/ColorBorder.bas) * [ColorBorderAroundMid](https://github.com/ry4nyeo/vba/blob/main/excel/ColorBorderAroundMid.bas) * [ColorBorderMid](https://github.com/ry4nyeo/vba/blob/main/excel/ColorBorderMid.bas) * [EPL_ShortenTeamName](https://github.com/ry4nyeo/vba/blob/main/excel/EPL_ShortenTeamName.bas) * [FindReplaceAll](https://github.com/ry4nyeo/vba/blob/main/excel/FindReplaceAll.bas) * [InsertPageHeader](https://github.com/ry4nyeo/vba/blob/main/excel/insertPageHeader.bas) * [LoadRecentColors](https://github.com/ry4nyeo/vba/blob/main/excel/LoadRecentColors.bas) * [RemoveAccented](https://github.com/ry4nyeo/vba/blob/main/excel/RemoveAccented.bas) * [SetPrintMargin](https://github.com/ry4nyeo/vba/blob/main/excel/SetprintMargin.bas) * [SubscriptRight](https://github.com/ry4nyeo/vba/blob/main/excel/SubscriptRight.bas) * [TestUsedRange](https://github.com/ry4nyeo/vba/blob/main/excel/TestUsedRange.bas) * [XGCDISTANCE](https://github.com/ry4nyeo/vba/blob/main/excel/XGCDISTANCE.bas) ## Tables |File|Features|Type| |---|---|---| |[**CaseProper()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/CaseProper.bas)|Converts the selected range to proper case.|Sub| |[**CaseSentence()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/CaseSentence.bas)|Converts the selected range to sentence case.|Sub| |[**CaseUpper()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/CaseUpper.bas)|Converts the selected range to upper case.|Sub| |[**FontArial()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/FontArial.bas)|Converts the font of selected range to Arial.|Sub| |[**FontTimesNewRoman()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/FontTimesNewRoman.bas)|Converts the font of selected range to Times New Roman.|Sub| |[**FontVerdana()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/FontVerdana.bas)|Converts the font of selected range to Verdana.|Sub| |[**FormatAccounting()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/FormatAccounting.bas)|Converts the number format of selected range to accounting.|Sub| |[**FormatColorGreen()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/FormatColorGreen.bas)|Colors the selected range green.|Sub| |[**FormatColorRed()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/FormatColorRed.bas)|Colors the selected range red.|Sub| |[**FormatDateFull()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/FormatDateFull.bas)|Converts the selected range to full date format (e.g. dd mmm yyyy).|Sub| |[**FormatDateShort()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/FormatDateShort.bas)|Converts the selected range to short date format (e.g. dd-mm-yy).|Sub| |[**FormatTextToValue()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/FormatTextToValue.bas)|Converts the selected range to value format.|Sub| |[**FormatLineDotted()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/FormatLineDotted.bas)|Insert a dotted line.|Sub| |[**HyperAdd()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/HyperAdd.bas)|Converts a URL text to hyperlink.|Sub| |[**InsertArrowDown()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/InsertArrowDown.bas)|Inserts a black downwards arrow into the selected range.|Sub| |[**InsertHyperlink()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/InsertHyperlink.bas)|Inserts a hyperlink to a user-specified range for cross-referencing workpapers.|Sub| |[**YMW_InsertColumnWidth()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/YMW_InsertColumnWidth.bas)|Shows the width of the current column.|Sub| |[**YMW_InsertHeadingAudit()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/YMW_InsertHeadingAudit.bas)|Inserts a standard heading for audit workpaper.|Sub| |[**YMW_InsertHeadingTax()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/YMW_InsertHeadingTax.bas)|Inserts a standard heading for tax workpaper.|Sub| |[**YMW_InsertWorkdone()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/YMW_InsertWorkdone.bas)|Inserts a legend of standard audit workdone.|Sub| |[**YMW_SheetColumnsFS()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/YMW_SheetColumnsFS.bas)|Formats the active worksheet to that of a FS workpaper.|Sub| |[**YMW_SheetColumnsNTA4X()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/YMW_SheetColumnsNTA4X.bas)|Formats the active worksheet to that of a 4-columns-NTA workpaper.|Sub| |[**YMW_SheetColumnsNTA6X()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/YMW_SheetColumnsNTA6X.bas)|Formats the active worksheet to that of a 6-columns-NTA workpaper.|Sub| |[**YMW_SheetColumnsTickmark()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/YMW_SheetColumnsTickmark.bas)|Formats the active worksheet to that of a tickmark workpaper.|Sub| |[**YMW_SheetColumnsWP()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/YMW_SheetColumnsWP.bas)|Formats the active worksheet to that of a standard workpaper.|Sub| |[**FormulaAbsolute()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/FormulaAbsolute.bas)|Inserts `ABS()` into the formula of the selected range.|Sub| |[**FormulaAbsoluteReference()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/FormulaAbsoluteReference.bas)|Converts the cell reference in the selected range to absolute reference.|Sub| |[**FormulaReverseSign()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/FormulaReverseSign.bas)|Inserts `-` into the formula of the selected range.|Sub| |[**FormulaRound()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/FormulaRound.bas)|Inserts `ROUND()`, to the nearest dollar, into the formula of the selected range.|Sub| |[**FormulaToValue()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/FormulaToValue.bas)|Converts formula in the selected range to value.|Sub| |[**SheetResetComments()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/SheetResetComments.bas)|Resets all comments in the active worksheet.|Sub| |[**PasswordBreaker()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/PasswordBreaker.bas)|Cracks the password-protection of the active worksheet.|Sub| |[**RemoveBlankRows()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/RemoveBlankRows.bas)|Removes blank rows from selected range.|Sub| |[**SortRight()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/SortRight.bas)|Sorts a series from right to left.|Sub| |[**SortSheet()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/SortSheet.bas)|Sorts all worksheets in alphabetical order.|Sub| |[**WorkbookArial()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/WorkbookArial.bas)|Converts all of the active workbook fonts to Arial.|Sub| |[**WorkbookBreakLinks()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/WorkbookBreakLinks.bas)|Breaks all external links in the active workbook.|Sub| |[**WorkbookFontSize()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/WorkbookFontSize.bas)|Converts all of the active workbook font sizes to 10.|Sub| |[**WorkbookFormulaToValue()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/WorkbookFormulaToValue.bas)|Converts all of the active workbook formulas to value.|Sub| |[**WorkbookPageBreakOff()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/WorkbookPageBreakOff.bas)|Toggle page break off in the active workbook.|Sub| |[**WorkbookResetStyles()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/WorkbookResetStyles.bas)|Resets all styles in the active workbook.|Sub| |[**WorkbookResetTabColors()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/WorkbookResetTabColors.bas)|Reset all tab colors in the active workbook.|Sub| |[**WorkbookUnhideAll()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/WorkbookUnhideAll.bas)|Unhides all rows and columns of the active workbook.|Sub| |[**WorkbookVerdana()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/WorkbookVerdana.bas)|Converts all of the active workbook fonts to Verdana.|Sub| |[**DeleteNamedRanges()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/DeleteNamedRanges.bas)|Deletes all named ranges in the active workbook.|Sub| |[**RevertFile()**](https://github.com/ry4nyeo/vba/blob/main/files/excel/RevertFile.bas)|Revert macro changes|Sub| <br> --- <sup>[Home] | [Pathway] | [Products]</sup> [Home]:https://github.com/ry4nyeo/vba [Pathway]:https://github.com/ry4nyeo/vba/blob/main/pages/pathway.md [Products]:https://github.com/ry4nyeo/vba/blob/main/pages/products.md [<sup>·</sup>]: #
91.768519
194
0.763798
yue_Hant
0.383217
4b3b3b488136efcc29f4aefbc32c708fd8f2772e
4,808
md
Markdown
powerbi-docs/service-fullscreen-mode.md
ben-howard/powerbi-docs
68d6bbc1ebbd2d6c48b792750db7606a6df78a24
[ "CC-BY-4.0", "MIT" ]
null
null
null
powerbi-docs/service-fullscreen-mode.md
ben-howard/powerbi-docs
68d6bbc1ebbd2d6c48b792750db7606a6df78a24
[ "CC-BY-4.0", "MIT" ]
null
null
null
powerbi-docs/service-fullscreen-mode.md
ben-howard/powerbi-docs
68d6bbc1ebbd2d6c48b792750db7606a6df78a24
[ "CC-BY-4.0", "MIT" ]
1
2020-12-03T16:37:37.000Z
2020-12-03T16:37:37.000Z
--- title: Display dashboards, dashboard tiles, report pages, and report visualizations in full screen mode description: Display dashboards, dashboard tiles, report visuals, and report pages in full screen Mode, aka *TV mode*. services: powerbi documentationcenter: '' author: mihart manager: kfile backup: '' editor: '' tags: '' featuredvideoid: '' qualityfocus: '' qualitydate: '' ms.service: powerbi ms.devlang: NA ms.topic: article ms.tgt_pltfrm: NA ms.workload: powerbi ms.date: 03/01/2018 ms.author: mihart LocalizationGroup: Common tasks --- # Full screen mode in Power BI ## What is full screen mode? ![dashboard full screen mode before and after](media/service-fullscreen-mode/power-bi-full-screen-comparison.png) Display your content (dashboards, report pages, tiles, and visualizations) without the distraction of menus and navigation bars. You get an unadulterated, full view of your content at a glance, all the time. This is sometimes referred to as TV Mode. The functionality available in full screen mode varies by content. Some uses for full screen mode are: * presenting your dashboard, tile, visual, or report at a meeting or conference * displaying in an office on a dedicated large screen or projector * viewing on a small screen * reviewing in locked mode -- you can touch the screen or mouse over tiles without opening the underlying report or dashboard > **NOTE**: > Full screen mode is different from [Focus (pop out) mode](service-focus-mode.md). > > Watch Amanda open and navigate her dashboard in full screen mode and then apply some URL parameters to control the default display. Then follow the step-by-step instructions below the video to try it out yourself. <iframe width="560" height="315" src="https://www.youtube.com/embed/c31gZkyvC54" frameborder="0" allowfullscreen></iframe> ## Dashboards and report pages in full screen mode 1. From the Power BI menu bar above your dashboard or report, select the **full screen** icon ![full screen icon ](media/service-fullscreen-mode/power-bi-full-screen-icon.png) . Your dashboard canvas or report page fills the entire screen. The example below is a dashboard. ![Dashboard displays full screen](media/service-fullscreen-mode/power-bi-dash-full-screen.png) 2. In full screen mode, you have several menu options. To reveal the menu, just move your mouse or cursor. Menu for dashboards ![Menu for dashboards](media/service-fullscreen-mode/power-bi-full-screen-menu-dashboard.png) Menu for report pages ![Menu for reports](media/service-fullscreen-mode/power-bi-report-menu.png) ![Back icon](media/service-fullscreen-mode/power-bi-back-icon.png) Use the **Back** button to navigate to the previous page in your browser. If the previous page was a Power BI page, it too will display in full screen mode. Full screen mode will persist until you exit out. ![Print icon](media/service-fullscreen-mode/power-bi-print-icon.png) Use this button to print your dashboard or report page in full screen mode. ![Fit to screen icon](media/service-fullscreen-mode/power-bi-fit-to-width.png) Use the **Fit to screen** button to display your dashboard at the largest size possible without resorting to scrollbars. ![Fit to screen](media/service-fullscreen-mode/power-bi-fit-screen.png) ![Fit to width icon](media/service-fullscreen-mode/power-bi-fit-width.png) Sometimes you don't care about scrollbars, but want the dashboard to fill the entire width of the available space. Select the **Fit to width** button. ![Fit to screen icon](media/service-fullscreen-mode/power-bi-fit-to-width-new.png) ![Report navigation icon](media/service-fullscreen-mode/power-bi-report-nav2.png) In full screen reports, use these arrows to move between the pages in the report. 3. To exit full screen mode, select the **Exit full screen** icon. ![](media/service-fullscreen-mode/exit-fullscreen-new.png) ## Visualizations and dashboard tiles in full screen mode 1. To display dashboard tiles and report visualizations in full screen mode, you must start with that tile or visualization already in [Focus mode](service-focus-mode.md). ![](media/service-fullscreen-mode/power-bi-focus3.png) 2. Then, select the Full screen icon ![full screen icon](media/service-fullscreen-mode/power-bi-full-screen-icon.png) for that tile or visual. The tile or visual will display full screen without menus or navigation bars. ![](media/service-fullscreen-mode/power-bi-fullscreen.png) ## Next steps [Dashboards in Power BI](service-dashboards.md) [Focus mode](service-focus-mode.md) More questions? [Try the Power BI Community](http://community.powerbi.com/)
50.610526
319
0.745008
eng_Latn
0.977308
4b3b729b774a2bc31b648d84ffdf170c5e43e49d
1,145
md
Markdown
_posts/people-love/10/DONE/d/2021-04-07-layla-spring.md
chito365/p
d43434482da24b09c9f21d2f6358600981023806
[ "MIT" ]
null
null
null
_posts/people-love/10/DONE/d/2021-04-07-layla-spring.md
chito365/p
d43434482da24b09c9f21d2f6358600981023806
[ "MIT" ]
null
null
null
_posts/people-love/10/DONE/d/2021-04-07-layla-spring.md
chito365/p
d43434482da24b09c9f21d2f6358600981023806
[ "MIT" ]
null
null
null
--- id: 10312 title: Layla Spring date: 2021-04-07T08:01:05+00:00 author: victor layout: post guid: https://ukdataservers.com/layla-spring/ permalink: /04/07/layla-spring tags: - show love category: Guides --- * some text {: toc} ## Who is Layla Spring Singer who came to fame as a contestant on the sixteenth season of American Idol. For her audition, she performed The Jackson 5&#8217;s &#8220;Wh s Loving You&#8221; as a duet with her younger sister. ## Prior to Popularity She hails from Lebanon, Kentucky and attended Marion County High School.  ## Random data She was named the winner of the Junior Division in the Kentucky Opry Talent Search in 2017. ## Family & Everyday Life of Layla Spring Her sister&#8217;s name is Dyxie.  ## People Related With Layla Spring She has covered the Martina McBride song &#8220;Broken Wing.&#8221; 
17.615385
200
0.552838
eng_Latn
0.990552
4b3c82e03dbffb16943cb5916b3cc3240dcd416f
1,239
md
Markdown
.vscode/README.md
vavravl1/bfc-thermostat
48f987aae3e5c606b6662e4e8790bd1efff7e094
[ "MIT" ]
2
2018-04-18T08:14:26.000Z
2018-08-13T11:50:26.000Z
.vscode/README.md
vavravl1/bfc-thermostat
48f987aae3e5c606b6662e4e8790bd1efff7e094
[ "MIT" ]
null
null
null
.vscode/README.md
vavravl1/bfc-thermostat
48f987aae3e5c606b6662e4e8790bd1efff7e094
[ "MIT" ]
1
2019-05-14T20:10:54.000Z
2019-05-14T20:10:54.000Z
# BigClown IDE VSCode + ARM GCC + utilities. For SDK API documentation have a look at http://sdk.bigclown.com/ For whole BigClown documentation have a look at https://doc.bigclown.com/ ## Build project Press `Ctrl + Shift + B` or type `Ctrl + P` then `task build` then `<Enter>`. Application is in `app\application.c`. ## Flash MCU via USB DFU Connect Core Module via USB cable. Make CPU waiting for DFU (on Core Module press RESET button, press BOOT button, release RESET button, release BOOT button). Type `Ctrl + P` then `task dfu` then `<Enter>`. ## Flash MCU via JLink and Debug - Connect JLink (JTAG/SWD connector on Core Module - JLink and Jlink USB - PC USB) - Open `application.c` (e.g. `Ctrl + Shift + E` to switch to Explorer view and select `app application.c`) - Build (e.g. `Ctrl + Shift + B`) - Type `Ctrl + Shift + D` to switch to debug view, set some breakpoints by hitting `F9` - Hit `F5` to start debugging ## Terminal on COM port ``Ctrl + ` `` (or `Ctrl + Shift + P to term <Enter>`) to open terminal window. Type `serialport-list` then `<Enter>` to list available COM ports. Type `serialport-term -p COM5` to start serial port terminal on COM5 (use appropriate COM port number). `Ctrl+C` to exit terminal.
37.545455
158
0.707829
eng_Latn
0.695577
4b3cc1bb437ab6a79a2389fab0afd0aa86f30499
1,371
md
Markdown
WHY BLOCKCHAIN.md
wooriapt/Xwarewallet
417ae04e61a894371e183ab0244ca2810fff8ac5
[ "CC0-1.0" ]
1
2018-12-13T09:48:38.000Z
2018-12-13T09:48:38.000Z
WHY BLOCKCHAIN.md
wooriapt/Xwarewallet
417ae04e61a894371e183ab0244ca2810fff8ac5
[ "CC0-1.0" ]
1
2018-08-28T16:44:19.000Z
2018-08-28T16:44:19.000Z
WHY BLOCKCHAIN.md
wooriapt/Xwarewallet
417ae04e61a894371e183ab0244ca2810fff8ac5
[ "CC0-1.0" ]
2
2018-10-27T15:31:33.000Z
2018-12-18T07:34:10.000Z
--- layout: default title: 마일리지 시스템에 블록체인이 필요한 이유는 무엇입니까? --- ### Loyalty Rewards Programs using Cryptocurrency. [더 보기: Whitepaper](./whitepaper.md) ### 마일리지 시스템에 블록체인이 필요한 이유는 무엇입니까? 과학 기술면에서 중개인없이 운영 할 수있는 능력이 있어야한다. **이 환경은 로열티 네트워크 플랫폼에 완벽하게 적합합니다.** 123OTT 토큰 B2B 파트너십은 진행 상황을 추적하고 파트너십의 가치를 소비자에게 전하는 방법을 갖는 것이 중요합니다. 현재는 쿠폰 코드, 추천 링크 및 충성도 점수를 통해 수행됩니다. #### 그러나 #### 현재 사용 가능한 도구로는 다음과 같은 근본적인 질문에 답할 수 없습니다. - 얼마나 많은 쿠폰 / 추천 코드 / 포인트가 배포 되었습니까? - 정확히 얼마나 많은 소비자가 사용하고 있습니까? - 얼마나 많은 사람들이 소비에 참여를 하게 됩니까? - 파트너가 파트너십을 홍보한다는 사실을 비즈니스 이해 관계자가 어떻게 알 수 있습니까? - 가장 중요한 것은 두 비즈니스가 파트너십의 조건을 준수하도록하기 위해 어떤 인센티브가 제공되는 것입니까? **123OTT 토큰**은 이러한 문제와 많은 다른 문제를 해결합니다. 디지털 코인을 계약 조건에 연결함으로써 코인은 파트너십이 어떻게 진행되고 있는지 정확하게 추적 할 수 있습니다. 드물기는하지만 한 비즈니스가 다른 비즈니스보다 많은 거래 (예 : 추천 또는 쿠폰)를 생성하는 경우. 각 거래에 대해 소비자에게 제공되는 동전의 가치는 비즈니스가 더 많은 거래를 생성하고 비즈니스가 더 적은 거래를 생성하는 경우 감소합니다. 소비자는 당연히 거래 당 더 많은 동전을 제공하는 비즈니스로 이동하여 가능한 한 많은 트랜잭션을 생성하고 네트워크의 동작과 소프트웨어가 사용자의 이익에 부합하도록 유도합니다. 이는 성공적인 파트너십을 유지하는 데 중요합니다. 현재 많은 블록 체인 회사가 실제 유틸리티가 없는 토큰을 발행하고 있습니다. #### 123OTT 토큰은 다음과 같은 다양한 가능성을 위해 사용될 수 있습니다. - **전략적 파트너십의 조건을 따르고 장려하는 인센티브** - **플랫폼의 거버넌스** - **파트너쉽의 진행 상황 추적** - **소비자가 동전을 축적하게 함으로써 가치 제안 향상** - **소비자가 제품을 구매할 수있는 방법** - **소비. 투자자를 위한 미래가치 창고** [더 보기: Whitepaper](./whitepaper.md)
24.052632
81
0.642597
kor_Hang
1.00001
4b3ceb173687e55ce68451bd35d14c89052bc0af
21,200
md
Markdown
pages/docs/tutorials/native/mpp-ios-android.md
burhanrashid52/kotlin-web-site
46090250e4fbd67aa0d113b705a450e7f995857b
[ "Apache-2.0" ]
null
null
null
pages/docs/tutorials/native/mpp-ios-android.md
burhanrashid52/kotlin-web-site
46090250e4fbd67aa0d113b705a450e7f995857b
[ "Apache-2.0" ]
null
null
null
pages/docs/tutorials/native/mpp-ios-android.md
burhanrashid52/kotlin-web-site
46090250e4fbd67aa0d113b705a450e7f995857b
[ "Apache-2.0" ]
null
null
null
--- type: tutorial layout: tutorial title: "Multiplatform Project: iOS and Android" description: "Sharing Kotlin code between iOS and Android" authors: Eugene Petrenko date: 2018-10-04 showAuthorInfo: false issue: EVAN-6029 --- In this tutorial we will create an iOS and Android application, by making use of Kotlin's code sharing features. For Android we'll be using Kotlin/JVM, while for iOS it will be Kotlin/Native. We'll learn how to: - Create an [Android app](#creating-an-android-project) with Android Studio - Create a shared [Kotlin library](#creating-the-shared-module) - Use it [from Android app](#using-sharedcode-from-android) - Start the [Android application](#running-the-android-application) - Create an [iOS app](#creating-ios-application) with Xcode - Use the shared Kotlin library [from iOS app](#setting-up-framework-dependency-in-xcode) - Use [Kotlin from Swift](#calling-kotlin-code-from-swift) - Start the [iOS application](#running-the-ios-application) Our goal of this tutorial is to demonstrate the ability to share code within Kotlin and the benefits it provides. While what we'll be looking at is a simplified application, what is shown here can be applied to real world applications, independent of their size or complexity. The application we're going to create will simply show `Kotlin Rocks on Android` on Android and `Kotlin Rocks on iOS <version>` on iOS. The idea is to share the code that generates this message. The common code is `"Kotlin Rocks on ${platformName()}"`, where `platformName()` is a function that is declared using the `expect` keyword. The `actual` implementation will be specific to the platform. # Setting Up the Local Environment * We will be using [Android Studio](https://developer.android.com/studio/) for the Android part of the tutorial. It is also possible to use [IntelliJ IDEA](https://jetbrains.com/idea) Community or Ultimate edition. * Kotlin plugin 1.3.x or higher should be installed in the IDE. This can be verified via *Language & Frameworks | Kotlin Updates* section in the *Settings* (or *Preferences*) of the IDE. * macOS host operating system is required to compile for iOS and macOS devices. We need to have [Xcode](https://developer.apple.com/xcode/) and the tools installed and configured. Check out the [Apple Developer Site](https://developer.apple.com/xcode/) for more details. *Note: We'll be using IntelliJ IDEA 2018.3 EAP, Android Studio 3.2, Kotlin 1.3.0, Xcode 10.0, macOS 10.14, Gradle 4.7* # Creating an Android Project We'll create a new Android project via *Start New Android Project* item. If using IntelliJ IDEA, we need to select *Android* in the left panel of the *New Project* wizard. It's important to make sure that the *Include Kotlin support* checkbox is ticked. For now we can leave the default settings in the next step of the wizard. We then proceed to select the *Empty Activity* option and click *Next*, finally pressing *Finish*. **Note** If using pre-release or EAP versions of the Kotlin plugin, the IDE may fail to open the generated project, giving a Gradle import [error](https://youtrack.jetbrains.com/issue/KT-18835#focus=streamItem-27-2718879-0-0). This is because the right Maven repository isn't referenced in the `build.gradle` file, it can be resolved by adding the following entry *twice*, into each of the `repositories { .. }` blocks. <div class="sample" markdown="1" mode="groovy" theme="idea" data-highlight-only="1" auto-indent="false"> ```groovy maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' } ``` </div> <a name="gradle-upgrade"/> Kotlin/Native plugin requires a newer version of Gradle, let's patch the `gradle/wrapper/gradle-wrapper.properties` and use the following `distrubutionUrl`: ``` distributionUrl=https\://services.gradle.org/distributions/gradle-4.7-all.zip ``` We need to refresh the Gradle Project settings to apply these changes. Click on the `Sync Now` link or use the *Gradle* tool window and click the refresh action from the context menu on the root Gradle project. At this point, we should be able to compile and run the Android application # Creating the Shared Module The goal of the tutorial is to demonstrate Kotlin code re-use between Android and iOS. Let's start by creating the `SharedCode` sub-project in our Gradle project. The source code from the `SharedCode` project will be shared between platforms. We will create several new files in our project to implement that. ## Adding Kotlin Sources The idea is to make every platform show similar text: `Kotlin Rocks on Android` and `Kotlin Rocks on iOS`, depending on the platform. We will reuse the way we generate the message. Let's create the main file under `SharedCode/src/commonMain/kotlin/common.kt` <div class="sample" markdown="1" mode="kotlin" theme="idea" data-highlight-only="1" auto-indent="false"> ```kotlin package org.kotlin.mpp.mobile expect fun platformName(): String fun createApplicationScreenMessage() : String { return "Kotlin Rocks on ${platformName()}" } ``` </div> That is the common part. The code to generate the final message. It `expect`s the platform to provide the platform name from the `expect fun platformName(): String` function. We will use the `createApplicationScreenMessage` from both Android and iOS applications. Now, we need to create the implementation for Android in the `SharedCode/src/androidMain/kotlin/actual.kt`: <div class="sample" markdown="1" mode="kotlin" theme="idea" data-highlight-only="1" auto-indent="false"> ```kotlin package org.kotlin.mpp.mobile actual fun platformName(): String { return "Android" } ``` </div> We create a similar file for the iOS target in the `SharedCode/src/iosMain/kotlin/actual.kt`: <div class="sample" markdown="1" mode="kotlin" theme="idea" data-highlight-only="1" auto-indent="false"> ```kotlin package org.kotlin.mpp.mobile import platform.UIKit.UIDevice actual fun platformName(): String { return UIDevice.currentDevice.systemName() + " " + UIDevice.currentDevice.systemVersion } ``` </div> Here we can use the [UIDevice](https://developer.apple.com/documentation/uikit/uidevice?language=objc) class from the Apple UIKit Framework, which is not available in Java, it is only usable in Swift and Objective-C. Kotlin/Native compiler comes with a set of pre-imported frameworks, so we can use the UIKit Framework without additional steps. Objective-C and Swift Interop is covered in details in the [documentation](/docs/reference/native/objc_interop.html) ## Updating Gradle Scripts The `SharedCode` project should generate several artifacts for us: - JAR file for the Android project, from the `androidMain` source set - Apple framework - for iOS device and App Store (`arm64` target) - for iOS emulator (`x86_64` target) Let's update the Gradle scripts. First, we add the new project into the `settings.gradle` file, simply by adding the following line to the end of the file: <div class="sample" markdown="1" mode="groovy" theme="idea" data-highlight-only="1" auto-indent="false"> ```groovy include ':SharedCode' ``` </div> Next, we need to create the `SharedCode/build.gradle` file with the following content: <div class="sample" markdown="1" mode="groovy" theme="idea" data-highlight-only="1" auto-indent="false"> ```groovy apply plugin: 'kotlin-multiplatform' kotlin { targets { final def iOSTarget = System.getenv('SDK_NAME')?.startsWith("iphoneos") \ ? presets.iosArm64 : presets.iosX64 fromPreset(iOSTarget, 'iOS') { compilations.main.outputKinds('FRAMEWORK') } fromPreset(presets.jvm, 'android') } sourceSets { commonMain.dependencies { api 'org.jetbrains.kotlin:kotlin-stdlib-common' } androidMain.dependencies { api 'org.jetbrains.kotlin:kotlin-stdlib' } } } // workaround for https://youtrack.jetbrains.com/issue/KT-27170 configurations { compileClasspath } ``` </div> ## Multiplatform Gradle Project The `SharedCode/build.gradle` file uses the `kotlin-multiplatform` plugin to implement what we need. In the file, we define several targets `common`, `android`, and `iOS`. Each target has its own platform. The `common` target contains the Kotlin common code which is included into every platform compilation. It is allowed to have `expect` declarations. Other targets provide `actual` implementations for all `expect`-actions from the `common` target. The more detailed explanation of the multiplatform projects can be found on the [Multiplatform Projects](/docs/reference/building-mpp-with-gradle.html) documentation page. Let's summarize what we have in the table: | name | source folder | target | artifact | |---|---|---|---| | common | `SharedCode/commonMain/kotlin` | - | Kotlin metadata | | android | `SharedCode/androidMain/kotlin` | JVM 6 | `.jar` file or `.class` files | | iOS | `SharedCode/iOSMain` | iOS arm64 or x86_64| Apple framework | Now it is time to refresh the Gradle project again in Android Studio. Click *Sync Now* on the yellow stripe or use the *Gradle* tool window and click the `Refresh` action in the context menu on the root Gradle project. The `:SharedCode` project should be recognized by the IDE now. We are ready to use the `SharedCode` library from our Android and iOS applications. # Using SharedCode from Android For this tutorial, we want to minimize Android project changes, so we add an ordinary dependency from that project to the `SharedCode` project. It is also possible to use the `kotlin-multiplatform` plugin directly in an Android Gradle project, instead of the `kotlin-android` plugin. For more information, please refer to the [Multiplatform Projects](/docs/reference/multiplatform.html) documentation. Let's include the dependency from the `SharedCode` project to the Android project. We need to patch the `app/build.gradle` file and include the following line into the `dependencies { .. }` block: <div class="sample" markdown="1" mode="groovy" theme="idea" data-highlight-only="1" auto-indent="false"> ```groovy implementation project(':SharedCode') ``` </div> We need to assign the `id` to the `TextView` control of our activity to access it from the code. Let's patch the `app/src/main/res/layout/activity_main.xml` file (the name may be different if we changed it in the new project wizard) and add several more attributes to the `<TextView>` element: ``` android:id="@+id/main_text" android:textSize="42sp" android:layout_margin="5sp" android:textAlignment="center" ``` Next, let's include the following line of code into the `MainActivity` class from the `/app/src/main/java/<package>/MainActivity.kt` file, to the end of the `onCreate` method: ``` findViewById<TextView>(R.id.main_text).text = createApplicationScreenMessage() ``` Use the intention from the IDE to include the missing import line: ```kotlin import org.kotlin.mpp.mobile.createApplicationScreenMessage ``` into the same file. Now we have the `TextView` that will show us the text created by the shared code function `createApplicationScreenMessage()`. It shows `Kotlin Rocks on Android`. Let's see how it works. ## Running the Android Application Let's click on the `App` run configuration to get our project running either on a real Android Device or on the emulator. ![Start the Application]({{ url_for('tutorial_img', filename='native/mpp-ios-android/studio-start-app.png') }}) And so now we can see the Application running in the Android emulator: ![Emulator App]({{ url_for('tutorial_img', filename='native/mpp-ios-android/android-emulator-kotlin-rocks-android.png') }}){: width="30%"} # Creating iOS Application We open Xcode and select *Create a new Xcode project* option. In the dialog, we choose the iOS target and select the *Single View App*. Fill the next page with defaults, and use the `KotlinIOS` (or something else) as the *Product Name*. Let's select Swift as the language (it is possible to use Objective-C too). We should instruct Xcode to place the project into the `native` folder under our project, later we will use relative paths in the configuration files. The created iOS application is ready to run on the iOS emulator or on the iOS device. The device run may require an Apple developer account and to issue a developer certificate. Xcode does its best to guide us through the process. Let's make sure we can run the application on the iPhone emulator or device. # Setting up Framework Dependency in Xcode The `SharedCode` build generates iOS frameworks for use with the Xcode project. All frameworks are in the `SharedCode/build/bin` folder. It creates a *debug* and *release* version for every framework target. The frameworks are in the following paths: ``` SharedCode/build/bin/iOS/main/debug/framework/SharedCode.framework SharedCode/build/bin/iOS/main/release/framework/SharedCode.framework ``` We use the condition in the Gradle script to select the target platform for the framework. It is either `iOS arm64` or `iOS x86_64` depending in environment variables. ## Tuning the Gradle Build Script We need to supply the right Framework out of those four depending on the selected target in the Xcode project. It depends on the target configuration selected in Xcode. Also, we'd like to make Xcode compile the Framework for us before the build. We need to include the additional task to the end of the `SharedCode/build.gradle` Gradle file: <div class="sample" markdown="1" mode="groovy" theme="idea" data-highlight-only="1" auto-indent="false"> ```groovy task packForXCode(type: Sync) { final File frameworkDir = new File(buildDir, "xcode-frameworks") final String mode = project.findProperty("XCODE_CONFIGURATION")?.toUpperCase() ?: 'DEBUG' inputs.property "mode", mode dependsOn kotlin.targets.iOS.compilations.main.linkTaskName("FRAMEWORK", mode) from { kotlin.targets.iOS.compilations.main.getBinary("FRAMEWORK", mode).parentFile } into frameworkDir doLast { new File(frameworkDir, 'gradlew').with { text = "#!/bin/bash\nexport 'JAVA_HOME=${System.getProperty("java.home")}'\ncd '${rootProject.rootDir}'\n./gradlew \$@\n" setExecutable(true) } } } tasks.build.dependsOn packForXCode ``` </div> Note, the task may not work [correctly](https://github.com/gradle/gradle/issues/6330) if you use Gradle older than 4.10. In this tutorial we have already [upgraded it to 4.7](#gradle-upgrade). Let's switch back to the Android Studio and execute the `build` target of the `SharedCode` project from the *Gradle* tool window. The task looks for environment variables set by the Xcode build and copies the right variant of the framework into the `SharedCode/build/xcode-frameworks` folder. We then include the framework from that folder into the build ## Setting up Xcode We add the `SharedCode` framework to the Xcode project. For that let's click on the root node of the *project navigator* and select the *target* settings. Next, we click on the `+` in the *Embedded Binaries* section, click *Add Other...* button in the dialog to choose the framework from the disk. We can point to the following folder: ``` SharedCode/build/xcode-frameworks/SharedCode.framework ``` We will then see something similar to this: ![Xcode General Screen]({{ url_for('tutorial_img', filename='native/mpp-ios-android/xcode-general.png') }}) We need to disable the *Bitcode* feature in the project too. Kotlin/Native produces the fully native binaries, not the LLVM bitcode, so we need to navigate to the *Build Settings* tab, pick the *All* sub-tab below, and type `bitcode` into the search field. Select `No` for the *Enable Bitcode* option. ![Xcode Build Settings]({{ url_for('tutorial_img', filename='native/mpp-ios-android/xcode-bitcode.png') }}) Now we need to explain to Xcode, where to look for frameworks. We need to add the *relative* path `$(SRCROOT)/../../SharedCode/build/xcode-frameworks` into the *Search Paths | Framework Search Paths* section. Open the *Build Settings* tab again, pick the *All* sub-tab below, and type the *Framework Search Paths* into the search field to easily find the option. Xcode will then show the substituted path in the UI for it. ![Xcode Build Settings]({{ url_for('tutorial_img', filename='native/mpp-ios-android/xcode-search-path.png') }}) The final step is to make Xcode call our Gradle build to prepare the `SharedCode` framework before each run. We open the *Build Phases* tab and click `+` to add the *New Run Script Phase* and add the following code into it: <div class="sample" markdown="1" mode="bash" theme="idea" data-highlight-only="1" auto-indent="false"> ```bash cd "$SRCROOT/../../SharedCode/build/xcode-frameworks" ./gradlew :SharedCode:packForXCode -PXCODE_CONFIGURATION=${CONFIGURATION} ``` </div> Note, here we use the `$SRCROOT/../..` as the path to the root of our Gradle project. It can depend on the way the Xcode project was created created. Also, we use the generated `SharedCode/build/xcode-frameworks/gradlew` script, the `packForXCode` task generates it. We assumed that the Gradle build is executed at least once, before opening the Xcode project on a fresh machine ![Xcode Build Phases]({{ url_for('tutorial_img', filename='native/mpp-ios-android/xcode-run-script.png') }}) We should drag the created build phase to the top of the list ![Xcode Build Phases]({{ url_for('tutorial_img', filename='native/mpp-ios-android/xcode-run-script-order.png') }}) We are now ready to start coding the iOS application and to use the Kotlin code from it ## Calling Kotlin Code from Swift Remember, our goal is to show the text message on the screen. As we see, our iOS application does not draw anything on the screen. Let's make it show the `UILabel` with the text message. We need to replace the contents of the `ViewController.swift` file with the following code: <div class="sample" markdown="1" mode="swift" theme="idea" data-highlight-only="1" auto-indent="false"> ```swift import UIKit import SharedCode class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() let label = UILabel(frame: CGRect(x: 0, y: 0, width: 300, height: 21)) label.center = CGPoint(x: 160, y: 285) label.textAlignment = .center label.font = label.font.withSize(25) label.text = CommonKt.createApplicationScreenMessage() view.addSubview(label) } } ``` </div> We use the `import SharedCode` to import our Framework, which we compiled with Kotlin/Native from Kotlin code. Next, we call the Kotlin function from it as `CommonKt.createApplicationScreenMessage()`. Follow the [Kotlin/Native as an Apple Framework](/docs/tutorials/native/apple-framework.html) tutorial for more details on the Kotlin/Native to Swift (or Objective-C) interop. Right now, we are ready to start the application in the emulator or on an iOS device. ## Running the iOS Application Let's click the *Run* button in Xcode, and we'll see our application running ![Emulator App]({{ url_for('tutorial_img', filename='native/mpp-ios-android/iPhone-emulator-kotlin-rocks.png') }}){: width="30%"} # Summary In the tutorial we: - created an Android application in Android Studio - created an iOS application in Xcode - added Kotlin multiplatform sub-project - with shared Kotlin code - compiled it to Android Jar - compiled it to iOS Framework - put it all together and re-used Kotlin code We may find the whole sources from that tutorial on [GitHub](https://github.com/JetBrains/kotlin-examples/tree/master/tutorials/mpp-iOS-Android). # Next Steps This is only the beginning and a small example of Kotlin code sharing between iOS and Android (and other platforms) with Kotlin, Kotlin/Native and Kotlin multiplatform projects. The same approach works for real applications, independent of their size or complexity. Kotlin/Native interop with Swift and Objective-C is covered in the [documentation](/docs/reference/native/objc_interop.html) article. Also, the same topic is covered in the [Kotlin/Native as an Apple Framework](apple-framework.html) tutorial. The multiplatform projects and multiplatform libraries are discussed in the [documentation](/docs/reference/multiplatform.html) too. Sharing code between platforms is a powerful technique, but it may be hard to accomplish without rich APIs that we have in Android, JVM, or iOS platforms. Multiplatform libraries can be used to fix that. They bring rich APIs directly in the common Kotlin code. There are several examples of such libraries: - [kotlinx.coroutines](https://github.com/Kotlin/kotlinx.coroutines/blob/master/native/README.md) - [kotlinx.io](https://github.com/Kotlin/kotlinx-io) - [kotlinx.serialization](https://github.com/Kotlin/kotlinx.serialization) - [ktor](https://ktor.io/) - [ktor-http-client](https://ktor.io/clients/http-client.html) Looking for more APIs? It is easy to create a [multiplatform library](/docs/tutorials/multiplatform-library.html) and share it!
43.002028
145
0.749906
eng_Latn
0.973731
4b3e130b38ba42c2e9a37366f188aff4cac537c1
2,510
md
Markdown
functions-arguments.md
Requirement-Engineers/default-coding-Bo2
f51e4e17af4fff077aebe2f3611c363da9ed9871
[ "Unlicense" ]
null
null
null
functions-arguments.md
Requirement-Engineers/default-coding-Bo2
f51e4e17af4fff077aebe2f3611c363da9ed9871
[ "Unlicense" ]
null
null
null
functions-arguments.md
Requirement-Engineers/default-coding-Bo2
f51e4e17af4fff077aebe2f3611c363da9ed9871
[ "Unlicense" ]
null
null
null
# Functions and Arguments We group together a set of instructions into a function. It is interesting to see how scope and arguments are handled within functions, in different languages. Let's take a look. You can try out all code-snippets here by clicking 'Enter focus mode' in [this site](https://docs.microsoft.com/en-us/dotnet/csharp/tutorials/intro-to-csharp/list-collection?tutorial-step=1) Consider this C# function called `incrementIt`. It takes an integer and tries to increment it, unsuccessfully though: ```C# void incrementIt(int i) { i += 4; } int p = 5; incrementIt(p); Console.WriteLine($"After incrementing: {p}"); ``` This code will output: ```console After incrementing: 5 ``` So it didn't increment at all! Only the value of `p` was passed to the function. Modifications made inside the function have no effect outside. The scope of `i` is restricted to the function `incrementIt`. Its lifetime (also called 'extent') is also within that function itself. Consider another C# function, which removes 'the' from a list of strings: ```C# void removeThe(List<String> strArray) { strArray.Remove("the"); } var names = new List<string> { "I", "saw", "the", "crow" }; Console.WriteLine($"{names.Count} elements before removeThe"); removeThe(names); Console.WriteLine($"{names.Count} elements after removeThe"); ``` We see: ```console 4 elements before removeThe 3 elements after removeThe ``` This code passes the List called `names` and the function `removeThe` changes the list by removing a string from the list. If only the value of `names` was passed into the function, it should have remained unchanged! In C#, the List is passed by reference. So the function was seeing the same `names` List. Here we see C# treats value-types (like `int`) different from reference types (like `List`), while passing them as arguments to functions. Here is a catch: Changing the entire array seems to behave differently: ```C# void changeIt(List<String> strArray) { strArray = new List<string> {"one", "two"}; } var names = new List<string> { "I", "saw", "the", "crow" }; Console.WriteLine($"{names.Count} elements before changeIt"); changeIt(names); Console.WriteLine($"{names.Count} elements after changeIt"); ``` What's going on? The array didn't change! ```console 4 elements before changeIt 4 elements after changeIt ``` Can you reason this out?
27.282609
140
0.698805
eng_Latn
0.996317
4b3e1b5baa440ac57cfc6127307e7b12d2b6d59e
21
md
Markdown
assets/faces/color.md
mobotx/mobot
afaf128ab7a5aab86f776c414ea8f5444e0d0f25
[ "MIT" ]
13
2021-11-25T19:27:54.000Z
2022-01-21T01:30:00.000Z
assets/faces/color.md
mobotx/mobot
afaf128ab7a5aab86f776c414ea8f5444e0d0f25
[ "MIT" ]
27
2021-08-05T00:36:36.000Z
2022-02-27T11:10:38.000Z
assets/faces/color.md
mobotx/mobot
afaf128ab7a5aab86f776c414ea8f5444e0d0f25
[ "MIT" ]
null
null
null
Face Color: 33d83aff
10.5
20
0.809524
eng_Latn
0.517447
4b401d5116e6c8cd429bedef77d86cbcf0cab75a
650
md
Markdown
website/content/en/highlights/2019-12-04-rename-datadog-sink-to-datadog_metrics.md
parampavar/vector
83bd797ff6a05fb3246a2442a701db3a85e323b5
[ "Apache-2.0" ]
null
null
null
website/content/en/highlights/2019-12-04-rename-datadog-sink-to-datadog_metrics.md
parampavar/vector
83bd797ff6a05fb3246a2442a701db3a85e323b5
[ "Apache-2.0" ]
null
null
null
website/content/en/highlights/2019-12-04-rename-datadog-sink-to-datadog_metrics.md
parampavar/vector
83bd797ff6a05fb3246a2442a701db3a85e323b5
[ "Apache-2.0" ]
null
null
null
--- date: "2020-07-13" title: "The `datadog` sink has been renamed to `datadog_metrics`" description: "This ensures that naming is consistent for the upcoming `datadog_logs` sink" authors: ["binarylogic"] pr_numbers: [1314] release: "0.6.0" hide_on_release_notes: false badges: type: "breaking change" domains: ["sinks"] sinks: ["datadog_metrics"] --- The `datadog` sink has been renamed to `datadog_metrics` to make way for the upcoming `datadog_logs` sink. ## Upgrade Guide Make the following changes in your `vector.toml` file: ```diff title="vector.toml" [sinks.datadog] - type = "datadog" + type = "datadog_metrics" ``` That's it!
22.413793
90
0.718462
eng_Latn
0.890501
4b407783df419fb11defd670fc0aa7201d074d72
961
md
Markdown
_posts/2018-3-17-gcp-infrastructure-core-services.md
shawfdong/shawfdong.github.io
5d0fa289bbdc6f7988cc5697a6c289ddda40d1a0
[ "MIT" ]
1
2021-07-13T17:35:45.000Z
2021-07-13T17:35:45.000Z
_posts/2018-3-17-gcp-infrastructure-core-services.md
shawfdong/shawfdong.github.io
5d0fa289bbdc6f7988cc5697a6c289ddda40d1a0
[ "MIT" ]
null
null
null
_posts/2018-3-17-gcp-infrastructure-core-services.md
shawfdong/shawfdong.github.io
5d0fa289bbdc6f7988cc5697a6c289ddda40d1a0
[ "MIT" ]
null
null
null
--- layout: post title: Notes for "Essential Cloud Infrastructure - Core Services" tags: [Cloud Computing] --- My notes for the course "Essential Cloud Infrastructure: Core Services" (Course 3 of "Architecting with Google Cloud Platform") on [Coursera](https://www.coursera.org/).<!-- more --> ## Qwiklabs * [Cloud Identity and Access Management (IAM)](https://googlecoursera.qwiklab.com/focuses/10049) * [Cloud Storage](https://googlecoursera.qwiklab.com/focuses/10050) * [Cloud SQL](https://googlecoursera.qwiklab.com/focuses/10051) * [Cloud Datastore](https://googlecoursera.qwiklab.com/focuses/10052) * [Billing Administration](https://googlecoursera.qwiklab.com/focuses/10053) * [Examining Billing Data with BigQuery](https://googlecoursera.qwiklab.com/focuses/10054) * [Resource Monitoring (Stackdriver)](https://googlecoursera.qwiklab.com/focuses/10055) * [Error Reporting and Debugging (Stackdriver)](https://googlecoursera.qwiklab.com/focuses/10056)
53.388889
182
0.771072
kor_Hang
0.296198
4b411d67d390b7f16f8776fe24c938a385225118
22,846
md
Markdown
en/device-dev/kernel/ifconfig.md
jackwiy/openharmony-docs
19abdbea5ae621bff32434a95f9d63989b7f8dc5
[ "CC-BY-4.0" ]
1
2022-02-15T08:51:55.000Z
2022-02-15T08:51:55.000Z
en/device-dev/kernel/ifconfig.md
jackwiy/openharmony-docs
19abdbea5ae621bff32434a95f9d63989b7f8dc5
[ "CC-BY-4.0" ]
1
2021-06-13T08:50:51.000Z
2021-06-13T08:50:58.000Z
en/device-dev/kernel/ifconfig.md
jackwiy/openharmony-docs
19abdbea5ae621bff32434a95f9d63989b7f8dc5
[ "CC-BY-4.0" ]
null
null
null
# ifconfig<a name="EN-US_TOPIC_0000001052170309"></a> - [Command Function](#section174940284379) - [Syntax](#section136073203715) - [Parameter Description](#section6493235203710) - [Usage](#section05763403371) - [Example](#section168802042123717) - [Output](#section124638211109) ## Command Function<a name="section174940284379"></a> This command is used to query and set parameters of a NIC, such as the IP address, subnet mask, gateway, and MAC address, and enable or disable the NIC. ## Syntax<a name="section136073203715"></a> ifconfig \[_-a_\] <_interface_\> <_address_\> \[_netmask <mask\>_\] \[_gateway <address\>_\] \[_hw ether <address\>_\] \[_mtu <size\>_\] \[_inet6 add <address\>_\] \[_inet6 del <address\>_\] \[_up|down_\] ## Parameter Description<a name="section6493235203710"></a> **Table 1** Parameters <a name="table2005mcpsimp"></a> <table><thead align="left"><tr id="row2011mcpsimp"><th class="cellrowborder" valign="top" width="21%" id="mcps1.2.4.1.1"><p id="p2013mcpsimp"><a name="p2013mcpsimp"></a><a name="p2013mcpsimp"></a><strong id="b207545880811653"><a name="b207545880811653"></a><a name="b207545880811653"></a>Parameter</strong></p> </th> <th class="cellrowborder" valign="top" width="52%" id="mcps1.2.4.1.2"><p id="p2015mcpsimp"><a name="p2015mcpsimp"></a><a name="p2015mcpsimp"></a><strong id="b519711279124"><a name="b519711279124"></a><a name="b519711279124"></a>Description</strong></p> </th> <th class="cellrowborder" valign="top" width="27%" id="mcps1.2.4.1.3"><p id="p2017mcpsimp"><a name="p2017mcpsimp"></a><a name="p2017mcpsimp"></a><strong id="b19371475311653"><a name="b19371475311653"></a><a name="b19371475311653"></a>Value Range</strong></p> </th> </tr> </thead> <tbody><tr id="row2018mcpsimp"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.2.4.1.1 "><p id="p2020mcpsimp"><a name="p2020mcpsimp"></a><a name="p2020mcpsimp"></a>No parameter</p> </td> <td class="cellrowborder" valign="top" width="52%" headers="mcps1.2.4.1.2 "><p id="p2022mcpsimp"><a name="p2022mcpsimp"></a><a name="p2022mcpsimp"></a>Displays information about all NICs, including the IP addresses, subnet masks, gateways, MAC addresses, maximum transmission units (MTUs), and running statuses.</p> </td> <td class="cellrowborder" valign="top" width="27%" headers="mcps1.2.4.1.3 "><p id="p2025mcpsimp"><a name="p2025mcpsimp"></a><a name="p2025mcpsimp"></a>N/A</p> </td> </tr> <tr id="row2026mcpsimp"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.2.4.1.1 "><p id="p2028mcpsimp"><a name="p2028mcpsimp"></a><a name="p2028mcpsimp"></a>-a</p> </td> <td class="cellrowborder" valign="top" width="52%" headers="mcps1.2.4.1.2 "><p id="p2030mcpsimp"><a name="p2030mcpsimp"></a><a name="p2030mcpsimp"></a>Displays data sent and received by the protocol stack.</p> </td> <td class="cellrowborder" valign="top" width="27%" headers="mcps1.2.4.1.3 "><p id="p2032mcpsimp"><a name="p2032mcpsimp"></a><a name="p2032mcpsimp"></a>N/A</p> </td> </tr> <tr id="row2033mcpsimp"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.2.4.1.1 "><p id="p2035mcpsimp"><a name="p2035mcpsimp"></a><a name="p2035mcpsimp"></a>interface</p> </td> <td class="cellrowborder" valign="top" width="52%" headers="mcps1.2.4.1.2 "><p id="p2037mcpsimp"><a name="p2037mcpsimp"></a><a name="p2037mcpsimp"></a>Indicates the NIC name, for example, <strong id="b1368975571410"><a name="b1368975571410"></a><a name="b1368975571410"></a>eth0</strong>.</p> </td> <td class="cellrowborder" valign="top" width="27%" headers="mcps1.2.4.1.3 "><p id="p2039mcpsimp"><a name="p2039mcpsimp"></a><a name="p2039mcpsimp"></a>N/A</p> </td> </tr> <tr id="row2040mcpsimp"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.2.4.1.1 "><p id="p2042mcpsimp"><a name="p2042mcpsimp"></a><a name="p2042mcpsimp"></a>address</p> </td> <td class="cellrowborder" valign="top" width="52%" headers="mcps1.2.4.1.2 "><p id="p2044mcpsimp"><a name="p2044mcpsimp"></a><a name="p2044mcpsimp"></a>Indicates the IP address, for example, <strong id="b530715731519"><a name="b530715731519"></a><a name="b530715731519"></a>192.168.1.10</strong>. The NIC name must be specified.</p> </td> <td class="cellrowborder" valign="top" width="27%" headers="mcps1.2.4.1.3 "><p id="p2046mcpsimp"><a name="p2046mcpsimp"></a><a name="p2046mcpsimp"></a>N/A</p> </td> </tr> <tr id="row2047mcpsimp"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.2.4.1.1 "><p id="p2049mcpsimp"><a name="p2049mcpsimp"></a><a name="p2049mcpsimp"></a>netmask</p> </td> <td class="cellrowborder" valign="top" width="52%" headers="mcps1.2.4.1.2 "><p id="p2051mcpsimp"><a name="p2051mcpsimp"></a><a name="p2051mcpsimp"></a>Indicates the subnet mask, for example, <strong id="b235246162419"><a name="b235246162419"></a><a name="b235246162419"></a>255.255.255.0</strong>.</p> </td> <td class="cellrowborder" valign="top" width="27%" headers="mcps1.2.4.1.3 "><p id="p2054mcpsimp"><a name="p2054mcpsimp"></a><a name="p2054mcpsimp"></a>N/A</p> </td> </tr> <tr id="row2055mcpsimp"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.2.4.1.1 "><p id="p2057mcpsimp"><a name="p2057mcpsimp"></a><a name="p2057mcpsimp"></a>gateway</p> </td> <td class="cellrowborder" valign="top" width="52%" headers="mcps1.2.4.1.2 "><p id="p2059mcpsimp"><a name="p2059mcpsimp"></a><a name="p2059mcpsimp"></a>Indicates the gateway, for example, <strong id="b7597165610246"><a name="b7597165610246"></a><a name="b7597165610246"></a>192.168.1.1</strong>.</p> </td> <td class="cellrowborder" valign="top" width="27%" headers="mcps1.2.4.1.3 "><p id="p2062mcpsimp"><a name="p2062mcpsimp"></a><a name="p2062mcpsimp"></a>N/A</p> </td> </tr> <tr id="row2063mcpsimp"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.2.4.1.1 "><p id="p2065mcpsimp"><a name="p2065mcpsimp"></a><a name="p2065mcpsimp"></a>hw ether</p> </td> <td class="cellrowborder" valign="top" width="52%" headers="mcps1.2.4.1.2 "><p id="p2067mcpsimp"><a name="p2067mcpsimp"></a><a name="p2067mcpsimp"></a>Indicates the MAC address, for example, <strong id="b679715131255"><a name="b679715131255"></a><a name="b679715131255"></a>00:11:22:33:44:55</strong>. Currently, only the <strong id="b175610517419"><a name="b175610517419"></a><a name="b175610517419"></a>ether</strong> hardware type is supported.</p> </td> <td class="cellrowborder" valign="top" width="27%" headers="mcps1.2.4.1.3 "><p id="p2071mcpsimp"><a name="p2071mcpsimp"></a><a name="p2071mcpsimp"></a>N/A</p> </td> </tr> <tr id="row2072mcpsimp"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.2.4.1.1 "><p id="p2074mcpsimp"><a name="p2074mcpsimp"></a><a name="p2074mcpsimp"></a>mtu</p> </td> <td class="cellrowborder" valign="top" width="52%" headers="mcps1.2.4.1.2 "><p id="p2076mcpsimp"><a name="p2076mcpsimp"></a><a name="p2076mcpsimp"></a>Indicates the MTU size, for example, <strong id="b2852192012261"><a name="b2852192012261"></a><a name="b2852192012261"></a>1000</strong>.</p> </td> <td class="cellrowborder" valign="top" width="27%" headers="mcps1.2.4.1.3 "><a name="ul10290630142713"></a><a name="ul10290630142713"></a><ul id="ul10290630142713"><li>For IPv4:<p id="p7324133522720"><a name="p7324133522720"></a><a name="p7324133522720"></a>[68,1500]</p> </li><li>For IPv6:<p id="p15794114813278"><a name="p15794114813278"></a><a name="p15794114813278"></a>[1280, 1500]</p> </li></ul> </td> </tr> <tr id="row2079mcpsimp"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.2.4.1.1 "><p id="p2081mcpsimp"><a name="p2081mcpsimp"></a><a name="p2081mcpsimp"></a>add</p> </td> <td class="cellrowborder" valign="top" width="52%" headers="mcps1.2.4.1.2 "><p id="p2083mcpsimp"><a name="p2083mcpsimp"></a><a name="p2083mcpsimp"></a>Indicates the IPv6 address, for example, <strong id="b12509153516279"><a name="b12509153516279"></a><a name="b12509153516279"></a>2001:a:b:c:d:e:f:d</strong>. The NIC name and <strong id="b912123842916"><a name="b912123842916"></a><a name="b912123842916"></a>inet6</strong> must be specified.</p> </td> <td class="cellrowborder" valign="top" width="27%" headers="mcps1.2.4.1.3 "><p id="p2085mcpsimp"><a name="p2085mcpsimp"></a><a name="p2085mcpsimp"></a>N/A</p> </td> </tr> <tr id="row2086mcpsimp"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.2.4.1.1 "><p id="p2088mcpsimp"><a name="p2088mcpsimp"></a><a name="p2088mcpsimp"></a>del</p> </td> <td class="cellrowborder" valign="top" width="52%" headers="mcps1.2.4.1.2 "><p id="p2090mcpsimp"><a name="p2090mcpsimp"></a><a name="p2090mcpsimp"></a>Deletes an IPv6 address. The NIC name and <strong id="b81833812319"><a name="b81833812319"></a><a name="b81833812319"></a>inet6</strong> must be specified.</p> </td> <td class="cellrowborder" valign="top" width="27%" headers="mcps1.2.4.1.3 "><p id="p2092mcpsimp"><a name="p2092mcpsimp"></a><a name="p2092mcpsimp"></a>N/A</p> </td> </tr> <tr id="row2100mcpsimp"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.2.4.1.1 "><p id="p2102mcpsimp"><a name="p2102mcpsimp"></a><a name="p2102mcpsimp"></a>up</p> </td> <td class="cellrowborder" valign="top" width="52%" headers="mcps1.2.4.1.2 "><p id="p2104mcpsimp"><a name="p2104mcpsimp"></a><a name="p2104mcpsimp"></a>Enables the data processing function of the NIC. The NIC name must be specified.</p> </td> <td class="cellrowborder" valign="top" width="27%" headers="mcps1.2.4.1.3 "><p id="p2106mcpsimp"><a name="p2106mcpsimp"></a><a name="p2106mcpsimp"></a>N/A</p> </td> </tr> <tr id="row2107mcpsimp"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.2.4.1.1 "><p id="p2109mcpsimp"><a name="p2109mcpsimp"></a><a name="p2109mcpsimp"></a>down</p> </td> <td class="cellrowborder" valign="top" width="52%" headers="mcps1.2.4.1.2 "><p id="p2111mcpsimp"><a name="p2111mcpsimp"></a><a name="p2111mcpsimp"></a>Disables the data processing function of the NIC. The NIC name must be specified.</p> </td> <td class="cellrowborder" valign="top" width="27%" headers="mcps1.2.4.1.3 "><p id="p2113mcpsimp"><a name="p2113mcpsimp"></a><a name="p2113mcpsimp"></a>N/A</p> </td> </tr> </tbody> </table> ## Usage<a name="section05763403371"></a> - This command can be used only after the TCP/IP protocol stack is enabled. - Detecting the IP address conflict takes a period of time. Each time you run the **ifconfig** command to set an IP address, there is a delay of about 2 seconds. ## Example<a name="section168802042123717"></a> 1. ifconfig eth0 192.168.100.31 netmask 255.255.255.0 gateway 192.168.100.1 hw ether 00:49:cb:6c:a1:31 2. ifconfig -a 3. ifconfig eth0 inet6 add 2001:a:b:c:d:e:f:d 4. ifconfig eth0 inet6 del 2001:a:b:c:d:e:f:d ## Output<a name="section124638211109"></a> 1. Setting network parameters: ``` OHOS # ifconfig eth0 192.168.100.31 netmask 255.255.255.0 gateway 192.168.100.1 hw ether 00:49:cb:6c:a1:31 OHOS # ifconfig eth0 ip:192.168.100.31 netmask:255.255.255.0 gateway:192.168.100.1 HWaddr 00:49:cb:6c:a1:31 MTU:1500 Running Default Link UP lo ip:127.0.0.1 netmask:255.0.0.0 gateway:127.0.0.1 ip6: ::1/64 HWaddr 00 MTU:0 Running Link UP ``` The following table describes the output parameters. **Table 2** Output description <a name="table2147mcpsimp"></a> <table><thead align="left"><tr id="row2152mcpsimp"><th class="cellrowborder" valign="top" width="50%" id="mcps1.2.3.1.1"><p id="p2154mcpsimp"><a name="p2154mcpsimp"></a><a name="p2154mcpsimp"></a><strong id="b211311219311653"><a name="b211311219311653"></a><a name="b211311219311653"></a>Parameter</strong></p> </th> <th class="cellrowborder" valign="top" width="50%" id="mcps1.2.3.1.2"><p id="p2156mcpsimp"><a name="p2156mcpsimp"></a><a name="p2156mcpsimp"></a><strong id="b336412763515"><a name="b336412763515"></a><a name="b336412763515"></a>Description</strong></p> </th> </tr> </thead> <tbody><tr id="row2157mcpsimp"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.1 "><p id="p2159mcpsimp"><a name="p2159mcpsimp"></a><a name="p2159mcpsimp"></a>ip</p> </td> <td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.2 "><p id="p2161mcpsimp"><a name="p2161mcpsimp"></a><a name="p2161mcpsimp"></a>Indicates the IP address of the board.</p> </td> </tr> <tr id="row2162mcpsimp"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.1 "><p id="p2164mcpsimp"><a name="p2164mcpsimp"></a><a name="p2164mcpsimp"></a>netmask</p> </td> <td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.2 "><p id="p2166mcpsimp"><a name="p2166mcpsimp"></a><a name="p2166mcpsimp"></a>Indicates the subnet mask.</p> </td> </tr> <tr id="row2167mcpsimp"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.1 "><p id="p2169mcpsimp"><a name="p2169mcpsimp"></a><a name="p2169mcpsimp"></a>gateway</p> </td> <td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.2 "><p id="p2171mcpsimp"><a name="p2171mcpsimp"></a><a name="p2171mcpsimp"></a>Indicates the gateway.</p> </td> </tr> <tr id="row2177mcpsimp"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.1 "><p id="p2179mcpsimp"><a name="p2179mcpsimp"></a><a name="p2179mcpsimp"></a>HWaddr</p> </td> <td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.2 "><p id="p2181mcpsimp"><a name="p2181mcpsimp"></a><a name="p2181mcpsimp"></a>Indicates the MAC address of the board.</p> </td> </tr> <tr id="row2182mcpsimp"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.1 "><p id="p2184mcpsimp"><a name="p2184mcpsimp"></a><a name="p2184mcpsimp"></a>MTU</p> </td> <td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.2 "><p id="p2186mcpsimp"><a name="p2186mcpsimp"></a><a name="p2186mcpsimp"></a>Indicates the MTU.</p> </td> </tr> <tr id="row2187mcpsimp"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.1 "><p id="p2189mcpsimp"><a name="p2189mcpsimp"></a><a name="p2189mcpsimp"></a>Running/Stop</p> </td> <td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.2 "><p id="p2191mcpsimp"><a name="p2191mcpsimp"></a><a name="p2191mcpsimp"></a>Indicates whether the NIC is running.</p> </td> </tr> <tr id="row2192mcpsimp"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.1 "><p id="p2194mcpsimp"><a name="p2194mcpsimp"></a><a name="p2194mcpsimp"></a>Default</p> </td> <td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.2 "><p id="p2196mcpsimp"><a name="p2196mcpsimp"></a><a name="p2196mcpsimp"></a>Indicates that the NIC is connected to the default gateway.</p> </td> </tr> <tr id="row2197mcpsimp"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.1 "><p id="p2199mcpsimp"><a name="p2199mcpsimp"></a><a name="p2199mcpsimp"></a>Link UP/Down</p> </td> <td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.2 "><p id="p2201mcpsimp"><a name="p2201mcpsimp"></a><a name="p2201mcpsimp"></a>Indicates the connection status of the NIC.</p> </td> </tr> </tbody> </table> 2. Obtaining protocol stack statistics: ``` OHOS # ifconfig -a RX packets:6922 errors:0 ip dropped:4312 link dropped:67 overrun:0 bytes:0 (0.0 B) RX packets(ip6):3 errors:0 dropped:0 overrun:0 bytes:0 (0.0 B) TX packets:1394 errors:0 link dropped:67 overrun:0 bytes:0(0.0 B) TX packets(ip6):3 errors:0 overrun:0 bytes:0(0.0 B) ``` The following table describes the output parameters. **Table 3** ifconfig -a output description <a name="table2209mcpsimp"></a> <table><thead align="left"><tr id="row2214mcpsimp"><th class="cellrowborder" valign="top" width="28.999999999999996%" id="mcps1.2.3.1.1"><p id="p2216mcpsimp"><a name="p2216mcpsimp"></a><a name="p2216mcpsimp"></a><strong id="b120972048811653"><a name="b120972048811653"></a><a name="b120972048811653"></a>Parameter</strong></p> </th> <th class="cellrowborder" valign="top" width="71%" id="mcps1.2.3.1.2"><p id="p2218mcpsimp"><a name="p2218mcpsimp"></a><a name="p2218mcpsimp"></a><strong id="b8227191303719"><a name="b8227191303719"></a><a name="b8227191303719"></a>Description</strong></p> </th> </tr> </thead> <tbody><tr id="row2219mcpsimp"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.2.3.1.1 "><p id="p2221mcpsimp"><a name="p2221mcpsimp"></a><a name="p2221mcpsimp"></a>RX packets</p> </td> <td class="cellrowborder" valign="top" width="71%" headers="mcps1.2.3.1.2 "><p id="p2223mcpsimp"><a name="p2223mcpsimp"></a><a name="p2223mcpsimp"></a>Indicates the number of normal packets that have been received at the IP layer.</p> </td> </tr> <tr id="row2224mcpsimp"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.2.3.1.1 "><p id="p2226mcpsimp"><a name="p2226mcpsimp"></a><a name="p2226mcpsimp"></a>RX error</p> </td> <td class="cellrowborder" valign="top" width="71%" headers="mcps1.2.3.1.2 "><p id="p2228mcpsimp"><a name="p2228mcpsimp"></a><a name="p2228mcpsimp"></a>Indicates the number of error packets that have been received at the IP layer. The errors include the length, verification, IP option, and IP header protocol errors.</p> </td> </tr> <tr id="row2229mcpsimp"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.2.3.1.1 "><p id="p2231mcpsimp"><a name="p2231mcpsimp"></a><a name="p2231mcpsimp"></a>RX dropped</p> </td> <td class="cellrowborder" valign="top" width="71%" headers="mcps1.2.3.1.2 "><p id="p2233mcpsimp"><a name="p2233mcpsimp"></a><a name="p2233mcpsimp"></a>Indicates the number of packets that have been discarded at the IP layer. Packets may be discarded due to packet errors, packet forwarding failures, and disabled local NICs.</p> </td> </tr> <tr id="row2234mcpsimp"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.2.3.1.1 "><p id="p2236mcpsimp"><a name="p2236mcpsimp"></a><a name="p2236mcpsimp"></a>RX overrun</p> </td> <td class="cellrowborder" valign="top" width="71%" headers="mcps1.2.3.1.2 "><p id="p2238mcpsimp"><a name="p2238mcpsimp"></a><a name="p2238mcpsimp"></a>Indicates the number of packets that the MAC layer fails to deliver to the upper-layer protocol stack. The failure is mainly caused by resource insufficiency at the protocol stack.</p> </td> </tr> <tr id="row2239mcpsimp"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.2.3.1.1 "><p id="p2241mcpsimp"><a name="p2241mcpsimp"></a><a name="p2241mcpsimp"></a>RX bytes</p> </td> <td class="cellrowborder" valign="top" width="71%" headers="mcps1.2.3.1.2 "><p id="p2243mcpsimp"><a name="p2243mcpsimp"></a><a name="p2243mcpsimp"></a>Indicates the total length of normal packets that have been received at the IP layer, excluding the length of the fragments that are not reassembled.</p> </td> </tr> <tr id="row2244mcpsimp"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.2.3.1.1 "><p id="p2246mcpsimp"><a name="p2246mcpsimp"></a><a name="p2246mcpsimp"></a>TX packets</p> </td> <td class="cellrowborder" valign="top" width="71%" headers="mcps1.2.3.1.2 "><p id="p2248mcpsimp"><a name="p2248mcpsimp"></a><a name="p2248mcpsimp"></a>Indicates the number of packets that have been normally sent or forwarded at the IP layer.</p> </td> </tr> <tr id="row2249mcpsimp"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.2.3.1.1 "><p id="p2251mcpsimp"><a name="p2251mcpsimp"></a><a name="p2251mcpsimp"></a>TX error</p> </td> <td class="cellrowborder" valign="top" width="71%" headers="mcps1.2.3.1.2 "><p id="p2253mcpsimp"><a name="p2253mcpsimp"></a><a name="p2253mcpsimp"></a>Indicates the number of packets that the IP layer fails to send. Packets may fail to be sent because the packets cannot be routed or the packets fail to be processed in the protocol stack.</p> </td> </tr> <tr id="row2254mcpsimp"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.2.3.1.1 "><p id="p2256mcpsimp"><a name="p2256mcpsimp"></a><a name="p2256mcpsimp"></a>TX dropped</p> </td> <td class="cellrowborder" valign="top" width="71%" headers="mcps1.2.3.1.2 "><p id="p2258mcpsimp"><a name="p2258mcpsimp"></a><a name="p2258mcpsimp"></a>Indicates the number of packets that the MAC layer discards due to sending failures, for example, the NIC driver fails to process the packets.</p> </td> </tr> <tr id="row2259mcpsimp"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.2.3.1.1 "><p id="p2261mcpsimp"><a name="p2261mcpsimp"></a><a name="p2261mcpsimp"></a>TX overrun</p> </td> <td class="cellrowborder" valign="top" width="71%" headers="mcps1.2.3.1.2 "><p id="p2263mcpsimp"><a name="p2263mcpsimp"></a><a name="p2263mcpsimp"></a>Reserved.</p> </td> </tr> <tr id="row2264mcpsimp"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.2.3.1.1 "><p id="p2266mcpsimp"><a name="p2266mcpsimp"></a><a name="p2266mcpsimp"></a>TX bytes</p> </td> <td class="cellrowborder" valign="top" width="71%" headers="mcps1.2.3.1.2 "><p id="p2268mcpsimp"><a name="p2268mcpsimp"></a><a name="p2268mcpsimp"></a>Indicates the total length of the packets that the IP layer has successfully sent or forwarded.</p> </td> </tr> </tbody> </table> 3. Setting the IPv6 address information: ``` OHOS # ifconfig eth0 inet6 add 2001:a:b:c:d:e:f:d OHOS # ifconfig eth1 ip:192.168.3.60 netmask:255.255.255.0 gateway:0.0.0.0 HWaddr 00:0e:c6:a8:5a:c2 MTU:1500 Running Link UP eth0 ip:192.168.2.60 netmask:255.255.255.0 gateway:0.0.0.0 ip6: 2001:A:B:C:D:E:F:D/64 HWaddr 46:44:02:02:03:03 MTU:1500 Running Link UP lo ip:127.0.0.1 netmask:255.0.0.0 gateway:127.0.0.1 ip6: ::1/64 HWaddr 00 MTU:16436 Running Link UP ``` 4. Deleting the IPv6 address information: ``` OHOS # ifconfig eth0 inet6 del 2001:a:b:c:d:e:f:d OHOS # ifconfig eth1 ip:192.168.3.60 netmask:255.255.255.0 gateway:0.0.0.0 HWaddr 00:0e:c6:a8:5a:c2 MTU:1500 Running Link UP eth0 ip:192.168.2.60 netmask:255.255.255.0 gateway:0.0.0.0 HWaddr 46:44:02:02:03:03 MTU:1500 Running Link UP lo ip:127.0.0.1 netmask:255.0.0.0 gateway:127.0.0.1 ip6: ::1/64 HWaddr 00 MTU:16436 Running Link UP ```
72.297468
451
0.669877
yue_Hant
0.21225
4b4147f9d21c424bf65d1d9cf65651765ec5c63b
972
md
Markdown
README.md
joaquimserafim/tv-enable
2d96fae75cbb650f33ffc275c5834e493d73e4d4
[ "0BSD" ]
null
null
null
README.md
joaquimserafim/tv-enable
2d96fae75cbb650f33ffc275c5834e493d73e4d4
[ "0BSD" ]
null
null
null
README.md
joaquimserafim/tv-enable
2d96fae75cbb650f33ffc275c5834e493d73e4d4
[ "0BSD" ]
null
null
null
# tv-enable register TV plugin with all dependencies <a href="https://nodei.co/npm/tv-enable/"><img src="https://nodei.co/npm/tv-enable.png?downloads=true"></a> [![Build Status](https://travis-ci.org/joaquimserafim/tv-enable.png?branch=master)](https://travis-ci.org/joaquimserafim/tv-enable) ## API **tvEnable(hapi server object, [tv options - js object,] callback(*error* object))** ## Usage ```js var Hapi = require('hapi') var tvEnable = require('tv-enable') ... var server = new Hapi.Server() ... tvEnable(server, function(err) {}) ``` ## Development **this projet has been set up with a precommit that forces you to follow a code style, no jshint issues and 100% of code coverage before commit** to run test ``` js npm test ``` to run jshint ``` js npm run jshint ``` to run code style ``` js npm run code-style ``` to check code coverage ``` js npm run check-coverage ``` to open the code coverage report ``` js npm run coverage ```
16.2
145
0.680041
eng_Latn
0.536329
4b418740af6bc4cb480625c516da1ec85a2b0dda
50
md
Markdown
_includes/05-emphasis.md
harshvardhan-rajpurohit/markdown-portfolio
cf0301bbad8a6ae2714eb7b4da4907f1c6832e86
[ "MIT" ]
null
null
null
_includes/05-emphasis.md
harshvardhan-rajpurohit/markdown-portfolio
cf0301bbad8a6ae2714eb7b4da4907f1c6832e86
[ "MIT" ]
8
2020-01-16T07:35:08.000Z
2020-01-17T10:06:38.000Z
_includes/05-emphasis.md
harshvardhan-rajpurohit/markdown-portfolio
cf0301bbad8a6ae2714eb7b4da4907f1c6832e86
[ "MIT" ]
null
null
null
**May the force be with you** ~~This is the way~~
16.666667
29
0.64
eng_Latn
0.999997
4b42787f7da84a7db568146fd7f7485f1a3f3408
788
md
Markdown
translations/pt-BR/content/admin/enterprise-management/configuring-high-availability.md
legranchionew/docs
38c70aae74e415a4f3ce1ddc884b42ebf73e1e6d
[ "CC-BY-4.0", "MIT" ]
7
2021-05-02T08:02:35.000Z
2021-06-10T08:33:30.000Z
translations/pt-BR/content/admin/enterprise-management/configuring-high-availability.md
Anando12/docs
5d9c8304456158e7e0dee8bb8a373eca308a2351
[ "CC-BY-4.0", "MIT" ]
222
2021-04-08T20:13:34.000Z
2022-03-18T22:37:27.000Z
translations/pt-BR/content/admin/enterprise-management/configuring-high-availability.md
Anando12/docs
5d9c8304456158e7e0dee8bb8a373eca308a2351
[ "CC-BY-4.0", "MIT" ]
2
2021-05-21T01:41:05.000Z
2021-05-21T01:41:24.000Z
--- title: Configurar alta disponibilidade redirect_from: - /enterprise/admin/installation/configuring-github-enterprise-server-for-high-availability - /enterprise/admin/guides/installation/high-availability-cluster-configuration/ - /enterprise/admin/guides/installation/high-availability-configuration/ - /enterprise/admin/guides/installation/configuring-github-enterprise-for-high-availability/ - /enterprise/admin/enterprise-management/configuring-high-availability intro: 'O {% data variables.product.prodname_ghe_server %} dá suporte ao modo de alta disponibilidade da operação visando minimizar o tempo de inatividade do serviço em caso de falha de hardware ou interrupção prolongada da rede.' mapTopic: true versions: enterprise-server: '*' topics: - enterprise ---
46.352941
230
0.808376
por_Latn
0.472976
4b42a7c3d11b9941dbdf370fc144012bc8a63637
2,542
md
Markdown
zapier/README.md
etienneburdet/ods-cookbook
37b16e304e6c70ab0fd5a32eab2803598a266047
[ "MIT" ]
20
2015-08-19T23:36:43.000Z
2022-01-12T19:16:36.000Z
zapier/README.md
gennaweber/ods-cookbook
45a49ba041c6869ce8fd838e6de1cc69b9d8c84a
[ "MIT" ]
3
2015-12-15T08:17:26.000Z
2020-03-28T00:43:56.000Z
zapier/README.md
gennaweber/ods-cookbook
45a49ba041c6869ce8fd838e6de1cc69b9d8c84a
[ "MIT" ]
5
2015-11-28T14:59:50.000Z
2022-01-07T17:17:13.000Z
# Zapier integration ! Zapier is a web-based service that allows end users to integrate the web applications they use. As any OpenDataSoft end-user or customer, you'll then be able to directly connect OpenDataSoft API to Zapier workflow to generate alerts or action based on your favorite data. Here is a list of some possible use cases : - Getting an alert* when a new dataset is published on your favorite OpenData portal. - Getting an alert* when a real time dataset hasn't seen it's data updated since more than 15 minutes - Getting an alert* when a new record match your research in your favorite dataset *Alerts are the end of Zapier workflow to send a message through any kind of communication tool like Slack, Yammer, E-mail, SMS etc... ## Simple mode : Zapier WebHook - Retrieve poll The concept is very simple, Zapier will poll an URL and look for new entries. As any OpenDataSoft datasets or catalogs, APIs are available to list all the entries (ie records or datasets). Zapier is then able to poll the API, and for each new entry, trigger an action. The requirements are : - having an API -> simple with OpenDataSoft ! - having a sort field : the query must return new entries first ! - having a unique identifier to let Zapier know if it's really new or not If you fulfill all these requirements let's go ! - [Alert me if new datasets are publish for a specific search or a specific theme !](./new-dataset-alert.md) - [Alert me if there is a new record matching my criteria !](./new-record-alert.md) ## Advanced mode : python code ! Zapier allows any user to execute javascript or python code directly on Zapier platform ! Any user is free to then develop their own triggers or actions. We will then see how to have advanced triggers in python, checking the API, getting the data, processing it, and returning objects to be pushed to Zapier actions. The requirements are : - having a API also obviously -> still not a problem with OpenDataSoft - being able to use the API and it's parameters with ease - having some basic development skills to understand what's happening - having a deep look at [Zapier python code documentation](https://zapier.com/help/code-python/) If you fulfill, more or less, these requirements, let's pursue ! - [Alert me when my dataset is no longer updated (ie the processing date didn't change since more than 15 minutes)](./zapier-monitor-data-processed.md) - [Alert me when value changes on a specific record or on several records](./zapier-monitor-field-value.md)
49.843137
226
0.765539
eng_Latn
0.998574
4b437e9593872533555efb318283629de8cbb723
4,320
md
Markdown
README.md
sgruda/multiStore
61a4941fce4624e6b96cbbd973798fe1ed4cb602
[ "MIT" ]
1
2021-07-06T16:24:41.000Z
2021-07-06T16:24:41.000Z
README.md
sgruda/multiStore
61a4941fce4624e6b96cbbd973798fe1ed4cb602
[ "MIT" ]
null
null
null
README.md
sgruda/multiStore
61a4941fce4624e6b96cbbd973798fe1ed4cb602
[ "MIT" ]
null
null
null
# MultiStore > Information system integrated with account models of various social networking services (Used systems are Google and Facebook). The main aim of system is supporting of internet bookstore. It was achieved by implementing transactional processing. ## Table of contents * [Screenshots](#screenshots) * [Technologies](#technologies) * [Setup](#setup) * [Status](#status) ## Screenshots ![Example screenshot - sign in](./img/signIn.png) ![Example screenshot - main page](./img/main.png) ## Technologies * Java - jdk-15.0.1 * Spring modules (version 2.4.2): * Spring Boot * Spring Security * Spring Data * Spring Mail * Hibernate - version 5.4.18.FINAL * PostgreSQL - version 13.0 * ReactJS - version 16.13.1 * Docker - version 19.03.13 * TravisCI * Google Cloud SQL * Google Cloud Run ## Setup Running system is very easy. After editing files: *app/backend/src/main/resources/application.yml*, *app/frontend/src/config/config.js* or *travis.yml* (second file should be edited only if you want to use TravisCI) use commands `docker-compose build` and `docker-compose up`. ## Code Examples Example of class, used in integrating system with social media accounts is presented below. Moreover worth mentioning is configurating transactions and retrying of transactions. ```java @Log @Service @Retryable( maxAttempts = 5, backoff = @Backoff(delay = 10000), exclude = {AppBaseException.class} ) @Transactional( isolation = Isolation.READ_COMMITTED, propagation = Propagation.REQUIRES_NEW, transactionManager = "mokTransactionManager", timeout = 5, rollbackFor = {OptimisticLockAppException.class} ) public class OAuth2ServiceImpl implements OAuth2Service { private AccountRepository accountRepository; private AccessLevelRepository accessLevelRepository; @Autowired public OAuth2ServiceImpl(AccountRepository accountRepository, AccessLevelRepository accessLevelRepository) { this.accountRepository = accountRepository; this.accessLevelRepository = accessLevelRepository; } @Override public AccountEntity registerAccountOAuth2(String registrationId, OAuth2User oAuth2User) { OAuth2UserInfo oAuth2UserInfo = OAuth2UserInfoFactory.getOAuth2UserInfo(registrationId, oAuth2User.getAttributes()); if(StringUtils.isEmpty(oAuth2UserInfo.getEmail())) { throw new OAuth2AuthenticationProcessingException(); } AccountEntity account = new AccountEntity( oAuth2UserInfo.getFirstName(), oAuth2UserInfo.getLastName(), oAuth2UserInfo.getEmail(), AuthProvider.valueOf(registrationId), oAuth2UserInfo.getId(), oAuth2UserInfo.getLanguage() ); AccessLevelEntity clientRole = accessLevelRepository.findByRoleName(RoleName.ROLE_CLIENT) .orElseThrow(() -> new HttpBaseException("User Role not set.")); account.setAccessLevelEntities(Collections.singleton(clientRole)); BasketEntity basketEntity = new BasketEntity(account); account.setBasketEntity(basketEntity); return accountRepository.save(account); } @Override public AccountEntity updateAccountOAuth2(String registrationId, OAuth2User oAuth2User) throws AccountNotExistsException { OAuth2UserInfo oAuth2UserInfo = OAuth2UserInfoFactory.getOAuth2UserInfo(registrationId, oAuth2User.getAttributes()); if(StringUtils.isEmpty(oAuth2UserInfo.getEmail())) { throw new OAuth2AuthenticationProcessingException(); } Optional<AccountEntity> accountOptional = accountRepository.findByEmail(oAuth2UserInfo.getEmail()); AccountEntity existingAccount; if(!accountOptional.isPresent()) throw new AccountNotExistsException(); existingAccount = accountOptional.get(); if (!existingAccount.getProvider().equals(AuthProvider.valueOf(registrationId))) { throw new OAuth2WrongProviderException(); } existingAccount.setFirstName(oAuth2UserInfo.getFirstName()); existingAccount.setLastName(oAuth2UserInfo.getLastName()); return accountRepository.save(existingAccount); } } ``` ## Status Project is: _finished_.
38.571429
276
0.721296
eng_Latn
0.303618
4b44a6501f83401d2af0f96b4997550f91349a34
3,956
md
Markdown
README.md
jcrosskey/metalrec
3fb199d01d82e724e4f3d818466e6682ed9c6cb1
[ "MIT" ]
1
2017-11-05T14:28:29.000Z
2017-11-05T14:28:29.000Z
README.md
jcrosskey/metalrec
3fb199d01d82e724e4f3d818466e6682ed9c6cb1
[ "MIT" ]
null
null
null
README.md
jcrosskey/metalrec
3fb199d01d82e724e4f3d818466e6682ed9c6cb1
[ "MIT" ]
null
null
null
# MetaLREC ## OVERVIEW * MetaLREC is a program designed for correcting metagenomic long reads with high error rates (around 20%), such as PacBio reads, using high accuracy short reads (such as Illumina or CCS reads) from the same sample. * MetaLREC is written in C++ with MPI support, it's recommended now to use MPI instead of running single thread. Later threaded version might be supported. * Before error correction can be performed, mapping results from accurate reads onto the noisy reads needs to be done. We recommend using [BLASR](https://github.com/PacificBiosciences/blasr) for this step. A MPI wrapper to run BLASR in parallel as a preprocessing step for error correction is also included in MetaLREC. ## Current version * Version 1.0.3 ## Setup - System requirement: - The program was tested on Linux and MacOS with GNU compiler. - For MPI support, openMPI needs to be installed. - Dependencies: - samtools is required - BLASR is required for the mpi-wrapper of BLASR - To compile, change directory to MetaLREC/cpp/Debug: - To compile serial version of MetaLREC only: type `make` - To compile MPI version of MetaLREC only: type `make mpi` - To compile both versions of MetaLREC: type `make all` - To compile MPI wrapper for BLASR: type `make mpi_align` - Change your compiler in the corresponding makefiles as needed. ## A more detailed explanation on how to use MetaLREC and the preprocessing steps Suppose we have two datasets, one from Illumina and one from PacBio. * Step 1: Trim, correct, (and merge for tight insert paired end data), remove duplicate and contained reads from Illumina data as one would do for assembly preparation. A sample protocol can be found [here](https://bitbucket.org/omicsbio/omega2). * Step 2: For the PacBio data, filter out the short reads (e.g. < 1000bps) which won't contribute much to improving assembly results. * Step 3: - If your data set is really big you might want to split the Illumina reads and PacBio reads into smaller chunks, so that the mapping can be done on these chunks simutaneously. It's better to split the PacBio data set if possible. If the Illumina data set is really big, it's also fine to split them too. After splitting is done, save the split results for Illumina and PacBio reads into two different folders IlluminaDir, and PacbioDir, go to step 4. - Otherwise simply use BLASR (or your preferred mapping tools that can accommadate indels and high error rate) to map the Illumina reads to PacBio reads and go to step 5. - BAM files need to be sorted and indexed before being used as input to MetaLREC. Full read sequence with soft clip is required, as well as CIGAR string and NM tag in the alignment result. ```shell blasr -noRefineAlign -advanceHalf -noSplitSubreads -minMatch 10 \ -sdpTupleSize 7 -minPctIdentity 70 -bestn 10 \ -sam -clipping soft -header \ $Illumina_reads $Pacbio_reads -out $samfile # This is an exmaple to use 40 threads and 1.5G for each thread to convert sam file to bam file samtools view -F 4 -bT ${ref} -@ 40 $samfile | samtools sort -o ${bamfile} -T sorted -@ 40 -m 1500M samtools index ${bamfile} ``` * Step 4: Run BLASR in parallel using the MPI wrapper, a sample align.config is provided in the package. ```shell # In this case, the bam files are automatically generated and sorted mpi_align -np $total_CPU_number -c $align_config -od $out_dir ``` * Step 5: Run error correction, a sample configuration file metalrec.config is provided in the package. Please change the file locations, you can also change the parameter values, though these have been tuned to provide good error correction performance. ```shell mpi_metalrec -od $out_dir -c $ec_config -log ERROR metalrec -od $out_dir -c $ec_config -log ERROR ``` ## Contributor * For questions and suggestions, contact [JJ Crosskey](mailto:crosskey.jj@gmail.com)
59.939394
456
0.748989
eng_Latn
0.994787
4b44e057b1ca0c0864e9bdd570e29addd1263d3b
52
md
Markdown
README.md
kamira721/Portafolio-Personal
51b01347fc9548f0ccea72939d7a2078a6b0188c
[ "Apache-2.0" ]
null
null
null
README.md
kamira721/Portafolio-Personal
51b01347fc9548f0ccea72939d7a2078a6b0188c
[ "Apache-2.0" ]
null
null
null
README.md
kamira721/Portafolio-Personal
51b01347fc9548f0ccea72939d7a2078a6b0188c
[ "Apache-2.0" ]
null
null
null
# Portafolio- https://portafoliokamirav.netlify.app/
26
38
0.807692
deu_Latn
0.106562
4b44f0c2c1e83182f8ee96d547cc6af2656ce8b9
183
md
Markdown
chapter13/README.md
mtrazzi/understanding-rl
83a9b7608c805189a39b4ef81893f6ebe982f9e1
[ "MIT" ]
95
2020-04-26T12:36:07.000Z
2020-05-02T13:23:47.000Z
chapter13/README.md
3outeille/rl-book-challenge
b02595b0aec3e9632ef5d9814e925384931089bd
[ "MIT" ]
2
2020-09-24T20:29:29.000Z
2021-11-27T11:17:45.000Z
chapter13/README.md
3outeille/rl-book-challenge
b02595b0aec3e9632ef5d9814e925384931089bd
[ "MIT" ]
15
2020-04-27T04:10:02.000Z
2020-04-30T21:42:04.000Z
## Figures ### Figure 13.1: ![fig13.1.png](plots/fig13.1.png) ```bash python figures 13.1 ``` ### Figure 13.2: ![fig13.2.png](plots/fig13.2.png) ```bash python figures 13.2 ```
10.166667
33
0.606557
cat_Latn
0.098206
4b4549327348e6037ff971d0f160300900252d80
1,866
md
Markdown
docs/java/intro-java-dev-env.md
nytdc-sast/document
ea3d8b6d66d824760411f05dde078627e3be8875
[ "MIT" ]
3
2021-12-19T10:46:43.000Z
2022-01-01T14:19:44.000Z
docs/java/intro-java-dev-env.md
nytdc-sast/document
ea3d8b6d66d824760411f05dde078627e3be8875
[ "MIT" ]
3
2021-12-11T04:48:57.000Z
2021-12-11T15:21:40.000Z
docs/java/intro-java-dev-env.md
tdsast-unofficial/document
ea3d8b6d66d824760411f05dde078627e3be8875
[ "MIT" ]
null
null
null
# Java 开发环境配置 ## JDK 下载及安装 在正式开发 Java 程序之前,我们必须先安装好 JDK (Java Development Kit,Java 开发工具包), 本文将使用 [Amazon Corretto JDK](https://aws.amazon.com/cn/corretto/) 作为演示, 其他 **Vendor**(供应商) 的 JDK 安装方式也大同小异。 :::tip 通常称提供不同 JDK 实现的厂商称为 **Vender**。 ::: 打开 Corretto JDK 的官网,选择所需要的 Java 版本(这里以 Java 18 为例),进入下载页面。 ![corretto-jdk-1.png](./img/intro-java-dev-env/corretto-jdk-1.png) 根据自己的系统选择相应的版本,下载完成后安装即可。 ![corretto-jdk-2.png](./img/intro-java-dev-env/corretto-jdk-2.png) :::tip 1. 注意,Windows 系统安装时会自动添加 `JAVA_HOME` 和 `PATH` 环境变量,如不想手动设置必须将其选中。 ![corretto-jdk-win-path.png](./img/intro-java-dev-env/corretto-jdk-win-path.png) 2. 事实上,IntelliJ IDEA 也自带有 JDK 下载功能 ![ij-idea-dl-jdk-1.png](./img/intro-java-dev-env/ij-idea-dl-jdk-1.png) ![ij-idea-dl-jdk-2.png](./img/intro-java-dev-env/ij-idea-dl-jdk-2.png) ::: ## JDK 环境变量配置 [如何配置环境变量](../articles/a-how-to-set-system-env-var.md) - 设置 `JAVA_HOME` 环境变量为 Java 安装根目录 如 `C:\Java\jdk18` (Windows 平台) 或 `~/Develop/java/jdk18` (Linux 平台) 或 `~/Develop/java/jdk18/Contents/Home` (macOS 平台) - 在 `PATH` 中加入一条 `%JAVA_HOME%\bin`(Windows平台) 或 `$JAVA_HOME/bin`(Linux / macOS 平台) macOS 可通过 `/usr/libexec/java_home -v 18` 命令来获取 `JAVA_HOME` 路径 ![jdk-macos-home.png](./img/intro-java-dev-env/jdk-macos-home.png) :::tip 1. 在 macOS 系统上安装 Java 后,将会自动创建 `/usr/libexec/java_home` 工具。 2. `java_home` 工具可以使用 `-v [版本号]` 参数来指定需要获取 `JAVA_HOME` 的版本。 ::: ## 安装 IntelliJ IDEA IntelliJ IDEA 可从 <https://www.jetbrains.com/idea/> 获取下载。方便起见,我们常常使用 JetBrains 提供的 [Toolbox](https://www.jetbrains.com/idea/) 来管理 JetBrains 家族各个 IDE 的版本。 安装 Toolbox 后,安装需要的 IDE 即可。 ![toolbox-install-ide.png](./img/intro-java-dev-env/toolbox-install-ide.png) :::tip JetBrains 公司面向大学生提供了学生优惠,可免费使用 JetBrains 旗下所有 IDE 工具。 [JetBrains 免费计划](https://www.jetbrains.com/zh-cn/community/education/#students) [学信网验证码获取](../articles/a-how-to-get-chsi-code.md) :::
27.441176
82
0.707395
yue_Hant
0.851985
4b45c28a4f5daaa1cd2f525e6e7ad28613062649
629
md
Markdown
api/PowerPoint.Shape.PickupAnimation.md
RichardCory/VBA-Docs
1240462311fb77ee051d4e8b7d7a434d7d020dd3
[ "CC-BY-4.0", "MIT" ]
2
2020-03-09T13:24:12.000Z
2020-03-09T16:19:11.000Z
api/PowerPoint.Shape.PickupAnimation.md
MarkFern/VBA-Docs
b84627cc8e24acfd336d1e9761a9ddd58f19d352
[ "CC-BY-4.0", "MIT" ]
null
null
null
api/PowerPoint.Shape.PickupAnimation.md
MarkFern/VBA-Docs
b84627cc8e24acfd336d1e9761a9ddd58f19d352
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- title: Shape.PickupAnimation method (PowerPoint) keywords: vbapp10.chm547090 f1_keywords: - vbapp10.chm547090 ms.prod: powerpoint api_name: - PowerPoint.Shape.PickupAnimation ms.assetid: 21068cec-c9c0-4a50-f318-74a9ff654091 ms.date: 06/08/2017 localization_priority: Normal --- # Shape.PickupAnimation method (PowerPoint) Picks up all animation from the **Shape** object. ## Syntax _expression_. `PickupAnimation` _expression_ A variable that represents a [Shape](./PowerPoint.Shape.md) object. ## See also [Shape Object](PowerPoint.Shape.md) [!include[Support and feedback](~/includes/feedback-boilerplate.md)]
19.65625
81
0.774245
eng_Latn
0.374162
4b46138eed0485c050c752770a4eeed7d110c0ec
1,895
md
Markdown
docs/use-cases/overview.md
agitana/FDC3
10ae43109f901a68e5defabb5e1a6043bdde503b
[ "Apache-2.0" ]
80
2019-12-17T21:57:28.000Z
2022-03-26T20:00:20.000Z
docs/use-cases/overview.md
agitana/FDC3
10ae43109f901a68e5defabb5e1a6043bdde503b
[ "Apache-2.0" ]
343
2019-12-05T08:48:27.000Z
2022-03-31T13:37:59.000Z
docs/use-cases/overview.md
agitana/FDC3
10ae43109f901a68e5defabb5e1a6043bdde503b
[ "Apache-2.0" ]
41
2019-12-18T19:27:36.000Z
2022-03-26T20:00:22.000Z
--- id: overview title: Use Cases Overview hide_title: true sidebar_label: Overview layout: default --- # Use Cases Overview ## Goal Document and ratify business use cases that drive the standards created under the other FDC3 working groups: Intents Working Group, App Directory Working Group, Context Data Working Group, and API Working Group. ## Charter The goal of FDC3 is to create standards for desktop application interoperability in the financial industry. For these standards to be successful we need ensure they satisfy a set of foundational use cases and requirements defined and validated by the program participants. These use cases must represent the interop needs of the 40+ members of FDC3 as a sample of the financial industry as a whole. The remaining working groups Context Data, App Directory, Intents and APIs should use the use cases as the basis for each set of standards. Until this point the existing working groups have focused on the functional requirements for interop standards with specifications based on assumptions of what is required. To ensure that the standards will enable the scalable interop interactions that we want, we need to validate these assumptions. This should not delay the work of the existing working groups, but happen in parallel with the requirements maintained as the program matures. Unlike the other working groups, 'Use Cases' should provide requirements only not solutions. The requirements and use cases defined should not be specific to a handful of products that are represented within the working group, but apply to the workflows present across the financial industry. ![Use Cases diagram](assets/use-cases.png) ## Join us Join our mailing-lists and bi-weekly meetings on WebEx. Check the [Wiki documentation page](https://finosfoundation.atlassian.net/wiki/spaces/FDC3/pages/169738241/Use+Case+Working+Group) for details.
70.185185
538
0.811082
eng_Latn
0.998732
4b463a28359f617c356bd38b4f4f8717a81c656e
92
md
Markdown
DBLearningNote.md
shredstar/learning_notes
7b9e977e6dffaa820ed87faf782dec40d74f1496
[ "Apache-2.0" ]
null
null
null
DBLearningNote.md
shredstar/learning_notes
7b9e977e6dffaa820ed87faf782dec40d74f1496
[ "Apache-2.0" ]
null
null
null
DBLearningNote.md
shredstar/learning_notes
7b9e977e6dffaa820ed87faf782dec40d74f1496
[ "Apache-2.0" ]
null
null
null
# Database eLearning ## Resource [Database eLearning](https://db.grussell.org/index.html)
15.333333
56
0.75
kor_Hang
0.609543
4b469a0652f43e6d86de5fcd9eb8b87f25f045f2
1,408
md
Markdown
content/blog/2006-06-03-saturday-night-bluespec/index.md
SyedMuhammedBilal/Gatsby-Blog-WebApp
77fb4574c73c487d2d98687688cdbc0fca2e9923
[ "MIT" ]
null
null
null
content/blog/2006-06-03-saturday-night-bluespec/index.md
SyedMuhammedBilal/Gatsby-Blog-WebApp
77fb4574c73c487d2d98687688cdbc0fca2e9923
[ "MIT" ]
null
null
null
content/blog/2006-06-03-saturday-night-bluespec/index.md
SyedMuhammedBilal/Gatsby-Blog-WebApp
77fb4574c73c487d2d98687688cdbc0fca2e9923
[ "MIT" ]
null
null
null
--- title: "Saturday Night Blues(pec)" date: "2006-06-03" categories: - "eda" - "startup" --- There was an interesting [article](http://www.eetimes.com/news/design/showArticle.jhtml?articleID=188500009) by one of the guys of BlueSpec, about how the threading model is deficient.  It is a topic often touched upon by [George Harper](http://chipsandbs.blogspot.com/) in several of his [articles](http://chipsandbs.blogspot.com/2006/03/problem-with-threads.html) (and my [comments!](http://chipsandbs.blogspot.com/2006/03/auto-parallelization-of-c-code-is-not.html#c114253336298722265) ) 'Tis but a simple enough approach - Let thy not believe in thy own scheduling. Ask for what you want, and the _**compiler shall provide**_. The problem with this is not the tech - which I wont argue for or against - but rather the value and business proposition of it.  The EDA industry is built on trust (or lack thereof). Design companies have teams which even work on the same problem simultaneously  to cut down on the chance of error.  The problem is in trusting the tool to generate good glue/scheduling logic. Apart from the obvious need for a system level sequential verification tool (which I wont harp upon ), there is the obvious problem on selling this proposition.  I do hope they have good FAEs!! del.icio.us Tags: [eda](http://del.icio.us/sss8ue/eda) [startup](http://del.icio.us/sss8ue/startup)
64
305
0.761364
eng_Latn
0.990996
4b46df59bb24b714f7b09f6ed08925287abdbf68
2,755
markdown
Markdown
_posts/2017-09-21-reactnative native invoke.markdown
wf96390/wf96390.github.io
189986e275ab4d16ae87f526edbd7fbb97406cea
[ "Apache-2.0" ]
null
null
null
_posts/2017-09-21-reactnative native invoke.markdown
wf96390/wf96390.github.io
189986e275ab4d16ae87f526edbd7fbb97406cea
[ "Apache-2.0" ]
null
null
null
_posts/2017-09-21-reactnative native invoke.markdown
wf96390/wf96390.github.io
189986e275ab4d16ae87f526edbd7fbb97406cea
[ "Apache-2.0" ]
null
null
null
--- layout: post title: React Native和iOS原生方法交互 author: 慢慢 tags: ReactNative iOS subtitle: category: blog --- # 原生传递参数给React Native ## 初始化时传值 ``` - (instancetype)initWithBundleURL:(NSURL *)bundleURL moduleName:(NSString *)moduleName initialProperties:(NSDictionary *)initialProperties launchOptions:(NSDictionary *)launchOptions; ``` 通过初始化方法中的 initialProperties 可以给 RCTRootView 传值 ## appProperties传值 同上面的方法类似,只是不是在初始化时传值,在设置 appProperties 之后,React Native应用将会根据新的属性重新渲染。当然,只有在新属性和之前的属性有区别时更新才会被触发。 ``` /** * The properties to apply to the view. Use this property to update * application properties and rerender the view. Initialized with * initialProperties argument of the initializer. * * Set this property only on the main thread. */ @property (nonatomic, copy, readwrite) NSDictionary *appProperties; ``` > 传递的参数为OC的字典类型,在js中可以通过属性值.props访问字典的key,就可以取到参数值 # React Native执行原生方法 Native端: 1. 首先需要调用的原生方法需要实现 `RCTBridgeModule` 协议 2. 类实现中需要添加 `RCT_EXPORT_MODULE()` 的宏 3. 通过 `RCT_EXPORT_METHOD()`宏 来实现需要导出 javascript 的方法 ``` @implementation YFTestObject RCT_EXPORT_MODULE(); RCT_EXPORT_METHOD(doSomethingCallback:(NSString *)string callback:(RCTResponseSenderBlock)callback) { NSLog(@"%@",string); callback(@[[NSNull null] ,@[@"test1", @"test2"]]); // 第一个error,第二个回调参数 } @end ``` JS端: 1. 需要引用 `NativeModules` 模块 2. 通过 `NativeModules.xxx` 获取 Native 的类,xxx为Native的类名 3. 上一步获取到的 Native 类,调用 Native 中导出的方法 ``` render() { return ( <View style={styles.container}> <TouchableHighlight onPress={()=>testObject.doSomethingCallback('点击按钮(回调)', (error,events)=>{ if (error) { console.error(error); } else { console.log(events); } })}> <Text style={styles.welcome}>点击(回调)</Text> </TouchableHighlight> </View> ); } ``` > 如果需要Natvie方法回调,需要将导出的方法增加`RCTResponseSenderBlock`类型的参数,该参数则为方法的回调方法 # 原生调用React Native方法 之前可以使用`sendAppEventWithName:body:`方法,但是已经废弃了。在0.28版本之后,iOS 向 JS 端发射消息的代码如下。 1. 自定义的模块类头文件要继承自`RCTEventEmitter`。(因为 React 需要调用该类,所以也需要实现 `RCTBridgeModule` 协议) 2. 在 Native 方法中发送消息 ``` [self sendEventWithName:@"MessageName" body:params]; ``` 3. 在 React 方法中监听消息(需要在 `componentWillUnmount` 中移除监听) ``` var nativeBridge = NativeModules.YourClassName;// 你的类名 const nativeModule = new NativeEventEmitter(nativeBridge); ... componentDidMount(){ nativeModule.addListener('MessageName',(data)=>this._method(data)); } ``` 简单的Demo:https://github.com/wf96390/YFReactNativeDemo 参考: http://www.cnblogs.com/wujy/p/5864591.html http://blog.csdn.net/xiangzhihong8/article/details/75092576
23.151261
101
0.690018
yue_Hant
0.774416
4b4750dbe32998f28c10b8935f12faa2aa7635d3
1,958
md
Markdown
README.md
thealexhong/companion
28e5a89864395eb7a33a57f3bff1068e217b6263
[ "Apache-2.0" ]
1
2015-03-26T17:50:00.000Z
2015-03-26T17:50:00.000Z
README.md
thealexhong/companion
28e5a89864395eb7a33a57f3bff1068e217b6263
[ "Apache-2.0" ]
null
null
null
README.md
thealexhong/companion
28e5a89864395eb7a33a57f3bff1068e217b6263
[ "Apache-2.0" ]
null
null
null
#Robot Security Created by: [Alex Hong](http://thealexhong.github.io) and [Wayne Chang](https://www.linkedin.com/pub/wayne-wei-hao-chang/24/b45/881) ###Your own personal robot is here to serve and protect you! An assistive robot developed using Android hardware and SDK. The app connects to a LEGO Mindstorm EV3 Brick as the mobile base of the robot via Bluetooth, and another smart phone as the face of the robot via Wifi Direct. The robot has her own personality and can interact socially with facial affects to the user. The user is required to have a LEGO EV3 Mindstorm set, and 2 smart phones running Android 4.2 or higher. The project was inspired by my first start-up: [Robot Playtime](http://robotplaytime.com). Here's our [Presentation](https://thealexhong.github.io/companion)! <center>[![YouTube Video](http://img.youtube.com/vi/O370MXJDkwE/0.jpg)](https://www.youtube.com/watch?v=O370MXJDkwE)</center> ##Controller Preview <img src="https://github.com/thealexhong/companion/blob/master/Screenshots/home.png" alt="home" height="350px"> <img src="https://github.com/thealexhong/companion/blob/master/Screenshots/controller.png" alt="controller" height="350px"> <img src="https://github.com/thealexhong/companion/blob/master/Screenshots/superhero.png" alt="superhero" height="350px"> ##Robot Companion Preview <img src="https://github.com/thealexhong/companion/blob/master/RobotSecurity/app/src/main/res/drawable/deedee_like.png" alt="like" width="225px"> <img src="https://github.com/thealexhong/companion/blob/master/RobotSecurity/app/src/main/res/drawable/deedee_right.png" alt="right" width="225px"> <img src="https://github.com/thealexhong/companion/blob/master/RobotSecurity/app/src/main/res/drawable/deedee_angry.png" alt="angry" width="225px"> ##Next: Autonomous Following in progress [![YouTube Video](http://img.youtube.com/vi/j0LHZ7SE1L4/0.jpg)](http://www.youtube.com/watch?v=j0LHZ7SE1L4) &copy; Alex Hong & Wayne Chang 2015
61.1875
313
0.774259
eng_Latn
0.493473
4b480f46b0bb87613161253e54c7c24751c836cf
90
md
Markdown
_featured_tags/class-vision.md
HelenJeong/happyLily.github.io
40697f6270bd18a5c843f54190fc5b47d5e982cb
[ "MIT" ]
null
null
null
_featured_tags/class-vision.md
HelenJeong/happyLily.github.io
40697f6270bd18a5c843f54190fc5b47d5e982cb
[ "MIT" ]
null
null
null
_featured_tags/class-vision.md
HelenJeong/happyLily.github.io
40697f6270bd18a5c843f54190fc5b47d5e982cb
[ "MIT" ]
null
null
null
--- layout: tag-blog title: ENGLISH slug: vision category: class menu: false order: 2 ---
10
16
0.7
eng_Latn
0.481528
4b48607a2a9d49e17b274aaf1425e687a42c2d0e
9,257
md
Markdown
archives/2022-04-18.md
liurenjie520/toutiao-hot-hub
46d9d2602b98ed204bda21cd3042dd69895df0fa
[ "MIT" ]
null
null
null
archives/2022-04-18.md
liurenjie520/toutiao-hot-hub
46d9d2602b98ed204bda21cd3042dd69895df0fa
[ "MIT" ]
null
null
null
archives/2022-04-18.md
liurenjie520/toutiao-hot-hub
46d9d2602b98ed204bda21cd3042dd69895df0fa
[ "MIT" ]
null
null
null
# 头条热榜 `最后更新时间:2022-04-18 23:15:00 +0800` 1. [俄乌在马里乌波尔陷入对峙](https://so.toutiao.com/search?keyword=%E4%BF%84%E4%B9%8C%E5%9C%A8%E9%A9%AC%E9%87%8C%E4%B9%8C%E6%B3%A2%E5%B0%94%E9%99%B7%E5%85%A5%E5%AF%B9%E5%B3%99) 1. [俄乌争亚速钢铁厂:有6层深地下设施](https://so.toutiao.com/search?keyword=%E4%BF%84%E4%B9%8C%E4%BA%89%E4%BA%9A%E9%80%9F%E9%92%A2%E9%93%81%E5%8E%82%EF%BC%9A%E6%9C%896%E5%B1%82%E6%B7%B1%E5%9C%B0%E4%B8%8B%E8%AE%BE%E6%96%BD) 1. [一季度中国经济开局总体平稳](https://so.toutiao.com/search?keyword=%E4%B8%80%E5%AD%A3%E5%BA%A6%E4%B8%AD%E5%9B%BD%E7%BB%8F%E6%B5%8E%E5%BC%80%E5%B1%80%E6%80%BB%E4%BD%93%E5%B9%B3%E7%A8%B3) 1. [“莫斯科”号受损照片曝光](https://so.toutiao.com/search?keyword=%E2%80%9C%E8%8E%AB%E6%96%AF%E7%A7%91%E2%80%9D%E5%8F%B7%E5%8F%97%E6%8D%9F%E7%85%A7%E7%89%87%E6%9B%9D%E5%85%89) 1. [谷歌地图开放俄战略要地卫星图像](https://so.toutiao.com/search?keyword=%E8%B0%B7%E6%AD%8C%E5%9C%B0%E5%9B%BE%E5%BC%80%E6%94%BE%E4%BF%84%E6%88%98%E7%95%A5%E8%A6%81%E5%9C%B0%E5%8D%AB%E6%98%9F%E5%9B%BE%E5%83%8F) 1. [航拍郑州某游泳馆坍塌现场](https://so.toutiao.com/search?keyword=%E8%88%AA%E6%8B%8D%E9%83%91%E5%B7%9E%E6%9F%90%E6%B8%B8%E6%B3%B3%E9%A6%86%E5%9D%8D%E5%A1%8C%E7%8E%B0%E5%9C%BA) 1. [官方回应辽宁援沪蔬菜被扔垃圾桶](https://so.toutiao.com/search?keyword=%E5%AE%98%E6%96%B9%E5%9B%9E%E5%BA%94%E8%BE%BD%E5%AE%81%E6%8F%B4%E6%B2%AA%E8%94%AC%E8%8F%9C%E8%A2%AB%E6%89%94%E5%9E%83%E5%9C%BE%E6%A1%B6) 1. [郑州一游泳馆坍塌 3死9伤](https://so.toutiao.com/search?keyword=%E9%83%91%E5%B7%9E%E4%B8%80%E6%B8%B8%E6%B3%B3%E9%A6%86%E5%9D%8D%E5%A1%8C%203%E6%AD%BB9%E4%BC%A4) 1. [广州队0-8川崎 破最大比分输球纪录](https://so.toutiao.com/search?keyword=%E5%B9%BF%E5%B7%9E%E9%98%9F0-8%E5%B7%9D%E5%B4%8E%20%E7%A0%B4%E6%9C%80%E5%A4%A7%E6%AF%94%E5%88%86%E8%BE%93%E7%90%83%E7%BA%AA%E5%BD%95) 1. [招商银行行长田惠宇另有任用](https://so.toutiao.com/search?keyword=%E6%8B%9B%E5%95%86%E9%93%B6%E8%A1%8C%E8%A1%8C%E9%95%BF%E7%94%B0%E6%83%A0%E5%AE%87%E5%8F%A6%E6%9C%89%E4%BB%BB%E7%94%A8) 1. [揭秘乌克兰军事堡垒亚速钢铁厂](https://so.toutiao.com/search?keyword=%E6%8F%AD%E7%A7%98%E4%B9%8C%E5%85%8B%E5%85%B0%E5%86%9B%E4%BA%8B%E5%A0%A1%E5%9E%92%E4%BA%9A%E9%80%9F%E9%92%A2%E9%93%81%E5%8E%82) 1. [乌士兵拍到自己被炸瞬间](https://so.toutiao.com/search?keyword=%E4%B9%8C%E5%A3%AB%E5%85%B5%E6%8B%8D%E5%88%B0%E8%87%AA%E5%B7%B1%E8%A2%AB%E7%82%B8%E7%9E%AC%E9%97%B4) 1. [刘畊宏的健身操为何能爆火](https://so.toutiao.com/search?keyword=%E5%88%98%E7%95%8A%E5%AE%8F%E7%9A%84%E5%81%A5%E8%BA%AB%E6%93%8D%E4%B8%BA%E4%BD%95%E8%83%BD%E7%88%86%E7%81%AB) 1. [当前中国经济十问:物价会否大幅上涨](https://so.toutiao.com/search?keyword=%E5%BD%93%E5%89%8D%E4%B8%AD%E5%9B%BD%E7%BB%8F%E6%B5%8E%E5%8D%81%E9%97%AE%EF%BC%9A%E7%89%A9%E4%BB%B7%E4%BC%9A%E5%90%A6%E5%A4%A7%E5%B9%85%E4%B8%8A%E6%B6%A8) 1. [以卢布支付天然气国家信息或被保密](https://so.toutiao.com/search?keyword=%E4%BB%A5%E5%8D%A2%E5%B8%83%E6%94%AF%E4%BB%98%E5%A4%A9%E7%84%B6%E6%B0%94%E5%9B%BD%E5%AE%B6%E4%BF%A1%E6%81%AF%E6%88%96%E8%A2%AB%E4%BF%9D%E5%AF%86) 1. [中国藏家在巴黎拍得乾隆玉玺](https://so.toutiao.com/search?keyword=%E4%B8%AD%E5%9B%BD%E8%97%8F%E5%AE%B6%E5%9C%A8%E5%B7%B4%E9%BB%8E%E6%8B%8D%E5%BE%97%E4%B9%BE%E9%9A%86%E7%8E%89%E7%8E%BA) 1. [学术论文库 知网为什么做到了最大](https://so.toutiao.com/search?keyword=%E5%AD%A6%E6%9C%AF%E8%AE%BA%E6%96%87%E5%BA%93%20%E7%9F%A5%E7%BD%91%E4%B8%BA%E4%BB%80%E4%B9%88%E5%81%9A%E5%88%B0%E4%BA%86%E6%9C%80%E5%A4%A7) 1. [乌海军陆战队旅长被击杀画面曝光](https://so.toutiao.com/search?keyword=%E4%B9%8C%E6%B5%B7%E5%86%9B%E9%99%86%E6%88%98%E9%98%9F%E6%97%85%E9%95%BF%E8%A2%AB%E5%87%BB%E6%9D%80%E7%94%BB%E9%9D%A2%E6%9B%9D%E5%85%89) 1. [美媒炒作解放军4艘大驱逼退美航母](https://so.toutiao.com/search?keyword=%E7%BE%8E%E5%AA%92%E7%82%92%E4%BD%9C%E8%A7%A3%E6%94%BE%E5%86%9B4%E8%89%98%E5%A4%A7%E9%A9%B1%E9%80%BC%E9%80%80%E7%BE%8E%E8%88%AA%E6%AF%8D) 1. [马里乌波尔为何成俄乌必争之地](https://so.toutiao.com/search?keyword=%E9%A9%AC%E9%87%8C%E4%B9%8C%E6%B3%A2%E5%B0%94%E4%B8%BA%E4%BD%95%E6%88%90%E4%BF%84%E4%B9%8C%E5%BF%85%E4%BA%89%E4%B9%8B%E5%9C%B0) 1. [土耳其宣布打击伊拉克库尔德工人党](https://so.toutiao.com/search?keyword=%E5%9C%9F%E8%80%B3%E5%85%B6%E5%AE%A3%E5%B8%83%E6%89%93%E5%87%BB%E4%BC%8A%E6%8B%89%E5%85%8B%E5%BA%93%E5%B0%94%E5%BE%B7%E5%B7%A5%E4%BA%BA%E5%85%9A) 1. [俄方:马里乌波尔400雇佣兵被包围](https://so.toutiao.com/search?keyword=%E4%BF%84%E6%96%B9%EF%BC%9A%E9%A9%AC%E9%87%8C%E4%B9%8C%E6%B3%A2%E5%B0%94400%E9%9B%87%E4%BD%A3%E5%85%B5%E8%A2%AB%E5%8C%85%E5%9B%B4) 1. [余承东:进入汽车行业目标是第一](https://so.toutiao.com/search?keyword=%E4%BD%99%E6%89%BF%E4%B8%9C%EF%BC%9A%E8%BF%9B%E5%85%A5%E6%B1%BD%E8%BD%A6%E8%A1%8C%E4%B8%9A%E7%9B%AE%E6%A0%87%E6%98%AF%E7%AC%AC%E4%B8%80) 1. [普京签署“俄概股退市令”引轰动](https://so.toutiao.com/search?keyword=%E6%99%AE%E4%BA%AC%E7%AD%BE%E7%BD%B2%E2%80%9C%E4%BF%84%E6%A6%82%E8%82%A1%E9%80%80%E5%B8%82%E4%BB%A4%E2%80%9D%E5%BC%95%E8%BD%B0%E5%8A%A8) 1. [中国小伙31岁踢进德国足球联赛](https://so.toutiao.com/search?keyword=%E4%B8%AD%E5%9B%BD%E5%B0%8F%E4%BC%9931%E5%B2%81%E8%B8%A2%E8%BF%9B%E5%BE%B7%E5%9B%BD%E8%B6%B3%E7%90%83%E8%81%94%E8%B5%9B) 1. [已有12国加入俄建立的支付系统](https://so.toutiao.com/search?keyword=%E5%B7%B2%E6%9C%8912%E5%9B%BD%E5%8A%A0%E5%85%A5%E4%BF%84%E5%BB%BA%E7%AB%8B%E7%9A%84%E6%94%AF%E4%BB%98%E7%B3%BB%E7%BB%9F) 1. [外交部:望巴以冲突各方保持克制](https://so.toutiao.com/search?keyword=%E5%A4%96%E4%BA%A4%E9%83%A8%EF%BC%9A%E6%9C%9B%E5%B7%B4%E4%BB%A5%E5%86%B2%E7%AA%81%E5%90%84%E6%96%B9%E4%BF%9D%E6%8C%81%E5%85%8B%E5%88%B6) 1. [本周日要上班](https://so.toutiao.com/search?keyword=%E6%9C%AC%E5%91%A8%E6%97%A5%E8%A6%81%E4%B8%8A%E7%8F%AD) 1. [上海15家急诊11家打不通?院方回应](https://so.toutiao.com/search?keyword=%E4%B8%8A%E6%B5%B715%E5%AE%B6%E6%80%A5%E8%AF%8A11%E5%AE%B6%E6%89%93%E4%B8%8D%E9%80%9A%EF%BC%9F%E9%99%A2%E6%96%B9%E5%9B%9E%E5%BA%94) 1. [俄罗斯富豪出手 试图重启俄乌谈判](https://so.toutiao.com/search?keyword=%E4%BF%84%E7%BD%97%E6%96%AF%E5%AF%8C%E8%B1%AA%E5%87%BA%E6%89%8B%20%E8%AF%95%E5%9B%BE%E9%87%8D%E5%90%AF%E4%BF%84%E4%B9%8C%E8%B0%88%E5%88%A4) 1. [上海回应感染者所在楼栋消杀不及时](https://so.toutiao.com/search?keyword=%E4%B8%8A%E6%B5%B7%E5%9B%9E%E5%BA%94%E6%84%9F%E6%9F%93%E8%80%85%E6%89%80%E5%9C%A8%E6%A5%BC%E6%A0%8B%E6%B6%88%E6%9D%80%E4%B8%8D%E5%8F%8A%E6%97%B6) 1. [中交地产股价上演“天地板”](https://so.toutiao.com/search?keyword=%E4%B8%AD%E4%BA%A4%E5%9C%B0%E4%BA%A7%E8%82%A1%E4%BB%B7%E4%B8%8A%E6%BC%94%E2%80%9C%E5%A4%A9%E5%9C%B0%E6%9D%BF%E2%80%9D) 1. [俄军证实第4位俄高级将领在乌阵亡](https://so.toutiao.com/search?keyword=%E4%BF%84%E5%86%9B%E8%AF%81%E5%AE%9E%E7%AC%AC4%E4%BD%8D%E4%BF%84%E9%AB%98%E7%BA%A7%E5%B0%86%E9%A2%86%E5%9C%A8%E4%B9%8C%E9%98%B5%E4%BA%A1) 1. [俄媒:乌要求G7提供500亿美元援助](https://so.toutiao.com/search?keyword=%E4%BF%84%E5%AA%92%EF%BC%9A%E4%B9%8C%E8%A6%81%E6%B1%82G7%E6%8F%90%E4%BE%9B500%E4%BA%BF%E7%BE%8E%E5%85%83%E6%8F%B4%E5%8A%A9) 1. [英国民众支持对俄制裁意愿大跌](https://so.toutiao.com/search?keyword=%E8%8B%B1%E5%9B%BD%E6%B0%91%E4%BC%97%E6%94%AF%E6%8C%81%E5%AF%B9%E4%BF%84%E5%88%B6%E8%A3%81%E6%84%8F%E6%84%BF%E5%A4%A7%E8%B7%8C) 1. [原来鸡也是恐龙的后裔](https://so.toutiao.com/search?keyword=%E5%8E%9F%E6%9D%A5%E9%B8%A1%E4%B9%9F%E6%98%AF%E6%81%90%E9%BE%99%E7%9A%84%E5%90%8E%E8%A3%94) 1. [航拍马里乌波尔钢铁厂:黑烟滚滚](https://so.toutiao.com/search?keyword=%E8%88%AA%E6%8B%8D%E9%A9%AC%E9%87%8C%E4%B9%8C%E6%B3%A2%E5%B0%94%E9%92%A2%E9%93%81%E5%8E%82%EF%BC%9A%E9%BB%91%E7%83%9F%E6%BB%9A%E6%BB%9A) 1. [俄媒称乌军难以对付图-22M3轰炸机](https://so.toutiao.com/search?keyword=%E4%BF%84%E5%AA%92%E7%A7%B0%E4%B9%8C%E5%86%9B%E9%9A%BE%E4%BB%A5%E5%AF%B9%E4%BB%98%E5%9B%BE-22M3%E8%BD%B0%E7%82%B8%E6%9C%BA) 1. [广州队长杨鑫:亚冠比赛节奏非常快](https://so.toutiao.com/search?keyword=%E5%B9%BF%E5%B7%9E%E9%98%9F%E9%95%BF%E6%9D%A8%E9%91%AB%EF%BC%9A%E4%BA%9A%E5%86%A0%E6%AF%94%E8%B5%9B%E8%8A%82%E5%A5%8F%E9%9D%9E%E5%B8%B8%E5%BF%AB) 1. [统计局回应疫情对经济影响](https://so.toutiao.com/search?keyword=%E7%BB%9F%E8%AE%A1%E5%B1%80%E5%9B%9E%E5%BA%94%E7%96%AB%E6%83%85%E5%AF%B9%E7%BB%8F%E6%B5%8E%E5%BD%B1%E5%93%8D) 1. [校长克扣学生伙食费给自己发补贴](https://so.toutiao.com/search?keyword=%E6%A0%A1%E9%95%BF%E5%85%8B%E6%89%A3%E5%AD%A6%E7%94%9F%E4%BC%99%E9%A3%9F%E8%B4%B9%E7%BB%99%E8%87%AA%E5%B7%B1%E5%8F%91%E8%A1%A5%E8%B4%B4) 1. [五一你更喜欢调休还是只休三天](https://so.toutiao.com/search?keyword=%E4%BA%94%E4%B8%80%E4%BD%A0%E6%9B%B4%E5%96%9C%E6%AC%A2%E8%B0%83%E4%BC%91%E8%BF%98%E6%98%AF%E5%8F%AA%E4%BC%91%E4%B8%89%E5%A4%A9) 1. [上海严查哄抬价格行为](https://so.toutiao.com/search?keyword=%E4%B8%8A%E6%B5%B7%E4%B8%A5%E6%9F%A5%E5%93%84%E6%8A%AC%E4%BB%B7%E6%A0%BC%E8%A1%8C%E4%B8%BA) 1. [台军辟谣将扩宽太平岛基地跑道](https://so.toutiao.com/search?keyword=%E5%8F%B0%E5%86%9B%E8%BE%9F%E8%B0%A3%E5%B0%86%E6%89%A9%E5%AE%BD%E5%A4%AA%E5%B9%B3%E5%B2%9B%E5%9F%BA%E5%9C%B0%E8%B7%91%E9%81%93) 1. [上海骑手代购6桶泡面20个鸡蛋要900](https://so.toutiao.com/search?keyword=%E4%B8%8A%E6%B5%B7%E9%AA%91%E6%89%8B%E4%BB%A3%E8%B4%AD6%E6%A1%B6%E6%B3%A1%E9%9D%A220%E4%B8%AA%E9%B8%A1%E8%9B%8B%E8%A6%81900) 1. [男子被醉酒陌生女孩强吻](https://so.toutiao.com/search?keyword=%E7%94%B7%E5%AD%90%E8%A2%AB%E9%86%89%E9%85%92%E9%99%8C%E7%94%9F%E5%A5%B3%E5%AD%A9%E5%BC%BA%E5%90%BB) 1. [国家统计局谈国内统一大市场](https://so.toutiao.com/search?keyword=%E5%9B%BD%E5%AE%B6%E7%BB%9F%E8%AE%A1%E5%B1%80%E8%B0%88%E5%9B%BD%E5%86%85%E7%BB%9F%E4%B8%80%E5%A4%A7%E5%B8%82%E5%9C%BA) 1. [佘诗曼曝曾为拍《宫心计》默写台词](https://so.toutiao.com/search?keyword=%E4%BD%98%E8%AF%97%E6%9B%BC%E6%9B%9D%E6%9B%BE%E4%B8%BA%E6%8B%8D%E3%80%8A%E5%AE%AB%E5%BF%83%E8%AE%A1%E3%80%8B%E9%BB%98%E5%86%99%E5%8F%B0%E8%AF%8D) 1. [上海近三日疫情:浦东松江持续下降](https://so.toutiao.com/search?keyword=%E4%B8%8A%E6%B5%B7%E8%BF%91%E4%B8%89%E6%97%A5%E7%96%AB%E6%83%85%EF%BC%9A%E6%B5%A6%E4%B8%9C%E6%9D%BE%E6%B1%9F%E6%8C%81%E7%BB%AD%E4%B8%8B%E9%99%8D) 1. [武契奇首次展示中国FK3防空系统](https://so.toutiao.com/search?keyword=%E6%AD%A6%E5%A5%91%E5%A5%87%E9%A6%96%E6%AC%A1%E5%B1%95%E7%A4%BA%E4%B8%AD%E5%9B%BDFK3%E9%98%B2%E7%A9%BA%E7%B3%BB%E7%BB%9F)
165.303571
215
0.692881
yue_Hant
0.23277
4b48811c3f770b7a1a9d1f5c9aade2fa622b1339
26,499
md
Markdown
README.md
BazzaCipher/node-alienfx
c8dc747122a7f2bc4ca21b9d1ee380eea27fb9c2
[ "MIT" ]
null
null
null
README.md
BazzaCipher/node-alienfx
c8dc747122a7f2bc4ca21b9d1ee380eea27fb9c2
[ "MIT" ]
null
null
null
README.md
BazzaCipher/node-alienfx
c8dc747122a7f2bc4ca21b9d1ee380eea27fb9c2
[ "MIT" ]
null
null
null
![node-alienfx](https://cloud.githubusercontent.com/assets/2787454/4907947/d318e4e8-6465-11e4-8ab1-8e3ccb914d69.png) node-alienfx ============ [Node.js][Node] native extension for Dell [AlienFX][AlienFX] API. This module offers bindings for AlienFX API provided by AlienFX.dll. The main design goal of this project is to keep JavaScript bindings close to their native counterparts as much as possible. It allows line-by-line porting of existing AlienFX enabled apps to [Node.js][Node]. Provided APIs feels bit alien to JavaScript so high-level wrapper around `node-alienfx` is comming soon. Stay tuned. Installation ------------ First of all make sure that AlienFX.dll is installed on your system, the easiest way to do so - install Alienware Command Center. NPM package is comming soon... Compatibility ------------- **Operating Systems**: Windows **Node**: 4.4.5 (32 bit, unfortunatelly there is a bug in 64-bit version of LightFX.dll that prevents AlienFX from initializing correctly) Currently we are bound to operating systems that AlienFX.dll can run on. Strictly speaking it is possible to bypass [AlienFX][AlienFX] API and talk directly to the underlaying hardware, which requires us to send byte arrays to USB HID device. This will allow to support wider range of operating systems, but it is significantly harder to implement and what's more important, all of the device differences have to be handled. Awesome libraries implemented this way exist [pyalienfx][pyalienfx]. Please let me know if you really interested to see this module working on Linux. Example ------- ### Async ```javascript var alienfx = require('alienfx'); alienfx.initialize(function (err, data) { alienfx.reset(); var position = alienfx.Position.ALL; var color = alienfx.Color.GREEN | alienfx.Brightness.FULL; alienfx.light(position, color); alienfx.update(); alienfx.release(); }); ``` ### Sync ```javascript var alienfx = require('alienfx'); alienfx.initializeSync(); alienfx.reset(); var position = alienfx.Position.ALL; var color = alienfx.Color.GREEN | alienfx.Brightness.FULL; alienfx.light(position, color); alienfx.update(); alienfx.releaseSync(); ``` More samples can be found in samples folder. It contains line-by-line ported apps from [AlienFX][AlienFX] SDK. Build & Test ----- Install [node-gyp]: ```javascript npm install -g node-gyp ``` Build: ```javascript node-gyp configure node-gyp build ``` Test: ```javascript npm test ``` Debugging --------- In order to debug extension in Visual Studio, open ```build/Release/binding.sln``` go to ```Project Property Settings -> Debugging``` and put following settings: | Property | Value | | ----------------- |------------------------------------------------------| | Command | node.exe | | Command Arguments | ./tests/all.js | | Working Directory | $(ProjectDir)..\ | This will allow to run unit tests with Visual Studio native debugger attached every time you hit F5. API Reference --- - [Functions & Properties](#functions-&-properties) - [isAvailable -> Boolean](#isavailable---boolean) - [initialize([callback]) -> Undefined](#initializecallback---undefined) - [initializeSync() -> Number](#initializesync---number) - [release([callback]) -> Undefined](#releasecallback---undefined) - [releaseSync() -> Number](#releasesync---number) - [getVersion([callback]) -> Undefined](#getversioncallback---undefined) - [getVersionSync(*out* version) -> Number](#getversionsyncout-version---number) - [reset() -> Number](#reset---number) - [update() -> Number](#update---number) - [updateDefault() -> Number](#updatedefault---number) - [light(position, color) -> Number](#lightposition-color---number) - [actionColor(position, action, color) -> Number](#actioncolorposition-action-color---number) - [actionColorEx(position, action, primaryColor, secondaryColor) -> Number](#actioncolorexposition-action-primarycolor-secondarycolor---number) - [getNumDevices([callback]) -> Undefined](#getnumdevicescallback---undefined) - [getNumDevicesSync(*out* numberOfDevices) -> Number](#getnumdevicessyncout-numberofdevices---number) - [getDeviceDescription(deviceIndex[, callback]) -> Undefined](#getdevicedescriptiondeviceindex-callback---undefined) - [getDeviceDescriptionSync(deviceIndex, *out* deviceDescription) -> Number](#getdevicedescriptionsyncdeviceindex-out-devicedescription---number) - [getNumLights(deviceIndex[, callback]) -> Undefined](#getnumlightsdeviceindex-callback---undefined) - [getNumLightsSync(deviceIndex, *out* numberOfLights) -> Undefined](#getnumlightssyncdeviceindex-out-numberoflights---undefined) - [getLightDescription(deviceIndex, lightIndex[, callback]) -> Undefined](#getlightdescriptiondeviceindex-lightindex-callback---undefined) - [getLightDescriptionSync(deviceIndex, lightIndex, *out* lightDescription) -> Undefined](#getlightdescriptionsyncdeviceindex-lightindex-out-lightdescription---undefined) - [getLightLocation(deviceIndex, lightIndex[, callback]) -> Undefined](#getlightlocationdeviceindex-lightindex-callback---undefined) - [getLightLocationSync(deviceIndex, lightIndex, *out* lightLocation) -> Undefined](#getlightlocationsyncdeviceindex-lightindex-out-lightlocation---undefined) - [getLightColor(deviceIndex, lightIndex[, callback]) -> Undefined](#getlightcolordeviceindex-lightindex-callback---undefined) - [getLightColorSync(deviceIndex, lightIndex, *out* lightColor) -> Number](#getlightcolorsyncdeviceindex-lightindex-out-lightcolor---number) - [setLightColor(deviceIndex, lightIndex, color) -> Number](#setlightcolordeviceindex-lightindex-color---number) - [setLightActionColor(deviceIndex, lightIndex, action, color) -> Number](#setlightactioncolordeviceindex-lightindex-action-color---number) - [setLightActionColorEx(deviceIndex, lightIndex, action, primaryColor, secondaryColor) -> Number](#setlightactioncolorexdeviceindex-lightindex-action-primarycolor-secondarycolor---number) - [setTiming(timing) -> Number](#settimingtiming---number) - [Data Structures](#data-structures) - [Result](#result) - [Color](#color) - [Brightness](#brightness) - [DeviceType](#devicetype) - [Position](#position) - [Action](#action) ### Functions & Properties #### isAvailable -> Boolean *Description*: Indicates whether AlienFX.dll is found. If its not, all other functions will fail. ```javascript var alienfx = require('alienfx'); alienfx.isAvailable; // Boolean ``` #### initialize([callback]) -> Undefined *Description*: Initializes Alineware AlienFX system. It must be called prior to other library calls made. If this function is not called, the system will not be initialized and the other library functions will return ```Result.NOINIT``` or ```Result.FAILURE```. *Behavior*: Non-blocking. ```javascript var alienfx = require('alienfx'); alienfx.initialize(function (err, data) { data.result; // Status code }); ``` #### initializeSync() -> Number *Description*: Synchronously initializes Alineware AlienFX system. It must be called prior to other library calls made. If this function is not called, the system will not be initialized and the other library functions will return ```Result.NOINIT``` or ```Result.FAILURE```. *Behavior*: Blocking. ```javascript var alienfx = require('alienfx'); var result = alienfx.initializeSync(); result; // Status code ``` #### release([callback]) -> Undefined *Description*: Releases Alienware AlienFX system. It may be called when the system is no longer needed. An application may choose to release the system and reinitialize it again, in response to a device arrival notification. Doing so will account for new devices added while the application is running. *Behavior*: Non-blocking. ```javascript var alienfx = require('alienfx'); alienfx.initialize(function (err, data) { alienfx.release(function (err, data) { data.result; // Status code }); }); ``` #### releaseSync() -> Number *Description*: Synchronously releases Alienware AlienFX system. It may be called when the system is no longer needed. An application may choose to release the system and reinitialize it again, in response to a device arrival notification. Doing so will account for new devices added while the application is running. *Behavior*: Blocking. ```javascript var alienfx = require('alienfx'); alienfx.initialize(function (err, data) { var result = alienfx.releaseSync(); result; // Status code }); ``` #### getVersion([callback]) -> Undefined *Description*: Gets version of AlienFX SDK installed. *Behavior*: Non-blocking. ```javascript var alienfx = require('alienfx'); alienfx.initialize(function (err, data) { alienfx.getVersion(function (err, data) { data.version; // String data.result; // Status code alienfx.release(); }); }); ``` #### getVersionSync(*out* version) -> Number *Description*: Gets version of AlienFX SDK installed in ```version``` argument and status code as return value. *Behavior*: Blocking. ```javascript var alienfx = require('alienfx'); alienfx.initialize(function (err, data) { var out = {}; var result; result = alienfx.getVersionSync(out); result; // Status code out.version; // String alienfx.release(); }); ``` #### reset() -> Number *Description*: Sets all lights in the Alienware AlienFX system to their "off" or uncolored state. Note that the change to the physical lights do not occur immediately. These changes occur only after a call to ```update```. For example, to disable all lights, call ```reset``` followed by ```update```. *Behavior*: Non-blocking. ```javascript var alienfx = require('alienfx'); alienfx.initialize(function (err, data) { var result = alienfx.reset(); alienfx.release(); result; // Status code }); ``` #### update() -> Number *Description*: Updates the Alienware AlienFX system by submitting any state changes (since the last call to ```reset```) to hardware. *Behavior*: Non-blocking. ```javascript var alienfx = require('alienfx'); alienfx.initialize(function (err, data) { alienfx.reset(); var result = alienfx.update(); alienfx.release(); result; // Status code }); ``` #### updateDefault() -> Number *Description*: Updates the Alienware AlienFX system by submitting any state changes (since the last call to ```reset```) to hardware, as well as setting the appropriate flags to enable the updated state to be the new power-on default. **Important Note**: as of now, this function has no effect. Heads up for future updates. *Behavior*: Non-blocking. ```javascript var alienfx = require('alienfx'); alienfx.initialize(function (err, data) { alienfx.reset(); var result = alienfx.updateDefault(); alienfx.release(); result; // Status code }); ``` #### light(position, color) -> Number *Description*: Submits a light command into the command queue, which sets the current color of any lights within the provided location mask to the provided color setting. Similar to ```setLightColor```, settings are changed in the active state and must be submitted with a call to ```update```. Location mask is a 32-bit field, where each of the first 27 bits represents a zone in the virtual cube representing the system. Color is packed into a 32-bit value as ARGB, with the alpha value corresponding to brightness. *Behavior*: Non-blocking. ```javascript var alienfx = require('alienfx'); alienfx.initialize(function (err, data) { alienfx.reset(); var position = alienfx.Position.ALL; var color = alienfx.Color.GREEN | alienfx.Brightness.FULL; var result = alienfx.light(position, color); result; // Status code alienfx.update(); alienfx.release(); }); ``` #### actionColor(position, action, color) -> Number *Description*: Sets the primary color and an action type for any devices with lights in a location. This function changes the current primary color and action type stored in the active state since the last ```reset``` call. It does NOT immediately update the physical light settings, until a call to ```update``` is made. If the action type is a morph, then the secondary color for the action is black. *Behavior*: Non-blocking. ```javascript var alienfx = require('alienfx'); alienfx.initialize(function (err, data) { alienfx.reset(); var position = alienfx.Position.ALL; var action = alienfx.Action.MORPH; var color = alienfx.Color.GREEN | alienfx.Brightness.FULL; alienfx.actionColor(position, action, color); alienfx.update(); alienfx.release(); }); ``` #### actionColorEx(position, action, primaryColor, secondaryColor) -> Number *Description*: Sets the primary and secondary color and an action type for any devices with lights in a location. It does NOT immediately update the physical light settings, until a call to ```update``` is made. If the action type is not a morph, then the secondary color is ignored. *Behavior*: Non-blocking. ```javascript var alienfx = require('alienfx'); alienfx.initialize(function (err, data) { alienfx.reset(); var position = alienfx.Position.ALL; var action = alienfx.Action.MORPH; var primaryColor = alienfx.Color.GREEN | alienfx.Brightness.FULL; var secondaryColor = alienfx.Color.RED | alienfx.Brightness.FULL; alienfx.actionColorEx(position, action, primaryColor, secondaryColor); alienfx.update(); alienfx.release(); }); ``` #### getNumDevices([callback]) -> Undefined *Description*: Gets the number of Alienware AlienFX devices attached to the system. *Behavior*: Non-blocking. ```javascript var alienfx = require('alienfx'); alienfx.initialize(function (err, data) { alienfx.getNumDevices(function (err, data) { data.result; // Status code data.numberOfDevices; // Number alienfx.release(); }); }); ``` #### getNumDevicesSync(*out* numberOfDevices) -> Number *Description*: Synchronously gets the number of Alienware AlienFX devices attached to the system. *Behavior*: Blocking. ```javascript var alienfx = require('alienfx'); alienfx.initialize(function (err, data) { var out = {}; var result; result = alienfx.getNumDevicesSync(out); result; // Status code out.numberOfDevices; // Number alienfx.release(); }); ``` #### getDeviceDescription(deviceIndex[, callback]) -> Undefined *Description*: Gets the description and type of a device attached to the system. *Behavior*: Non-blocking. ```javascript var alienfx = require('alienfx'); alienfx.initialize(function (err, data) { alienfx.getDeviceDescription(0, function (err, data) { data.result; // Status code data.model; // String data.type; // Number alienfx.release(); }); }); ``` #### getDeviceDescriptionSync(deviceIndex, *out* deviceDescription) -> Number *Description*: Synchronously gets the description and type of a device attached to the system. *Behavior*: Blocking. ```javascript alienfx.initialize(function (err, data) { var out = {}; var result; result = alienfx.getDeviceDescriptionSync(0, out); result; // Status code out.model; // String out.type; // Number alienfx.release(); }); ``` #### getNumLights(deviceIndex[, callback]) -> Undefined *Description*: Gets the number of Alienware AlienFX lights attached to a device in the system. *Behavior*: Non-blocking. ```javascript alienfx.initialize(function (err, data) { alienfx.getNumLights(0, function (err, data) { data.result; // Status code data.numberOfLights; // Number alienfx.release(); }); }); ``` #### getNumLightsSync(deviceIndex, *out* numberOfLights) -> Undefined *Description*: Synchronously gets the number of Alienware AlienFX lights attached to a device in the system. *Behavior*: Blocking. ```javascript alienfx.initialize(function (err, data) { var out = {}; var result; result = alienfx.getNumLightsSync(0, out); result; // Status code out.numberOfLights; // Number alienfx.release(); }); ``` #### getLightDescription(deviceIndex, lightIndex[, callback]) -> Undefined *Description*: Gets the description of a light attached to the system. *Behavior*: Non-blocking. ```javascript alienfx.initialize(function (err, data) { alienfx.getLightDescription(0, 0, function (err, data) { data.result; // Status code data.lightDescription; // String alienfx.release(); }); }); ``` #### getLightDescriptionSync(deviceIndex, lightIndex, *out* lightDescription) -> Undefined *Description*: Synchronously gets the description of a light attached to the system. *Behavior*: Blocking. ```javascript alienfx.initialize(function (err, data) { var out = {}; var result; result = alienfx.getLightDescriptionSync(0, 0, out); result; // Status code out.lightDescription; // String alienfx.release(); }); ``` #### getLightLocation(deviceIndex, lightIndex[, callback]) -> Undefined *Description*: Gets the location of a light attached to the system. *Behavior*: Non-blocking. ```javascript alienfx.initialize(function (err, data) { alienfx.getLightLocation(0, 0, function (err, data) { data.result; // Status code data.lightLocation.x; // Number data.lightLocation.y; // Number data.lightLocation.z; // Number alienfx.release(); }); }); ``` #### getLightLocationSync(deviceIndex, lightIndex, *out* lightLocation) -> Undefined *Description*: Synchronously gets the location of a light attached to the system. *Behavior*: Blocking. ```javascript alienfx.initialize(function (err, data) { var out = {}; var result; result = alienfx.getLightLocationSync(0, 0, out); result; // Status code out.lightLocation.x; // Number out.lightLocation.y; // Number out.lightLocation.z; // Number alienfx.release(); }); ``` #### getLightColor(deviceIndex, lightIndex[, callback]) -> Undefined *Description*: Gets the color of a light attached to the system. This function provides the current color stored in the active state. It does not necessarily represent the color of the physical light. To ensure that the returned value represents the state of the physical light, call this function immediately after a call to ```update``` and before the next call to ```reset```. Also note that some hardware has limitations such as index color, which preclude obtaining the exact RGB representation. *Behavior*: Non-blocking ```javascript alienfx.initialize(function (err, data) { alienfx.getLightColor(0, 0, function (err, data) { data.result; // Status code data.lightColor.red; // Number data.lightColor.green; // Number data.lightColor.blue; // Number data.lightColor.brightness; // Number alienfx.release(); }); }); ``` #### getLightColorSync(deviceIndex, lightIndex, *out* lightColor) -> Number *Description*: Synchronously gets the color of a light attached to the system. This function provides the current color stored in the active state. It does not necessarily represent the color of the physical light. To ensure that the returned value represents the state of the physical light, call this function immediately after a call to ```update``` and before the next call to ```reset```. Also note that some hardware has limitations such as index color, which preclude obtaining the exact RGB representation. *Behavior*: Blocking ```javascript alienfx.initialize(function (err, data) { var out = {}; var result; result = alienfx.getLightColorSync(0, 0, out); result; // Status code out.lightColor.red; // Number out.lightColor.green; // Number out.lightColor.blue; // Number out.lightColor.brightness; // Number alienfx.release(); }); ``` #### setLightColor(deviceIndex, lightIndex, color) -> Number *Description*: Submits a light command into the command queue, which sets the current color of a light to the provided color value. This function changes the current color stored in active state since the last reset. It does not immediately update the physical light settings, instead requiring a call to ```update```. *Behavior*: Non-blocking. ```javascript alienfx.initialize(function (err, data) { alienfx.reset(); var color = { red: 0xFF, green: 0x00, blue: 0x00, brightness: 0xFF }; var result = alienfx.setLightColor(0, 0, color); result; // Status code alienfx.update(); alienfx.release(); }); ``` #### setLightActionColor(deviceIndex, lightIndex, action, color) -> Number *Description*: Sets the primary color and an action type of a light. This function changes the current color and action type stored in the active state since the last ```reset``` call. It does NOT immediately update the physical light settings, until a call to ```update``` is made. If the action type is a morph, then the secondary color for the action is black. *Behavior*: Non-blocking. ```javascript alienfx.initialize(function (err, data) { alienfx.reset(); var color = { red: 0xFF, green: 0x00, blue: 0x00, brightness: 0xFF }; var action = alienfx.Action.MORPH; var result = alienfx.setLightActionColor(0, 0, action, color); result; // Status code alienfx.update(); alienfx.release(); }); ``` #### setLightActionColorEx(deviceIndex, lightIndex, action, primaryColor, secondaryColor) -> Number *Description*: Sets the primary and secondary colors and an action type of a light. This function changes the current color and action type stored in the active state since the last ```reset``` call. It does NOT immediately update the physical light settings, until a call to ```update``` is made. If the action type is a morph, then the secondary color for the action is black. *Behavior*: Non-blocking. ```javascript alienfx.initialize(function (err, data) { alienfx.reset(); var primaryColor = { red: 0xFF, green: 0x00, blue: 0x00, brightness: 0xFF }; var secondaryColor = { red: 0x00, green: 0xFF, blue: 0x00, brightness: 0xFF }; var action = alienfx.Action.MORPH; var result = alienfx.setLightActionColorEx(0, 0, action, primaryColor, secondaryColor); result; // Status code alienfx.update(); alienfx.release(); }); ``` #### setTiming(timing) -> Number *Description*: Sets the tempo for actions. This function changes the current tempo or timing to be used for the next actions. It does NOT immediately update the physical light settings, until a call to ```update``` is made. *Behavior*: Non-blocking. ```javascript alienfx.initialize(function (err, data) { alienfx.reset(); var result = alienfx.setTiming(200); result; // Status code alienfx.update(); alienfx.release(); }); ``` ### Data Structures #### Result *Description*: Represents status code of an operation. *Type*: Number *Predefined values*: ```javascript alienfx.Result.SUCCESS alienfx.Result.FAILURE alienfx.Result.NOINIT alienfx.Result.NODEVS alienfx.Result.NOLIGHTS alienfx.Result.BUFFSIZE ``` #### Color *Description*: 32-bit value as ARGB, with the alpha value corresponding to brightness. *Type*: Number *Predefined values*: ```javascript alienfx.Color.OFF alienfx.Color.BLACK alienfx.Color.RED alienfx.Color.GREEN alienfx.Color.BLUE alienfx.Color.WHITE alienfx.Color.YELLOW alienfx.Color.ORANGE alienfx.Color.PINK alienfx.Color.CYAN ``` #### Brightness *Description*: 32-bit value represents brightness of a light. Actual brightness is encoded in 4-th byte of a value. *Type*: Number *Predefined values*: ```javascript alienfx.Color.FULL alienfx.Color.HALF alienfx.Color.MIN ``` #### DeviceType *Description*: Represents type of AlienFX device. *Type*: Number. *Predefined values*: ```javascript alienfx.DeviceType.UNKNOWN alienfx.DeviceType.NOTEBOOK alienfx.DeviceType.DESKTOP alienfx.DeviceType.SERVER alienfx.DeviceType.DISPLAY alienfx.DeviceType.MOUSE alienfx.DeviceType.KEYBOARD alienfx.DeviceType.GAMEPAD alienfx.DeviceType.SPEAKER alienfx.DeviceType.OTHER ``` #### Position *Description*: Represents position of a light. *Type*: Number *Predefined values*: ```javascript // Near Z-plane light definitions alienfx.Position.FRONT_LOWER_LEFT alienfx.Position.FRONT_LOWER_CENTER alienfx.Position.FRONT_LOWER_RIGHT alienfx.Position.FRONT_MIDDLE_LEFT alienfx.Position.FRONT_MIDDLE_CENTER alienfx.Position.FRONT_MIDDLE_RIGHT alienfx.Position.FRONT_UPPER_LEFT alienfx.Position.FRONT_UPPER_CENTER alienfx.Position.FRONT_UPPER_RIGHT // Mid Z-plane light definitions alienfx.Position.MIDDLE_LOWER_LEFT alienfx.Position.MIDDLE_LOWER_CENTER alienfx.Position.MIDDLE_LOWER_RIGHT alienfx.Position.MIDDLE_MIDDLE_LEFT alienfx.Position.MIDDLE_MIDDLE_CENTER alienfx.Position.MIDDLE_MIDDLE_RIGHT alienfx.Position.MIDDLE_UPPER_LEFT alienfx.Position.MIDDLE_UPPER_CENTER alienfx.Position.MIDDLE_UPPER_RIGHT // Far Z-plane light definitions alienfx.Position.REAR_LOWER_LEFT alienfx.Position.REAR_LOWER_CENTER alienfx.Position.REAR_LOWER_RIGHT alienfx.Position.REAR_MIDDLE_LEFT alienfx.Position.REAR_MIDDLE_CENTER alienfx.Position.REAR_MIDDLE_RIGHT alienfx.Position.REAR_UPPER_LEFT alienfx.Position.REAR_UPPER_CENTER alienfx.Position.REAR_UPPER_RIGHT // Combination bit masks alienfx.Position.ALL alienfx.Position.ALL_RIGHT alienfx.Position.ALL_LEFT alienfx.Position.ALL_UPPER alienfx.Position.ALL_LOWER alienfx.Position.ALL_FRONT alienfx.Position.ALL_REAR ``` #### Action *Description*: Represents type of an action that can be applied to a light. *Type*: Number *Predefined values*: ```javascript alienfx.Action.MORPH alienfx.Action.PULSE alienfx.Action.COLOR ``` [Node]: http://nodejs.org [AlienFX]: http://www.alienware.com/landings/alienfx/ [pyalienfx]: https://code.google.com/p/pyalienfx/ [node-gyp]: https://github.com/TooTallNate/node-gyp
29.313053
575
0.708555
eng_Latn
0.746015
4b491fa7a3b79897568c64fc60851f292bc66605
152
md
Markdown
README.md
neyu/excel_tool
6f511ea3de8d1a3ef4a61b0ef5d51ac809d4d5b7
[ "MIT" ]
null
null
null
README.md
neyu/excel_tool
6f511ea3de8d1a3ef4a61b0ef5d51ac809d4d5b7
[ "MIT" ]
null
null
null
README.md
neyu/excel_tool
6f511ea3de8d1a3ef4a61b0ef5d51ac809d4d5b7
[ "MIT" ]
null
null
null
# excel tool # classify files by ext name #### Description 1. golang excel 工具,基于https://github.com/360EntSecGroup-Skylar/excelize 2. 分类文件夹中的文件,按扩展名归类
19
70
0.763158
eng_Latn
0.536096
4b4a20cc24e7029565e553277e85a5beaf482d0d
5,570
md
Markdown
README.md
james-callahan/aosp-build
0619d837c199fcbc77dc5dea48736ba4cc5c61ac
[ "MIT" ]
null
null
null
README.md
james-callahan/aosp-build
0619d837c199fcbc77dc5dea48736ba4cc5c61ac
[ "MIT" ]
null
null
null
README.md
james-callahan/aosp-build
0619d837c199fcbc77dc5dea48736ba4cc5c61ac
[ "MIT" ]
null
null
null
# AOSP Build # <http://github.com/hashbang/aosp-build> ## About ## A build system for AOSP and AOSP-based ROMs that allows for easy customization, and automation while optimizing for reproducible builds. By default this repo will build latest vanilla AOSP as a baseline, which also serves as the baseline E2E test. Any third party rom project need only include their own customized version of the Makefile and config.yml from this repo, along with any desired patches. ## Support ## Please join us on IRC: ircs://irc.hashbang.sh/#!os ## Features ## ### Current * 100% Open Source and auditable * Except for mandatory vendor blobs hash verified from Google Servers * Automated build system: * Completely run inside Docker for portability * Customize builds from central config file. * Automatically pin hashes from upstreams for reproducibility * Automated patching/inclusion of upstream Android Sources ## Devices ## | Device | Codename | Tested | Verifiable | Secure Boot | Download | |-------------|:----------:|:------:|:----------:|:-----------:|:--------:| | Pixel 3a XL | Bonito | FALSE | FALSE | AVB 2.0 | Soon™ | | Pixel 3a | Sargo | TRUE | FALSE | AVB 2.0 | Soon™ | | Pixel 3 XL | Crosshatch | TRUE | FALSE | AVB 2.0 | Soon™ | | Pixel 3 | Blueline | FALSE | FALSE | AVB 2.0 | Soon™ | | Pixel 2 XL | Taimen | TRUE | FALSE | AVB 1.0 | Soon™ | | Pixel 2 | Walleye | FALSE | FALSE | AVB 1.0 | Soon™ | ## Install ## ### Requirements ### * [Android Developer Tools][4] [4]: https://developer.android.com/studio/releases/platform-tools ### Connect 1. Go to "Settings > About Phone" 2. Tap "Build number" 7 times. 3. Go to "Settings > System > Advanced > Developer options" 4. Enable "USB Debugging" 5. Connect to device to laptop via short USB C cable 6. Hit "OK" on "Allow USB Debugging?" prompt on device if present. 7. Verify ADB connectivity ``` adb devices ``` Note: Should return something like: "7CKY1QD3F device" ### Flash 1. Extract ``` unzip crosshatch-PQ1A.181205.006-factory-1947dcec.zip cd crosshatch-PQ1A.181205.006 ``` 2. [Connect](#Connect) 3. Go to "Settings > System > Advanced > Developer options" 4. Enable "OEM Unlocking" 5. Unlock the bootloader via ADB ``` adb reboot bootloader fastboot flashing unlock ``` Note: You must manually accept prompt on device. 6. Flash new factory images ``` ./flash-all.sh ``` ### Harden 1. [Connect](#Connect) 2. Lock the bootloader ``` adb reboot bootloader fastboot flashing lock ``` 3. Go to "Settings > About Phone" 4. Tap "Build number" 7 times. 5. Go to "Settings > System > Advanced > Developer options" 6. Disable "OEM unlocking" 7. Reboot 8. Verify boot message: "Your device is loading a different operating system" 9. Go to "Settings > System > Advanced > Developer options" 10. Verify "OEM unlocking" is still disabled #### Notes * Failure to run these hardening steps means -anyone- can flash your device. * Past this point if signing keys are lost, all devices are bricked. Backup! ### Update ### 1. Go to "Settings > System > Developer options" and enable "USB Debugging" 2. Reboot to recovery ``` adb reboot recovery ``` 3. Select "Apply Update from ADB" 4. Apply Update ``` adb sideload crosshatch-ota_update-08050423.zip ``` 5. Go to "Settings > System > Developer options" and disable "USB Debugging" ## Build ## ### Backends ### #### Local ##### Requirements * Docker 10+ * x86_64 CPU * 10GB+ available memory * 350GB+ available disk ##### Usage ``` make DEVICE=crosshatch ``` #### VirtualBox ##### Requirements * Virtualbox 5+ * x86_64 CPU * 12GB+ available memory * 350GB+ available disk ##### Usage ``` make DEVICE=crosshatch BACKEND=virtualbox ``` #### DigitalOcean ##### Requirements * Digitalocean API token ##### Usage ``` cp config/env/digitalocean.{sample.,}env vim config/env/digitalocean.env make DEVICE=crosshatch BACKEND=digitalocean ``` ### Make Targets #### Default On a fresh clone you will want to run the default target which will setup the backend, build the docker image, fetch sources, build the toolchain, generate signing keys, compile everything, then package a release zip. The default backend is 'local'. ``` make DEVICE=crosshatch ``` #### Download sources ``` make DEVICE=crosshatch fetch ``` #### Build basic tools Build tools required for generating signing keys and flashing. ``` make DEVICE=crosshatch tools ``` #### Generate Signing Keys Each device needs its own set of keys: ``` make DEVICE=crosshatch keys ``` #### Build Release Build flashable images for desired device: ``` make DEVICE=crosshatch build release ``` #### Clean Do basic cleaning without deleting cached artifacts/sources: ``` make clean ``` Clean everything but keys ``` make mrproper ``` #### Test * Build a given device twice from scratch and compare with diffoscope * Future: Run Android Compatibility Test Suite ``` make test ``` #### Edit #### Create a shell inside the docker environment: ``` make shell ``` #### Diff #### Output all untracked changes in android sources to a patchfile: ``` make diff > patches/my-feature.patch ``` #### Flash #### ``` make install ``` #### Update #### Build latest config from upstream sources: ``` make DEVICE=crosshatch manifest ``` ## Notes ## Use at your own risk. You might be eaten by a grue.
21.098485
79
0.663375
eng_Latn
0.86176
4b4b0bb4400f65ace8b8acf433f76d4aa374509e
1,395
md
Markdown
windows-driver-docs-pr/install/setting-a-device-instance-property-value.md
i35010u/windows-driver-docs.zh-cn
e97bfd9ab066a578d9178313f802653570e21e7d
[ "CC-BY-4.0", "MIT" ]
1
2021-02-04T01:49:58.000Z
2021-02-04T01:49:58.000Z
windows-driver-docs-pr/install/setting-a-device-instance-property-value.md
i35010u/windows-driver-docs.zh-cn
e97bfd9ab066a578d9178313f802653570e21e7d
[ "CC-BY-4.0", "MIT" ]
null
null
null
windows-driver-docs-pr/install/setting-a-device-instance-property-value.md
i35010u/windows-driver-docs.zh-cn
e97bfd9ab066a578d9178313f802653570e21e7d
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- title: 设置设备实例属性值 description: 设置设备实例属性值 ms.date: 04/20/2017 ms.localizationpriority: medium ms.openlocfilehash: f85b3c3b6883522f88987687e9f9d70466520a16 ms.sourcegitcommit: 418e6617e2a695c9cb4b37b5b60e264760858acd ms.translationtype: MT ms.contentlocale: zh-CN ms.lasthandoff: 12/07/2020 ms.locfileid: "96787345" --- # <a name="setting-a-device-instance-property-value"></a>设置设备实例属性值 若要在 Windows Vista 和更高版本的 Windows 上设置设备实例属性的值,请调用 [**SetupDiSetDeviceProperty**](/windows/win32/api/setupapi/nf-setupapi-setupdisetdevicepropertyw) 并提供以下参数值: - 将 *DeviceInfoSet* 设置为设备信息集的句柄,其中包含要为其设置属性的设备实例。 - 将 *DeviceInfoData* 设置为指向 [**SP_DEVINFO_DATA**](/windows/win32/api/setupapi/ns-setupapi-sp_devinfo_data) 结构的指针,该结构表示要为其设置属性的设备实例。 - 将 *PropertyKey* 设置为指向 [**DEVPROPKEY**](./devpropkey.md) 结构的指针,该结构表示要设置的属性。 - 将 *PropertyType* 设置为指向 [**DEVPROPTYPE**](/previous-versions/ff543546(v=vs.85))类型的变量的指针,该变量提供要设置的属性的属性数据类型标识符。 - 将 *PropertyBuffer* 设置为指向包含属性值的缓冲区的指针。 - 将 *PropertyBufferSize* 设置为属性值的大小(以字节为单位)。 - 将 *RequiredSize* 设置为 DWORD 类型化变量。 - 将 *标志* 设置为零。 如果对 [**SetupDiSetDeviceProperty**](/windows/win32/api/setupapi/nf-setupapi-setupdisetdevicepropertyw) 的此调用成功,则 **SetupDiSetDeviceProperty** 将设置设备实例属性并返回 **TRUE**。 如果函数调用失败, **SetupDiGetDeviceProperty** 将返回 **FALSE** ,并且对 [GetLastError](/windows/win32/api/errhandlingapi/nf-errhandlingapi-getlasterror) 的调用将返回记录的错误代码。
38.75
316
0.784229
yue_Hant
0.549442
4b4c643a3be53fc889e5d78ae665f0fe40aebbc8
703
md
Markdown
ru/managed-sqlserver/api-ref/Database/index.md
batFormat/docs
2414d9c5fa3cb2b2f7601082fd378e21575439ce
[ "CC-BY-4.0" ]
null
null
null
ru/managed-sqlserver/api-ref/Database/index.md
batFormat/docs
2414d9c5fa3cb2b2f7601082fd378e21575439ce
[ "CC-BY-4.0" ]
167
2020-12-10T09:08:59.000Z
2021-02-05T08:11:43.000Z
ru/managed-sqlserver/api-ref/Database/index.md
batFormat/docs
2414d9c5fa3cb2b2f7601082fd378e21575439ce
[ "CC-BY-4.0" ]
5
2020-12-11T06:59:40.000Z
2020-12-11T10:19:14.000Z
--- editable: false --- # Database Набор методов для управления базами данных SQL Server. ## JSON-представление {#representation} ```json { "name": "string", "clusterId": "string" } ``` Поле | Описание --- | --- name | **string**<br><p>Имя базы данных.</p> clusterId | **string**<br><p>Идентификатор кластера SQL Server, которому принадлежит база данных.</p> ## Методы {#methods} Метод | Описание --- | --- [create](create.md) | Создает новую базу данных SQL Server в указанном кластере. [delete](delete.md) | Удаляет указанную базу данных SQL Server. [get](get.md) | Возвращает указанную базу данных SQL Server. [list](list.md) | Возвращает список баз данных SQL Server в указанном кластере.
27.038462
102
0.697013
rus_Cyrl
0.800085
4b4cb0705101d2cf6a525da30f8f7c0f03639ceb
1,094
md
Markdown
README.md
airking05/go-auto-trader
87ff82d3699a5de6167974cefdd9d704b863aeac
[ "MIT" ]
null
null
null
README.md
airking05/go-auto-trader
87ff82d3699a5de6167974cefdd9d704b863aeac
[ "MIT" ]
null
null
null
README.md
airking05/go-auto-trader
87ff82d3699a5de6167974cefdd9d704b863aeac
[ "MIT" ]
null
null
null
[![Build Status](https://secure.travis-ci.org/airking05/go-auto-trader.png?branch=master)](http://travis-ci.org/airking05/go-auto-trader) [![Coverage Status](https://coveralls.io/repos/airking05/go-auto-trader/badge.svg?branch=master)](https://coveralls.io/r/airking05/go-auto-trader?branch=master) [![GoDoc](https://godoc.org/github.com/airking05/go-auto-trader?status.svg)](https://godoc.org/github.com/airking05/go-auto-trader) [![license](https://img.shields.io/badge/license-MIT-4183c4.svg)](https://github.com/airking05/go-auto-trader/blob/master/LICENSE) # Go-Auto-Trader - this is Auto Trading Server implemented with golang. - how to use document is being created now. | | Poloniex | Hitbtc | Bitflyer | Binance | Zaif | |-------- |---------------- |----------------- |-------------- |--------- |------ | | ID | 1 | 2 | 3 | | | | Status | Done(99 paris) | Done(421 paris) | Done(1 pair) | | | # How to Install : ```bash go get github.com/airking05/go-auto-trader ```
52.095238
160
0.591408
yue_Hant
0.179087
4b4cc29d7cbbc9b6960fdfe44506a6ec2dc7f030
337
md
Markdown
content/comprendre-steem/08.md
oroger/comprendre-steem
2204246c3ade5a87d7b5001db8c4f495650d3464
[ "MIT" ]
2
2017-12-26T10:12:30.000Z
2018-03-26T08:43:36.000Z
content/comprendre-steem/08.md
oroger/comprendre-steem
2204246c3ade5a87d7b5001db8c4f495650d3464
[ "MIT" ]
null
null
null
content/comprendre-steem/08.md
oroger/comprendre-steem
2204246c3ade5a87d7b5001db8c4f495650d3464
[ "MIT" ]
2
2017-08-01T08:14:31.000Z
2017-12-01T02:14:12.000Z
+++ draft = false image = "https://img.youtube.com/vi/6-NHK9epng4/0.jpg" showonlyimage = false date = "2017-06-23T20:22:08+05:30" title = "STEEM, STEEM Power et STEEM Dollar, 3 concepts à bien maitriser !" weight = 8 steem = "faq/@roxane/comprendre-steem-8-steem-steem-power-et-steem-dollar-3-concepts-a-bien-maitriser" +++ <!--more-->
28.083333
102
0.706231
kor_Hang
0.234534
4b4ce538a4c1b2d8c195b4694bcc4af074cc09bd
25
md
Markdown
README.md
wiikktor/lionx
8cd301276b160b250b71447caaea97f77f830093
[ "MIT" ]
null
null
null
README.md
wiikktor/lionx
8cd301276b160b250b71447caaea97f77f830093
[ "MIT" ]
null
null
null
README.md
wiikktor/lionx
8cd301276b160b250b71447caaea97f77f830093
[ "MIT" ]
null
null
null
# lionx lionx repository
8.333333
16
0.8
glg_Latn
0.697172
4b4ce8a06df1ad3bf103df00443bab8f6af43773
2,630
md
Markdown
src/validations/rules/rules.md
hahsanti/fedramp-automation
74b3db7b580afe4610f3a18d9dbfec2d9abba4b7
[ "CC0-1.0" ]
null
null
null
src/validations/rules/rules.md
hahsanti/fedramp-automation
74b3db7b580afe4610f3a18d9dbfec2d9abba4b7
[ "CC0-1.0" ]
null
null
null
src/validations/rules/rules.md
hahsanti/fedramp-automation
74b3db7b580afe4610f3a18d9dbfec2d9abba4b7
[ "CC0-1.0" ]
null
null
null
# FedRAMP OSCAL System Security Plan Validation Rules FedRAMP business rules have been inferred from FedRAMP documents, FedRAMP OSCAL SSP documentation, and interviews. FedRAMP business rules are expected to undergo change over time. It is hoped, and expected, that this manner of business rule definition and elaboration can be used to maintain both business rules and the related code for automated validation thereof. ## Related Documents ### rules.xml The [`rules.xml`](rules.xml) document defines business rules for FedRAMP SSPs. These are cast as English prose assertions. References to related FedRAMP documentation are present when possible. ### rules.xsd The [`rules.xsd`](rules.xsd) document is an [XML Schema](https://www.w3.org/TR/xmlschema11-1/) definition for `rules.xml` syntax. ### rules.xsl [`rules.xsl`](rules.xsl) is an [XSL Transform](https://www.w3.org/TR/xslt-30/) which combines `rules.xml` with `ssp.sch` to produce an HTML5 document describing the structured rules and related Schematron assertions. ### rules.css [`rules.css`](rules.css) is a companion [CSS](https://www.w3.org/Style/CSS/) document used by `rules.xsl`. ### ssp.sch [`ssp.sch`](ssp.sch) is a document containing Schematron assertions which enable automated validation of FedRAMP OSCAL System Security Plans. The primary Schematron elements are `pattern`, `rule`, and `assert`. A Schematron `pattern` element allows Schematron `rule` elements to be grouped together. Schematron `rule` elements specify a context - a locus within an XML document for which subordinate assertions apply. Schematron `assert` elements specify a natural language assertion - i.e., a desired state - and a corresponding test. fedramp-automation requires that each Schematron `assert` element specifies - An `id` attribute which is required for related unit tests cast in the [XSpec](https://github.com/xspec/xspec) language. - A `role` attribute specifying the relative import of a failed test: information, warning, error, fatal. - A `test` attribute which is an [XPath](https://www.w3.org/TR/xpath-31/) statement evaluated in the context of the parent `rule`. - The body of an `assert` contains a natural language assertion describing the **desired** outcome of the test. - A `diagnostics` attribute identifying one or more messages associated with a negative assertion outcome. fedramp-automation extends Schematron with some additional constructs. - Documentation references. - Additional affirmative and negative messages per `assert` appropriate for different venues of presentation, such as FedRAMP review and FedRAMP submission.
44.576271
156
0.778707
eng_Latn
0.989434
4b4dd56fba23ca68dc720b5c1fbe0463a0dfcd4f
1,024
md
Markdown
_posts/2003-01-20-moft-dividend-38-million-gates-tax-cut.md
kerim/keywords
b16bf75bd1e6347b57e3e3ca62012ec198c110f8
[ "MIT-0", "MIT" ]
1
2017-08-10T12:37:13.000Z
2017-08-10T12:37:13.000Z
_posts/2003-01-20-moft-dividend-38-million-gates-tax-cut.md
kerim/keywords
b16bf75bd1e6347b57e3e3ca62012ec198c110f8
[ "MIT-0", "MIT" ]
null
null
null
_posts/2003-01-20-moft-dividend-38-million-gates-tax-cut.md
kerim/keywords
b16bf75bd1e6347b57e3e3ca62012ec198c110f8
[ "MIT-0", "MIT" ]
null
null
null
--- title: 'M$oft Dividend- $38 million Gates tax cut' author: Kerim layout: post permalink: /archives/2003/01/20/moft-dividend-38-million-gates-tax-cut/ categories: - Old Blog Import --- > &#8220;Microsoft announced its first ever dividend of 16 cents per share and a 2-for-1 stock split. > > > For Bill Gates, who personally owns 611,749,300 shares, this will give him a dividend of $97.9 million. > > > > Normally, this would be taxed at a 38.6% rate, but with Bush&#8217;s new tax plan, Gates will save and the Treasury will lose $37.8 million. > > > > A $38 million tax cut for the richest man on earth, while almost half of all tax filers would receive less than $100 in benefits&#8221; > <a href="http://www.nathannewman.org/log/archives/000716.shtml#000716" onclick="_gaq.push(['_trackEvent', 'outbound-article', 'http://www.nathannewman.org/log/archives/000716.shtml#000716', 'NathanNewman.org &#8211; News and Views']);" >NathanNewman.org &#8211; News and Views</a>
37.925926
280
0.698242
eng_Latn
0.739868
4b4e1f8eeebe5c59698678bdcb20759e332e226c
710
md
Markdown
README.md
snod/slack-now-playing-spotify
0f03b199d7e644d4143dad0518ae31a959d57621
[ "MIT" ]
4
2018-03-29T08:46:14.000Z
2020-04-23T09:57:40.000Z
README.md
snod/slack-now-playing-spotify
0f03b199d7e644d4143dad0518ae31a959d57621
[ "MIT" ]
4
2018-04-03T09:42:29.000Z
2018-06-01T12:54:05.000Z
README.md
snod/slack-now-playing-spotify
0f03b199d7e644d4143dad0518ae31a959d57621
[ "MIT" ]
null
null
null
# slack-now-playing-spotify A simple bash script to print the current track you're playing on spotify in a slack channel # Requirements - a mac running spotify - curl # Example ![Example](example.png) # Usage 1. place the script somewhere. It must be run on the mac running spotify 2. grab your personal auth token for your slack space: [Link](https://api.slack.com/custom-integrations/legacy-tokens) 3. adapt the configuration to your needs - change the token - change the channel - *optional* change the color - *bonus* set a footer icon url 4. execute the script, if nothing happens remove the `> /dev/null` redirect to see the error I created an Alfred workflow to quickly execute the script.
30.869565
118
0.75493
eng_Latn
0.995067
4b4e6ebde638fa23102e6068e0fef921ae866c23
10,762
md
Markdown
tracing/README.md
Atul9/tracing
acd7713cce2034090c20db8f063bcbad2af6b140
[ "MIT" ]
null
null
null
tracing/README.md
Atul9/tracing
acd7713cce2034090c20db8f063bcbad2af6b140
[ "MIT" ]
null
null
null
tracing/README.md
Atul9/tracing
acd7713cce2034090c20db8f063bcbad2af6b140
[ "MIT" ]
null
null
null
# tracing Application-level tracing for Rust. [![Crates.io][crates-badge]][crates-url] [![Documentation][docs-badge]][docs-url] [![MIT licensed][mit-badge]][mit-url] [![Build Status][azure-badge]][azure-url] [![Gitter chat][gitter-badge]][gitter-url] [Documentation][docs-url] | [Chat][gitter-url] [crates-badge]: https://img.shields.io/crates/v/tracing.svg [crates-url]: https://crates.io/crates/tracing [docs-badge]: https://docs.rs/tracing/badge.svg [docs-url]: https://docs.rs/tracing [mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg [mit-url]: LICENSE [azure-badge]: https://dev.azure.com/tracing/tracing/_apis/build/status/tokio-rs.tracing?branchName=master [azure-url]: https://dev.azure.com/tracing/tracing/_build/latest?definitionId=1&branchName=master [gitter-badge]: https://img.shields.io/gitter/room/tokio-rs/tracing.svg [gitter-url]: https://gitter.im/tokio-rs/tracing ## Overview `tracing` is a framework for instrumenting Rust programs to collect structured, event-based diagnostic information. In asynchronous systems like Tokio, interpreting traditional log messages can often be quite challenging. Since individual tasks are multiplexed on the same thread, associated events and log lines are intermixed making it difficult to trace the logic flow. `tracing` expands upon logging-style diagnostics by allowing libraries and applications to record structured events with additional information about *temporality* and *causality* — unlike a log message, a span in `tracing` has a beginning and end time, may be entered and exited by the flow of execution, and may exist within a nested tree of similar spans. In addition, `tracing` spans are *structured*, with the ability to record typed data as well as textual messages. The `tracing` crate provides the APIs necessary for instrumenting libraries and applications to emit trace data. ## Usage First, add this to your `Cargo.toml`: ```toml [dependencies] tracing = "0.1.3" ``` This crate provides macros for creating `Span`s and `Event`s, which represent periods of time and momentary events within the execution of a program, respectively. As a rule of thumb, _spans_ should be used to represent discrete units of work (e.g., a given request's lifetime in a server) or periods of time spent in a given context (e.g., time spent interacting with an instance of an external system, such as a database). In contrast, _events_ should be used to represent points in time within a span — a request returned with a given status code, _n_ new items were taken from a queue, and so on. `Span`s are constructed using the `span!` macro, and then _entered_ to indicate that some code takes place within the context of that `Span`: ```rust use tracing::{span, Level}; // Construct a new span named "my span". let mut span = span!(Level::INFO, "my span"); span.in_scope(|| { // Any trace events in this closure or code called by it will occur within // the span. }); // Dropping the span will close it, indicating that it has ended. ``` The `Event` type represent an event that occurs instantaneously, and is essentially a `Span` that cannot be entered. They are created using the `event!` macro: ```rust use tracing::{event, Level}; event!(Level::INFO, "something has happened!"); ``` Users of the [`log`] crate should note that `tracing` exposes a set of macros for creating `Event`s (`trace!`, `debug!`, `info!`, `warn!`, and `error!`) which may be invoked with the same syntax as the similarly-named macros from the `log` crate. Often, the process of converting a project to use `tracing` can begin with a simple drop-in replacement. Let's consider the `log` crate's yak-shaving [example](https://docs.rs/log/0.4.6/log/index.html#examples), modified to use `tracing`: ```rust // Import `tracing`'s macros rather than `log`'s use tracing::{span, info, warn, Level}; // unchanged from here forward pub fn shave_the_yak(yak: &mut Yak) { info!(target: "yak_events", "Commencing yak shaving for {:?}", yak); loop { match find_a_razor() { Ok(razor) => { info!("Razor located: {}", razor); yak.shave(razor); break; } Err(err) => { warn!("Unable to locate a razor: {}, retrying", err); } } } } // Dummy impls to make the example compile #[derive(Debug)] pub struct Yak(String); impl Yak { fn shave(&mut self, _: u32) {} } fn find_a_razor() -> Result<u32, u32> { Ok(1) } ``` We can change it even further to better utilize features in tracing. ```rust use tracing::{span, info, warn, Level}; pub fn shave_the_yak(yak: &mut Yak) { // create and enter a span to represent the scope let span = span!(Level::TRACE, "shave_the_yak", ?yak); let _enter = span.enter(); // Since the span is annotated with the yak, it is part of the context // for everything happening inside the span. Therefore, we don't need // to add it to the message for this event, as the `log` crate does. info!(target: "yak_events", "Commencing yak shaving"); loop { match find_a_razor() { Ok(razor) => { // We can add the razor as a field rather than formatting it // as part of the message, allowing subscribers to consume it // in a more structured manner: info!({ %razor }, "Razor located"); yak.shave(razor); break; } Err(err) => { // However, we can also create events with formatted messages, // just as we would for log records. warn!("Unable to locate a razor: {}, retrying", err); } } } } #[derive(Debug)] pub struct Yak(String); impl Yak { fn shave(&mut self, _: u32) {} } fn find_a_razor() -> Result<u32, u32> { Ok(1) } ``` You can find further examples showing how to use this crate in the examples directory. ### In libraries Libraries should link only to the `tracing` crate, and use the provided macros to record whatever information will be useful to downstream consumers. ### In executables In order to record trace events, executables have to use a `Subscriber` implementation compatible with `tracing`. A `Subscriber` implements a way of collecting trace data, such as by logging it to standard output. There currently aren't too many subscribers to choose from. The best one to use right now is probably [`tracing-fmt`], which logs to the terminal. It is not currently published to crates.io so you will need to add [`tracing-fmt`] as a git dependency to use it. The simplest way to use a subscriber is to call the `set_global_default` function: ```rust use tracing::{span::{Id, Attributes, Record}, Metadata}; pub struct FooSubscriber; impl tracing::Subscriber for FooSubscriber { fn new_span(&self, _: &Attributes) -> Id { Id::from_u64(0) } fn record(&self, _: &Id, _: &Record) {} fn event(&self, _: &tracing::Event) {} fn record_follows_from(&self, _: &Id, _: &Id) {} fn enabled(&self, _: &Metadata) -> bool { false } fn enter(&self, _: &Id) {} fn exit(&self, _: &Id) {} } impl FooSubscriber { fn new() -> Self { FooSubscriber } } let my_subscriber = FooSubscriber::new(); tracing::subscriber::set_global_default(my_subscriber) .expect("setting tracing default failed"); ``` This subscriber will be used as the default in all threads for the remainder of the duration of the program, similar to how loggers work in the `log` crate. Note: Libraries should *NOT* call `set_global_default()`! That will cause conflicts when executables try to set the default later. In addition, you can locally override the default subscriber, using the `tokio` pattern of executing code in a context. For example: ```rust use tracing::{span::{Id, Attributes, Record}, Metadata}; pub struct FooSubscriber; impl tracing::Subscriber for FooSubscriber { fn new_span(&self, _: &Attributes) -> Id { Id::from_u64(0) } fn record(&self, _: &Id, _: &Record) {} fn event(&self, _: &tracing::Event) {} fn record_follows_from(&self, _: &Id, _: &Id) {} fn enabled(&self, _: &Metadata) -> bool { false } fn enter(&self, _: &Id) {} fn exit(&self, _: &Id) {} } impl FooSubscriber { fn new() -> Self { FooSubscriber } } let my_subscriber = FooSubscriber::new(); tracing::subscriber::with_default(my_subscriber, || { // Any trace events generated in this closure or by functions it calls // will be collected by `my_subscriber`. }) ``` Any trace events generated outside the context of a subscriber will not be collected. Once a subscriber has been set, instrumentation points may be added to the executable using the `tracing` crate's macros. In addition to `tracing` and `tracing-core`, the [`tokio-rs/tracing`] repository contains several additional crates designed to be used with the `tracing` ecosystem. This includes a collection of `Subscriber` implementations, as well as utility and adapter crates to assist in writing `Subscriber`s and instrumenting applications. In particular, the following crates are likely to be of interest: - [`tracing-futures`] provides a compatibility layer with the `futures` crate, allowing spans to be attached to `Future`s, `Stream`s, and `Executor`s. - [`tracing-fmt`] provides a `Subscriber` implementation for logging formatted trace data to stdout, with similar filtering and formatting to the `env-logger` crate. - [`tracing-log`] provides a compatibility layer with the `log` crate, allowing log messages to be recorded as `tracing` `Event`s within the trace tree. This is useful when a project using `tracing` have dependencies which use `log`. - [`tracing-timing`] implements inter-event timing metrics on top of `tracing`. It provides a subscriber that records the time elapsed between pairs of `tracing` events and generates histograms. **Note:** that some of the ecosystem crates are currently unreleased and undergoing active development. They may be less stable than `tracing` and `tracing-core`. [`log`]: https://docs.rs/log/0.4.6/log/ [`tokio-rs/tracing`]: https://github.com/tokio-rs/tracing [`tracing-futures`]: https://github.com/tokio-rs/tracing/tree/master/tracing-futures [`tracing-fmt`]: https://github.com/tokio-rs/tracing/tree/master/tracing-fmt [`tracing-log`]: https://github.com/tokio-rs/tracing/tree/master/tracing-log [`tracing-timing`]: https://crates.io/crates/tracing-timing ## License This project is licensed under the [MIT license](LICENSE). ### Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Tokio by you, shall be licensed as MIT, without any additional terms or conditions.
36.605442
106
0.707118
eng_Latn
0.989756
4b4eecd35392c55f1619af6ef8f0d56caffaf99d
229
md
Markdown
README.md
shardeep/posnet-with-classification
c27f78ec70b5ad29ab7b71f9debcdd0495fae4ad
[ "Apache-2.0" ]
null
null
null
README.md
shardeep/posnet-with-classification
c27f78ec70b5ad29ab7b71f9debcdd0495fae4ad
[ "Apache-2.0" ]
null
null
null
README.md
shardeep/posnet-with-classification
c27f78ec70b5ad29ab7b71f9debcdd0495fae4ad
[ "Apache-2.0" ]
null
null
null
# posnet-with-classification This repo is the modification of the existing posenet repo. The utils.py and image_dmo.py files were modified. Find the corresponding Colab Notebook in the drive ! Please dont mess with this repor !!
57.25
163
0.803493
eng_Latn
0.997807
4b500294de85e89315da8f9c5a53e42dd9fb16a8
1,946
md
Markdown
README.md
tokuhirom/Module-Functions
e933dd6c113b178d088e3c216d277a045a8c2214
[ "Artistic-1.0" ]
1
2015-05-19T09:31:47.000Z
2015-05-19T09:31:47.000Z
README.md
tokuhirom/Module-Functions
e933dd6c113b178d088e3c216d277a045a8c2214
[ "Artistic-1.0" ]
null
null
null
README.md
tokuhirom/Module-Functions
e933dd6c113b178d088e3c216d277a045a8c2214
[ "Artistic-1.0" ]
null
null
null
# NAME Module::Functions - Get function list from package. # SYNOPSIS package My::Class; use parent qw/Exporter/; use Module::Functions; our @EXPORT = get_public_functions(); # DESCRIPTION Module::Functions is a library to get a public functions list from package. It is useful to create a exportable function list. # METHODS ## my @functions = get\_public\_functions() ## my @functions = get\_public\_functions($package) Get a public function list from the package. If you don't pass the `$package` parameter, the function use `caller(0)` as a source package. This function does not get a function, that imported from other package. For example: package Foo; use File::Spec::Functions qw/catfile/; sub foo { } In this case, return value of `get_public_functions('Foo')` does not contain 'catfile'. Return value is `('foo')`. ### RULES This `get_public_functions` removes some function names. Rules are here: - BEGIN, UNITCHECK, CHECK, INIT, and END are hidden. - 'import' method is hidden - function name prefixed by '\_' is hidden. ## my @functions = get\_full\_functions(); ## my @functions = get\_full\_functions($package) This function get ALL functions. ALL means functions that were imported from other packages. And included specially named functions(BEGIN , UNITCHECK , CHECK , INIT and END). Of course, included also private functions( ex. \_foo ). # AUTHOR Tokuhiro Matsuno <tokuhirom AAJKLFJEF@ GMAIL COM> # SEE ALSO [Exporter::Auto](http://search.cpan.org/perldoc?Exporter::Auto) have same feature of this module, but it stands on very tricky thing. [Class::Inspector](http://search.cpan.org/perldoc?Class::Inspector) finds the function list. But it does not check the function defined at here or imported from other package. # LICENSE Copyright (C) Tokuhiro Matsuno This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
27.027778
175
0.739979
eng_Latn
0.971501
4b50e5e723dcd30c8e8fa574a2d1d6b4c48718fb
27,049
md
Markdown
bigdataai/_posts/2022-01-27-confusionmatrix.md
codingstorylove/codingstorylove.github.io
1d87a5e2b38fc0aa3a2015f23dc55a7157a19491
[ "MIT" ]
1
2022-02-05T14:12:32.000Z
2022-02-05T14:12:32.000Z
bigdataai/_posts/2022-01-27-confusionmatrix.md
codingstorylove/codingstorylove.github.io
1d87a5e2b38fc0aa3a2015f23dc55a7157a19491
[ "MIT" ]
null
null
null
bigdataai/_posts/2022-01-27-confusionmatrix.md
codingstorylove/codingstorylove.github.io
1d87a5e2b38fc0aa3a2015f23dc55a7157a19491
[ "MIT" ]
null
null
null
--- layout: single title: "오차행렬로 모델 평가" date: "2022-01-27 16:20:00 +0900" last_modified_at: "2022-01-27 18:36:15 +0900" --- # 오차행렬로 모델 평가 - 훈련데이터의 정확도와 테스트데이터의 정확도가 높아야 하고 차이가 적을수록 좋은 모델이다.(일반화 가능성이 높은 결과) - 실제와 예측이 얼마나 일치하는가라는 관점이 모델의 성능을 평가할때 가장 중요함 > 평가할때 오차행렬(confusion matrix) 사용함 1. 0을 0으로 1을 1로 예측하는 정확도가 중요함 2. 오차 행렬 평가지표 ![confusionmatrix1]({{ site.gdrive_url_prefix }}1JY0oLVr7qVo_DClOYdP7OH5jIY8SiKQ-) 오차 행렬은 위와 같이 4분면 행렬에서 실제 label class과 예측 label class가 어떠한 유형을 가지고 mapping 되는지 나타낸다. 4분면의 왼쪽과 오른쪽은 에측된 class를 기준으로 Negative와 Positive로 분류하고, 위와 아래는 실제 class를 기준으로 Negative와 Positive로 분류한다. 따라서 예측 class와 실제 class에 따라 TN, FP, FN, TP 형태로 오차 행렬의 4분면을 채울 수 있다. 1. TN은 예측값을 Negative 값인 0으로 예측했고 실제값 또한 Negative 값인 0일 때 2. FP은 예측값을 Positive 값인 1으로 예측했는데 실제값은 Negative 값인 0일 때 3. FN은 예측값을 Negative 값인 0으로 예측했는데 실제값은 Positive 값인 1일 때 4. TP은 예측값을 Positive 값인 1으로 예측했고 실제값 또한 Positive 값인 1일 때 > 정밀도(precision) = TP/(TP+FP) > 재현율(recall) = TP/(TP+FN) > F-score = 2/ ((1/정밀도) + (1/재현율)) # 실습 ```R data<-read.csv("data/Fvote.csv", header=TRUE) data<-data[ , 2:15] data ``` <table> <thead><tr><th scope=col>gender.male</th><th scope=col>gender.female</th><th scope=col>region.Sudo</th><th scope=col>region.Chungcheung</th><th scope=col>region.Honam</th><th scope=col>region.Youngnam</th><th scope=col>region.Others</th><th scope=col>edu</th><th scope=col>income</th><th scope=col>age</th><th scope=col>score_gov</th><th scope=col>score_progress</th><th scope=col>score_intention</th><th scope=col>vote</th></tr></thead> <tbody> <tr><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>1 </td><td>0 </td><td>1.0 </td><td>0.6666667</td><td>0.6666667</td><td>0.25 </td><td>0.25 </td><td>0.75 </td><td>1 </td></tr> <tr><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>1 </td><td>0.5 </td><td>0.6666667</td><td>0.6666667</td><td>0.25 </td><td>0.75 </td><td>0.50 </td><td>0 </td></tr> <tr><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>0.0 </td><td>0.3333333</td><td>1.0000000</td><td>0.00 </td><td>0.50 </td><td>0.45 </td><td>1 </td></tr> <tr><td>0 </td><td>1 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.5 </td><td>0.0000000</td><td>0.6666667</td><td>1.00 </td><td>0.75 </td><td>0.40 </td><td>1 </td></tr> <tr><td>1 </td><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.0 </td><td>0.3333333</td><td>1.0000000</td><td>0.75 </td><td>0.50 </td><td>0.35 </td><td>1 </td></tr> <tr><td>1 </td><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.0 </td><td>0.3333333</td><td>1.0000000</td><td>0.00 </td><td>0.75 </td><td>0.70 </td><td>1 </td></tr> <tr><td>1 </td><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.0 </td><td>0.3333333</td><td>1.0000000</td><td>0.75 </td><td>0.75 </td><td>0.25 </td><td>1 </td></tr> <tr><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>1 </td><td>0.5 </td><td>1.0000000</td><td>1.0000000</td><td>0.50 </td><td>0.75 </td><td>0.65 </td><td>1 </td></tr> <tr><td>1 </td><td>0 </td><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0.0 </td><td>0.3333333</td><td>1.0000000</td><td>0.25 </td><td>0.25 </td><td>0.25 </td><td>0 </td></tr> <tr><td>1 </td><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.0 </td><td>0.3333333</td><td>0.6666667</td><td>0.75 </td><td>0.25 </td><td>0.50 </td><td>1 </td></tr> <tr><td>1 </td><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.0 </td><td>0.3333333</td><td>0.6666667</td><td>0.25 </td><td>0.75 </td><td>0.30 </td><td>0 </td></tr> <tr><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>1 </td><td>0 </td><td>0.0 </td><td>0.0000000</td><td>0.6666667</td><td>0.50 </td><td>0.25 </td><td>0.40 </td><td>1 </td></tr> <tr><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>1 </td><td>0.0 </td><td>0.3333333</td><td>1.0000000</td><td>0.50 </td><td>0.25 </td><td>0.50 </td><td>1 </td></tr> <tr><td>1 </td><td>0 </td><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0.5 </td><td>1.0000000</td><td>1.0000000</td><td>0.50 </td><td>0.50 </td><td>0.35 </td><td>1 </td></tr> <tr><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>1 </td><td>0 </td><td>1.0 </td><td>1.0000000</td><td>0.6666667</td><td>0.50 </td><td>0.75 </td><td>0.65 </td><td>1 </td></tr> <tr><td>1 </td><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.5 </td><td>0.6666667</td><td>0.6666667</td><td>0.50 </td><td>0.50 </td><td>0.55 </td><td>1 </td></tr> <tr><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>1 </td><td>0.5 </td><td>1.0000000</td><td>0.6666667</td><td>0.75 </td><td>0.50 </td><td>0.75 </td><td>1 </td></tr> <tr><td>0 </td><td>1 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.5 </td><td>0.3333333</td><td>0.6666667</td><td>1.00 </td><td>0.75 </td><td>0.40 </td><td>1 </td></tr> <tr><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>0.0 </td><td>0.3333333</td><td>0.3333333</td><td>0.50 </td><td>0.25 </td><td>0.50 </td><td>0 </td></tr> <tr><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>1 </td><td>1.0 </td><td>1.0000000</td><td>0.6666667</td><td>0.50 </td><td>0.50 </td><td>0.50 </td><td>1 </td></tr> <tr><td>1 </td><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.0 </td><td>0.0000000</td><td>0.3333333</td><td>0.50 </td><td>0.50 </td><td>0.25 </td><td>0 </td></tr> <tr><td>0 </td><td>1 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>1.0 </td><td>0.3333333</td><td>0.3333333</td><td>0.50 </td><td>0.75 </td><td>0.30 </td><td>1 </td></tr> <tr><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>1 </td><td>0 </td><td>0.5 </td><td>0.3333333</td><td>0.3333333</td><td>0.50 </td><td>0.50 </td><td>0.10 </td><td>1 </td></tr> <tr><td>1 </td><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.0 </td><td>0.6666667</td><td>0.6666667</td><td>0.50 </td><td>0.75 </td><td>0.15 </td><td>1 </td></tr> <tr><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>1 </td><td>0 </td><td>0.5 </td><td>0.6666667</td><td>0.6666667</td><td>0.50 </td><td>0.25 </td><td>0.65 </td><td>1 </td></tr> <tr><td>1 </td><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.5 </td><td>0.3333333</td><td>0.3333333</td><td>0.50 </td><td>0.25 </td><td>0.55 </td><td>1 </td></tr> <tr><td>0 </td><td>1 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.5 </td><td>0.6666667</td><td>0.3333333</td><td>0.50 </td><td>0.75 </td><td>0.45 </td><td>1 </td></tr> <tr><td>0 </td><td>1 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.5 </td><td>1.0000000</td><td>0.6666667</td><td>0.75 </td><td>0.75 </td><td>0.50 </td><td>1 </td></tr> <tr><td>1 </td><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.0 </td><td>0.6666667</td><td>0.6666667</td><td>0.00 </td><td>0.25 </td><td>0.50 </td><td>1 </td></tr> <tr><td>0 </td><td>1 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.5 </td><td>1.0000000</td><td>1.0000000</td><td>0.50 </td><td>0.50 </td><td>0.30 </td><td>1 </td></tr> <tr><td>...</td><td>...</td><td>...</td><td>...</td><td>...</td><td>...</td><td>...</td><td>...</td><td>...</td><td>...</td><td>...</td><td>...</td><td>...</td><td>...</td></tr> <tr><td>1 </td><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.5 </td><td>0.0000000</td><td>0.3333333</td><td>0.50 </td><td>1.00 </td><td>0.30 </td><td>1 </td></tr> <tr><td>1 </td><td>0 </td><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0.5 </td><td>0.0000000</td><td>0.3333333</td><td>0.75 </td><td>0.50 </td><td>0.60 </td><td>1 </td></tr> <tr><td>0 </td><td>1 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.0 </td><td>0.0000000</td><td>0.0000000</td><td>0.75 </td><td>0.25 </td><td>0.60 </td><td>1 </td></tr> <tr><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>1 </td><td>0 </td><td>0.0 </td><td>0.0000000</td><td>0.3333333</td><td>0.00 </td><td>0.75 </td><td>0.45 </td><td>1 </td></tr> <tr><td>0 </td><td>1 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.0 </td><td>0.0000000</td><td>0.0000000</td><td>0.50 </td><td>0.75 </td><td>0.45 </td><td>1 </td></tr> <tr><td>0 </td><td>1 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.0 </td><td>0.0000000</td><td>0.3333333</td><td>0.25 </td><td>0.75 </td><td>0.50 </td><td>0 </td></tr> <tr><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>1 </td><td>0.5 </td><td>0.3333333</td><td>0.6666667</td><td>0.75 </td><td>0.50 </td><td>0.60 </td><td>0 </td></tr> <tr><td>1 </td><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.5 </td><td>0.0000000</td><td>0.0000000</td><td>0.50 </td><td>0.50 </td><td>0.45 </td><td>1 </td></tr> <tr><td>1 </td><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.0 </td><td>0.0000000</td><td>0.3333333</td><td>0.50 </td><td>0.50 </td><td>0.50 </td><td>1 </td></tr> <tr><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>1 </td><td>0.0 </td><td>0.0000000</td><td>0.0000000</td><td>0.25 </td><td>0.25 </td><td>0.40 </td><td>0 </td></tr> <tr><td>0 </td><td>1 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.5 </td><td>0.0000000</td><td>0.6666667</td><td>0.75 </td><td>0.75 </td><td>0.85 </td><td>1 </td></tr> <tr><td>0 </td><td>1 </td><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0.0 </td><td>0.0000000</td><td>0.0000000</td><td>0.50 </td><td>0.75 </td><td>0.45 </td><td>0 </td></tr> <tr><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>1 </td><td>0.0 </td><td>0.0000000</td><td>0.3333333</td><td>0.50 </td><td>0.75 </td><td>0.60 </td><td>1 </td></tr> <tr><td>1 </td><td>0 </td><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0.5 </td><td>0.0000000</td><td>0.3333333</td><td>0.25 </td><td>0.00 </td><td>0.30 </td><td>1 </td></tr> <tr><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>1 </td><td>0.0 </td><td>0.0000000</td><td>0.0000000</td><td>0.50 </td><td>0.50 </td><td>0.50 </td><td>0 </td></tr> <tr><td>0 </td><td>1 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.5 </td><td>0.3333333</td><td>0.6666667</td><td>0.25 </td><td>0.75 </td><td>0.50 </td><td>1 </td></tr> <tr><td>0 </td><td>1 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.0 </td><td>0.0000000</td><td>0.6666667</td><td>0.25 </td><td>0.50 </td><td>0.50 </td><td>1 </td></tr> <tr><td>1 </td><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.5 </td><td>0.0000000</td><td>0.3333333</td><td>0.75 </td><td>0.75 </td><td>1.00 </td><td>1 </td></tr> <tr><td>1 </td><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.0 </td><td>0.0000000</td><td>0.3333333</td><td>0.50 </td><td>0.25 </td><td>0.30 </td><td>1 </td></tr> <tr><td>0 </td><td>1 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.5 </td><td>0.0000000</td><td>0.3333333</td><td>0.75 </td><td>0.50 </td><td>0.50 </td><td>1 </td></tr> <tr><td>0 </td><td>1 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.5 </td><td>0.0000000</td><td>0.3333333</td><td>0.75 </td><td>0.75 </td><td>0.65 </td><td>0 </td></tr> <tr><td>1 </td><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.5 </td><td>0.0000000</td><td>0.3333333</td><td>0.50 </td><td>0.50 </td><td>0.60 </td><td>1 </td></tr> <tr><td>0 </td><td>1 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.5 </td><td>0.3333333</td><td>0.3333333</td><td>0.50 </td><td>0.50 </td><td>0.65 </td><td>1 </td></tr> <tr><td>0 </td><td>1 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.0 </td><td>0.0000000</td><td>0.0000000</td><td>1.00 </td><td>0.75 </td><td>0.55 </td><td>0 </td></tr> <tr><td>0 </td><td>1 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.0 </td><td>0.6666667</td><td>1.0000000</td><td>0.50 </td><td>0.25 </td><td>0.00 </td><td>1 </td></tr> <tr><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>1 </td><td>0 </td><td>0.0 </td><td>1.0000000</td><td>1.0000000</td><td>0.50 </td><td>0.50 </td><td>0.20 </td><td>1 </td></tr> <tr><td>1 </td><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.5 </td><td>0.0000000</td><td>0.3333333</td><td>0.50 </td><td>0.75 </td><td>0.40 </td><td>1 </td></tr> <tr><td>1 </td><td>0 </td><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0.5 </td><td>0.0000000</td><td>0.3333333</td><td>0.50 </td><td>0.50 </td><td>0.40 </td><td>1 </td></tr> <tr><td>1 </td><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.5 </td><td>0.6666667</td><td>1.0000000</td><td>0.50 </td><td>0.25 </td><td>0.75 </td><td>1 </td></tr> <tr><td>0 </td><td>1 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.5 </td><td>0.3333333</td><td>0.3333333</td><td>0.50 </td><td>0.50 </td><td>0.70 </td><td>1 </td></tr> </tbody> </table> ```R data$vote<-factor(data$vote, labels=c("no", "yes")) head(data) ``` <table> <thead><tr><th scope=col>gender.male</th><th scope=col>gender.female</th><th scope=col>region.Sudo</th><th scope=col>region.Chungcheung</th><th scope=col>region.Honam</th><th scope=col>region.Youngnam</th><th scope=col>region.Others</th><th scope=col>edu</th><th scope=col>income</th><th scope=col>age</th><th scope=col>score_gov</th><th scope=col>score_progress</th><th scope=col>score_intention</th><th scope=col>vote</th></tr></thead> <tbody> <tr><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>1 </td><td>0 </td><td>1.0 </td><td>0.6666667</td><td>0.6666667</td><td>0.25 </td><td>0.25 </td><td>0.75 </td><td>yes </td></tr> <tr><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>1 </td><td>0.5 </td><td>0.6666667</td><td>0.6666667</td><td>0.25 </td><td>0.75 </td><td>0.50 </td><td>no </td></tr> <tr><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>0.0 </td><td>0.3333333</td><td>1.0000000</td><td>0.00 </td><td>0.50 </td><td>0.45 </td><td>yes </td></tr> <tr><td>0 </td><td>1 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.5 </td><td>0.0000000</td><td>0.6666667</td><td>1.00 </td><td>0.75 </td><td>0.40 </td><td>yes </td></tr> <tr><td>1 </td><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.0 </td><td>0.3333333</td><td>1.0000000</td><td>0.75 </td><td>0.50 </td><td>0.35 </td><td>yes </td></tr> <tr><td>1 </td><td>0 </td><td>1 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0.0 </td><td>0.3333333</td><td>1.0000000</td><td>0.00 </td><td>0.75 </td><td>0.70 </td><td>yes </td></tr> </tbody> </table> ## train / test dataset 나누기 ```R library(caret) ``` ```R set.seed(42) # vote를 종속변수로 두기 (투표를 했는지 안했는지 예측) training.samples <- createDataPartition(data$vote, p = 0.7, list = FALSE) training.samples ``` <table> <thead><tr><th scope=col>Resample1</th></tr></thead> <tbody> <tr><td> 1</td></tr> <tr><td> 2</td></tr> <tr><td> 3</td></tr> <tr><td> 4</td></tr> <tr><td> 5</td></tr> <tr><td> 6</td></tr> <tr><td> 7</td></tr> <tr><td>11</td></tr> <tr><td>12</td></tr> <tr><td>15</td></tr> <tr><td>16</td></tr> <tr><td>17</td></tr> <tr><td>18</td></tr> <tr><td>19</td></tr> <tr><td>20</td></tr> <tr><td>21</td></tr> <tr><td>23</td></tr> <tr><td>25</td></tr> <tr><td>26</td></tr> <tr><td>27</td></tr> <tr><td>28</td></tr> <tr><td>29</td></tr> <tr><td>30</td></tr> <tr><td>31</td></tr> <tr><td>35</td></tr> <tr><td>36</td></tr> <tr><td>37</td></tr> <tr><td>38</td></tr> <tr><td>39</td></tr> <tr><td>40</td></tr> <tr><td>...</td></tr> <tr><td>170</td></tr> <tr><td>171</td></tr> <tr><td>173</td></tr> <tr><td>174</td></tr> <tr><td>175</td></tr> <tr><td>176</td></tr> <tr><td>177</td></tr> <tr><td>178</td></tr> <tr><td>179</td></tr> <tr><td>181</td></tr> <tr><td>183</td></tr> <tr><td>184</td></tr> <tr><td>187</td></tr> <tr><td>188</td></tr> <tr><td>189</td></tr> <tr><td>190</td></tr> <tr><td>191</td></tr> <tr><td>192</td></tr> <tr><td>193</td></tr> <tr><td>195</td></tr> <tr><td>196</td></tr> <tr><td>197</td></tr> <tr><td>198</td></tr> <tr><td>200</td></tr> <tr><td>201</td></tr> <tr><td>202</td></tr> <tr><td>205</td></tr> <tr><td>207</td></tr> <tr><td>208</td></tr> <tr><td>210</td></tr> </tbody> </table> ```R train <- data[training.samples, ] test <- data[-training.samples, ] ``` ```R finalControl <- trainControl(method = "none", classProbs = TRUE) FinalModel <- train(vote ~ ., data = train, method = "knn", trControl = finalControl, tuneGrid = data.frame(k=8), metric = "Accuracy") FinalModel ``` k-Nearest Neighbors 148 samples 13 predictor 2 classes: 'no', 'yes' No pre-processing Resampling: None ## 모델 평가 ### 훈련 모델의 예측 Class 측정(훈련데이터의 정확도) ```R train_pred<-predict(FinalModel, train) ``` ```R # 오차행렬 적용 confusionMatrix(data = train_pred, reference = train$vote) # 정확도 -> Accuracy : 0.75 ``` Confusion Matrix and Statistics Reference Prediction no yes no 19 13 yes 24 92 Accuracy : 0.75 95% CI : (0.6722, 0.8175) No Information Rate : 0.7095 P-Value [Acc > NIR] : 0.1597 Kappa : 0.344 Mcnemar's Test P-Value : 0.1002 Sensitivity : 0.4419 Specificity : 0.8762 Pos Pred Value : 0.5937 Neg Pred Value : 0.7931 Prevalence : 0.2905 Detection Rate : 0.1284 Detection Prevalence : 0.2162 Balanced Accuracy : 0.6590 'Positive' Class : no ```R confusionMatrix(data = train_pred, reference = train$vote, mode = "prec_recall") # mode = "prec_recall" 설정하면 precision,recall 조회됨 ``` Confusion Matrix and Statistics Reference Prediction no yes no 19 13 yes 24 92 Accuracy : 0.75 95% CI : (0.6722, 0.8175) No Information Rate : 0.7095 P-Value [Acc > NIR] : 0.1597 Kappa : 0.344 Mcnemar's Test P-Value : 0.1002 Precision : 0.5938 Recall : 0.4419 F1 : 0.5067 Prevalence : 0.2905 Detection Rate : 0.1284 Detection Prevalence : 0.2162 Balanced Accuracy : 0.6590 'Positive' Class : no ```R postResample(pred = train_pred, obs = train$vote) ``` ```R Accuracy 0.75 Kappa 0.344034499281265 ``` ### 테스트 모델의 예측 Class 측정 ```R test_pred<-predict(FinalModel, test) ``` ```R confusionMatrix(data = test_pred, reference = test$vote) ``` Confusion Matrix and Statistics Reference Prediction no yes no 3 8 yes 15 37 Accuracy : 0.6349 95% CI : (0.504, 0.7527) No Information Rate : 0.7143 P-Value [Acc > NIR] : 0.9347 Kappa : -0.0126 Mcnemar's Test P-Value : 0.2109 Sensitivity : 0.16667 Specificity : 0.82222 Pos Pred Value : 0.27273 Neg Pred Value : 0.71154 Prevalence : 0.28571 Detection Rate : 0.04762 Detection Prevalence : 0.17460 Balanced Accuracy : 0.49444 'Positive' Class : no ```R confusionMatrix(data = test_pred, reference = test$vote, mode = "prec_recall") ``` Confusion Matrix and Statistics Reference Prediction no yes no 3 8 yes 15 37 Accuracy : 0.6349 95% CI : (0.504, 0.7527) No Information Rate : 0.7143 P-Value [Acc > NIR] : 0.9347 Kappa : -0.0126 Mcnemar's Test P-Value : 0.2109 Precision : 0.27273 Recall : 0.16667 F1 : 0.20690 Prevalence : 0.28571 Detection Rate : 0.04762 Detection Prevalence : 0.17460 Balanced Accuracy : 0.49444 'Positive' Class : no ```R postResample(pred = test_pred, obs = test$vote) ``` ```R Accuracy 0.634920634920635 Kappa -0.0125786163522012 ```
58.930283
437
0.395504
lmo_Latn
0.29003
4b519157975b5fc8608acd49ab0640735b5652f0
1,332
md
Markdown
content/blog/peer-ta/index.md
prudhvirajn/portfolio_site
168f1499016be6a0d0b845eabc28752afb325871
[ "MIT" ]
null
null
null
content/blog/peer-ta/index.md
prudhvirajn/portfolio_site
168f1499016be6a0d0b845eabc28752afb325871
[ "MIT" ]
null
null
null
content/blog/peer-ta/index.md
prudhvirajn/portfolio_site
168f1499016be6a0d0b845eabc28752afb325871
[ "MIT" ]
null
null
null
--- title: Peer TA Experience date: '2021-02-13T12:00:00.00Z' description: 'Ducimus perferendis porro cumque ea error ab voluptatem' --- **Position Title:** Peer TA <br> **Employer:** Department of Engineering Education, University of Cincinnati <br> **Work Type:** Part-Time <br> **Technical Skills Used:** Python, MATLAB, Excel <br> **Dates:** Januray 2021 - Present ## Description <p>I am Peer TA for ENED 1120 course. The courses teaches students criticial thinking and problem solving skills along with MATLAB, Excel, Python and basic Statistics.</p> <p>In class, I facilitate learning by encouraging brainstorming, group discussions. I strike up conversations to understand what the student is thinking. Then ask questions to get students to brainstorm. Moreover, I answer any questions they may have about general college life.</p> <p>Outside of class, I grade their assignments and provide feedback. Furthermore, I respond to emails regarding general course queries or course related difficulties</p> ### Technical Concept Learned <p>I relearned how to use MATLAB. I haven't had the opportunity to use MATLAB outside my course.</p> ### Non-Technical Concept Learned <p>I learned how to lead and engage in problem solving discussions. Especially, engaging multiple people in a group rather than a single person.</p>
49.333333
282
0.77027
eng_Latn
0.988927
4b51b7d4a69b0c1408f7e0e27018b36c02ed90bd
330
md
Markdown
README.md
sazhod/Lesson
aec00f0753784123e88fd9549930334b650224be
[ "MIT" ]
1
2019-01-19T08:09:24.000Z
2019-01-19T08:09:24.000Z
README.md
sazhod/Lesson
aec00f0753784123e88fd9549930334b650224be
[ "MIT" ]
null
null
null
README.md
sazhod/Lesson
aec00f0753784123e88fd9549930334b650224be
[ "MIT" ]
null
null
null
# Lesson first lesson GIT Прифки как делифки Мой ервый проектич строго не судите ставте лайки и пишите свои приколы Дули дасведули)!)!))!)!)! <ul> <li> Урок2 </li> <li> Урок3 </li> </ul> <h3> Лёнич довнич </h3> [down](https://github.com/CherryRocket) ![alt text](https://avatars1.githubusercontent.com/u/46626251?s=460&v=4)
22
72
0.69697
rus_Cyrl
0.241067
4b52270c2369745fa745cb76f7e80b4176080b1b
3,340
md
Markdown
README.md
timelessco/loopback-graphql-server
6e6a32e39e31e3c59cd013030adf0ad09121784c
[ "MIT" ]
1
2021-03-18T09:27:09.000Z
2021-03-18T09:27:09.000Z
README.md
timelessco/loopback-graphql-server
6e6a32e39e31e3c59cd013030adf0ad09121784c
[ "MIT" ]
null
null
null
README.md
timelessco/loopback-graphql-server
6e6a32e39e31e3c59cd013030adf0ad09121784c
[ "MIT" ]
2
2021-03-18T05:33:14.000Z
2021-03-18T09:27:39.000Z
# A Reply based GraphQL Server for Loopback ## Disclaimer This is a fork of original [loopback-graphql-server](https://github.com/yahoohung/loopback-graphql-server). It only adds a small feature to that package. Since the original package is unmaintained and the author is not accepting any new pull requests, this package was developed and uploaded here. Use at your own risk. Combine the powers of GraphQL with the backend of Loopback to automatically generate GraphQL endpoints based on Loopback Schema. ## Installation ```sh npm i loopback-graphql-server-with-ids -S ``` Add the loopback-graphql-server component to the `server/component-config.json`: ``` "loopback-graphql-server": { "path": "/graphql", "graphiqlPath": "/graphiql", "modelMutationGroups": false, "modelQueryGroups": true } ``` Requests will be posted to `path` path. (Default: `/graphql`); Graphiql is available on `graphiqlPath` path. (Default: `/graphiql`); ## Starter (https://github.com/yahoohung/loopback-graphql-starter) ## ACL and role mapping - Auto on/off access control - Enable loopback based ACL configuration ## Access token - Accepts AccessToken for authenticated API calls - Get access token in operation hooks ## Queries - `node` query to fetch single entity by ID - Filter support for `where` with operators(https://loopback.io/doc/en/lb3/Where-filter.html) and `order` filters on queries - Support for relations and querying related data - Graphql Connections support for listed data - Data pagination support by using navtive loopback function (`limit`, `offset`) - Graphql Pagination (`first`, `last`, `before`, `after`) - Remote methods integration - Display total count number - Allow to select single level or nested schema ## Mutations - Single level schema structure - Maps all `post`, `put`, `patch` and `delete` methods to mutations - Remote methods integration ## Subscriptions - Deprecated ## Other Features ### Loopback Types - [x] Any - [x] Array - [x] Boolean - [ ] Buffer - [x] Date - [x] GeoPoint - [x] Null - [x] Number - [x] Object - [x] String ### Loopback Relations - [x] BelongsTo - [x] HasOne - [x] HasMany - [ ] HasManyThrough - [x] HasAndBelongsToMany - [ ] Polymorphic - [x] EmbedsOne - [x] EmbedsMany - [x] ReferencesMany ### Todo - [ ] File uploads ## Inspiration This is a fork of original [loopback-graphql-server](https://github.com/yahoohung/loopback-graphql-server). This versions adds support for querying the IDs as they appear in database by adding "_id" field in GraphQL's query. The type of the _id is String, but it can be changed by uncommenting a single [line](https://github.com/saubanbinusman/loopback-graphql-server/blob/master/src/types/generateType.js#L120) in the src/types/generateType.js. After doing this, the type of the ID will be determined based on it's type in your loopback model. Comment out Line# 119 after as it won't go well with the above modification. This repository originally started as a fork of the [loopback-graphql](https://github.com/Tallyb/loopback-graphql) project by [Tallyb](https://github.com/Tallyb) and the [loopback-graphql-relay](https://github.com/BlueEastCode/loopback-graphql-relay) by [BlueEastCode](https://github.com/BlueEastCode). I have fixed many bugs and tested on enterprise environment. This version is ready for production use.
37.52809
621
0.750599
eng_Latn
0.934506
4b5292cfc36a6050792b0aa836907980c47d3ea9
7,508
md
Markdown
articles/virtual-machines/extensions/trend.md
eltociear/azure-docs.es-es
b028e68295007875c750136478a13494e2512990
[ "CC-BY-4.0", "MIT" ]
null
null
null
articles/virtual-machines/extensions/trend.md
eltociear/azure-docs.es-es
b028e68295007875c750136478a13494e2512990
[ "CC-BY-4.0", "MIT" ]
null
null
null
articles/virtual-machines/extensions/trend.md
eltociear/azure-docs.es-es
b028e68295007875c750136478a13494e2512990
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- title: Instalación de Trend Micro Deep Security en una máquina virtual description: En este artículo se describe cómo instalar y configurar la seguridad de Trend Micro en una máquina virtual creada con el modelo de implementación clásica en Azure. services: virtual-machines-windows documentationcenter: '' author: axayjo manager: gwallace editor: '' tags: azure-service-management ms.assetid: e991b635-f1e2-483f-b7ca-9d53e7c22e2a ms.service: virtual-machines-windows ms.workload: infrastructure-services ms.tgt_pltfrm: vm-multiple ms.topic: article ms.date: 04/20/2018 ms.author: akjosh ms.openlocfilehash: cffd2eab3a616b4d16d847d0f2e1a26655f40459 ms.sourcegitcommit: 2ec4b3d0bad7dc0071400c2a2264399e4fe34897 ms.translationtype: HT ms.contentlocale: es-ES ms.lasthandoff: 03/28/2020 ms.locfileid: "77919930" --- # <a name="how-to-install-and-configure-trend-micro-deep-security-as-a-service-on-a-windows-vm"></a>Instalación y configuración de Trend Micro Deep Security como servicio en una máquina virtual de Azure [!INCLUDE [classic-vm-deprecation](../../../includes/classic-vm-deprecation.md)] [!INCLUDE [virtual-machines-extensions-deprecation-statement](../../../includes/virtual-machines-extensions-deprecation-statement.md)] En este artículo se muestra cómo instalar y configurar Trend Micro Deep Security como servicio en una máquina virtual nueva o existente con Windows Server. Deep Security como servicio proporciona protección antimalware, firewall, sistema de prevención contra intrusiones y supervisión de integridad. El cliente se instala como una extensión de seguridad usando el Agente de máquina virtual. En una nueva máquina virtual, instale el agente de Deep Security, ya que Azure Portal crea automáticamente el agente de máquina virtual. Es posible que una máquina virtual existente que se creó mediante Azure Portal, la CLI de Azure o PowerShell no tenga un agente de máquina virtual. En una máquina virtual que no tenga el agente de máquina virtual, primero debe descargarlo e instalarlo. Este artículo trata ambas situaciones. Si tiene una suscripción actual de Trend Micro para una solución local, puede usarla para ayudar a proteger sus máquinas virtuales de Azure. Si todavía no es cliente, puede suscribirse para una prueba. Para obtener más información acerca de esta solución, consulte la publicación del blog de Trend Micro [Microsoft Azure VM Agent Extension For Deep Security (Extensión del agente de máquina virtual de Microsoft Azure para Deep Security)](https://go.microsoft.com/fwlink/p/?LinkId=403945). ## <a name="install-the-deep-security-agent-on-a-new-vm"></a>Instalación del Agente de Deep Security en una máquina virtual nueva [Azure Portal](https://portal.azure.com) le permite instalar la extensión de seguridad de Trend Micro cuando usa una imagen de **Marketplace** para crear la máquina virtual. Si crea una sola máquina virtual, usar el portal es una forma simple para agregar la protección de Trend Micro. Mediante una entrada de **Marketplace** se abre un asistente que le ayuda a configurar la máquina virtual. Utilice la hoja **Configuración**, el tercer panel del asistente, para instalar la extensión de seguridad de Trend Micro. Para obtener instrucciones generales, consulte [Creación de una máquina virtual que ejecuta Windows en Azure Portal](../windows/classic/tutorial.md). Cuando se encuentre en la hoja **Configuración** del asistente, realice los pasos siguientes: 1. Haga clic en **Extensiones**, a continuación, haga clic en **Agregar extensión** en el panel siguiente. ![Empezar a agregar la extensión][1] 2. Seleccione **Agente de Deep Security** en el panel **Nuevo recurso**. En el panel de Agente de Deep Security, haga clic en **Crear**. ![Identificar agente de Deep Security][2] 3. Escriba el **identificador del inquilino** y la **contraseña de activación del inquilino** para la extensión. Opcionalmente, puede especificar un **identificador de directiva de seguridad**. A continuación, haga clic en **Aceptar** para agregar el cliente. ![Proporcionar detalles de la extensión][3] ## <a name="install-the-deep-security-agent-on-an-existing-vm"></a>Instalación del Agente de Deep Security en una máquina virtual existente Para instalar el agente en una máquina virtual existente, necesitará los siguientes elementos: * El módulo Azure PowerShell, con una versión 0.8.2 o posterior, instalado en el equipo local. Puede comprobar la versión de Azure PowerShell que ha instalado con el comando **Get-Module azure | format-table version** . Para obtener instrucciones y un vínculo a la versión más reciente, consulte [Instalación y configuración de Azure PowerShell](/powershell/azure/overview). Inicie sesión en la suscripción de Azure mediante `Add-AzureAccount`. * El agente de máquina virtual instalado en la MV de destino. En primer lugar, compruebe que el agente de máquina virtual ya está instalado. Introduzca el nombre de servicio de nube y el nombre de la máquina virtual y, a continuación, ejecute los siguientes comandos en un símbolo de sistema de Azure PowerShell con nivel de administrador. Reemplace todo el contenido dentro de las comillas, incluidos los caracteres < y >. $CSName = "<cloud service name>" $VMName = "<virtual machine name>" $vm = Get-AzureVM -ServiceName $CSName -Name $VMName write-host $vm.VM.ProvisionGuestAgent Si no conoce el nombre del servicio en la nube y de la máquina virtual, ejecute **Get-AzureVM** para mostrar esa información para todas las máquinas virtuales de su suscripción actual. Si el comando **write-host** devuelve **True**, el agente de máquina virtual está instalado. Si devuelve **False**, consulte las instrucciones y un vínculo a la descarga en la publicación del blog de Azure [VM Agent and Extensions - Part 2 (Agente de máquina virtual extensiones: parte 2)](https://go.microsoft.com/fwlink/p/?LinkId=403947). Si el agente de máquina virtual está instalado, ejecute estos comandos. $Agent = Get-AzureVMAvailableExtension TrendMicro.DeepSecurity -ExtensionName TrendMicroDSA Set-AzureVMExtension -Publisher TrendMicro.DeepSecurity –Version $Agent.Version -ExtensionName TrendMicroDSA -VM $vm | Update-AzureVM ## <a name="next-steps"></a>Pasos siguientes El agente tarda unos minutos en empezar la ejecución cuando se instala. Después de ello, debe activar Deep Security en la máquina virtual de forma que pueda ser administrado por Deep Security Manager. Consulte los siguientes artículos para obtener instrucciones adicionales: * Artículo de Trend sobre esta solución, [Instant-On Cloud Security for Microsoft Azure (Seguridad en la nube instantánea para Microsoft Azure)](https://go.microsoft.com/fwlink/?LinkId=404101) * [Script de Windows PowerShell de ejemplo](https://go.microsoft.com/fwlink/?LinkId=404100) para configurar la máquina virtual * [Instrucciones](https://go.microsoft.com/fwlink/?LinkId=404099) para el ejemplo ## <a name="additional-resources"></a>Recursos adicionales [Inicio de sesión en una máquina virtual con Windows Server] [Características y extensiones de máquina virtual de Azure] <!-- Image references --> [1]: ./media/trend/new_vm_Blade3.png [2]: ./media/trend/find_SecurityAgent.png [3]: ./media/trend/SecurityAgentDetails.png <!-- Link references --> [Inicio de sesión en una máquina virtual con Windows Server]:../windows/classic/connect-logon.md [Características y extensiones de máquina virtual de Azure]: https://go.microsoft.com/fwlink/p/?linkid=390493&clcid=0x409
75.08
489
0.790757
spa_Latn
0.966398
4b53ed0543d42c679cd481cb2c76ee624335cf5f
462
md
Markdown
src/content/changes/documentation/docs/v2.2.206.md
giantswarm/docs
a5b661029811c73bb4bb97c57058da89a9c0396f
[ "Apache-2.0" ]
6
2019-05-10T16:08:44.000Z
2021-09-26T07:29:55.000Z
src/content/changes/documentation/docs/v2.2.206.md
giantswarm/docs
a5b661029811c73bb4bb97c57058da89a9c0396f
[ "Apache-2.0" ]
565
2018-08-01T11:10:33.000Z
2022-03-31T15:54:53.000Z
src/content/changes/documentation/docs/v2.2.206.md
giantswarm/docs
a5b661029811c73bb4bb97c57058da89a9c0396f
[ "Apache-2.0" ]
6
2019-07-16T07:36:56.000Z
2021-02-19T15:21:33.000Z
--- # Generated by scripts/aggregate-changelogs. WARNING: Manual edits to this files will be overwritten. changes_categories: - Documentation changes_entry: repository: giantswarm/docs url: https://github.com/giantswarm/docs/releases/tag/v2.2.206 version: 2.2.206 version_tag: v2.2.206 date: '2021-11-02T14:22:51' description: Changelog entry for giantswarm/docs version 2.2.206, published on 02 November 2021, 14:22 title: docs release v2.2.206 ---
27.176471
101
0.761905
eng_Latn
0.591668