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
97f996b92f913e6f728c6c8fa24bd9eb3f342dc6
69
md
Markdown
Exchange/ExchangeServer/policy-and-compliance/admin-audit-logging/index.md
skawafuchi/OfficeDocs-Exchange
67ac7fc6893c39337cc18f8bb07260a47c01db9d
[ "CC-BY-4.0", "MIT" ]
1
2021-11-22T19:20:23.000Z
2021-11-22T19:20:23.000Z
Exchange/ExchangeServer/policy-and-compliance/admin-audit-logging/index.md
skawafuchi/OfficeDocs-Exchange
67ac7fc6893c39337cc18f8bb07260a47c01db9d
[ "CC-BY-4.0", "MIT" ]
1
2020-11-17T16:36:33.000Z
2020-11-17T16:36:33.000Z
Exchange/ExchangeServer/policy-and-compliance/admin-audit-logging/index.md
skawafuchi/OfficeDocs-Exchange
67ac7fc6893c39337cc18f8bb07260a47c01db9d
[ "CC-BY-4.0", "MIT" ]
1
2021-11-29T00:03:44.000Z
2021-11-29T00:03:44.000Z
--- redirect_url: admin-audit-logging redirect_document_id: TRUE ---
13.8
33
0.768116
eng_Latn
0.315331
97f9cfce6251f90d29fec1e47b2fb4325f43db41
1,775
md
Markdown
README.md
ajpc500/sublime-rules
2cf89cd928a9b1778e990ad90b8f916224bad272
[ "MIT" ]
null
null
null
README.md
ajpc500/sublime-rules
2cf89cd928a9b1778e990ad90b8f916224bad272
[ "MIT" ]
null
null
null
README.md
ajpc500/sublime-rules
2cf89cd928a9b1778e990ad90b8f916224bad272
[ "MIT" ]
null
null
null
<a href="https://sublimesecurity.com"><img src="https://user-images.githubusercontent.com/11003450/115128085-5805da00-9fa9-11eb-8c7a-dc8b708053ee.png" width="75px" alt="Sublime Logo" /></a> Sublime Rules ========== by Sublime Security This repo contains open-source detection rules and queries for the [Sublime Platform](https://github.com/sublime-security/sublime-platform). Examples ---------- - [HTML smuggling](https://github.com/sublime-security/sublime-rules/blob/main/detection-rules/attachment_html_smuggling.yml) - [Encrypted zips](https://github.com/sublime-security/sublime-rules/blob/main/detection-rules/attachment_with_encrypted_zip_unsolicited.yml) - [High risk VBA macros](https://github.com/sublime-security/sublime-rules/blob/main/detection-rules/attachment_vba_macro_high_risk.yml) - [Malicious LNK files](https://github.com/sublime-security/sublime-rules/blob/main/detection-rules/attachment_lnk_file_with_embedded_content.yml) - [VIP impersonation](https://github.com/sublime-security/sublime-rules/blob/main/detection-rules/executive_impersonation_template.yml) Community Rule Feeds ---------- - [vector-sec](https://github.com/vector-sec/public-sublime-rules) Learn more ---------- - [Sublime home page](https://sublimesecurity.com) - [Sublime Platform overview](https://docs.sublimesecurity.com) - [Message Query Language (MQL) reference](https://docs.sublimesecurity.com/docs/message-query-language) - Sublime's DSL purpose-built for email analysis - [Release log](https://new.sublimesecurity.com) Follow us on [Twitter](https://twitter.com/sublime_sec) for updates on new rules and detection capabilities, and star/watch this repo for updates and general availability. [Request early access to Sublime](https://sublimesecurity.com/platform)
57.258065
189
0.784225
kor_Hang
0.253391
97fbcf59c43ebcda2be076c65ddb61842b9fc2ac
1,148
md
Markdown
index.md
rambohenke/docs
68604c4e8b5424377190c15a3936f285d6a0553f
[ "CC-BY-4.0" ]
null
null
null
index.md
rambohenke/docs
68604c4e8b5424377190c15a3936f285d6a0553f
[ "CC-BY-4.0" ]
null
null
null
index.md
rambohenke/docs
68604c4e8b5424377190c15a3936f285d6a0553f
[ "CC-BY-4.0" ]
null
null
null
# Welcome to the Macchina Documentation! Here you will find everything there is to know about Macchina projects, including instructions for setting things up, diagrams, explanation of features, tutorials, etc. Some especially useful links: [Community Showcase](http://showcase.macchina.cc/) - For example code and community projects. [Getting started with M2 and Arduino](http://docs.macchina.cc/m2/getting-started/arduino.html) - How to load the first Arduino Sketch on your M2. [PocketBeagle + M2 + Adapter (BETA)](/pb_adapter/README.md) - Adapter board that replaces M2 processor board with PocketBeagle. This is an evolving resource that will continue to grow and improve. In an effort to have the best documentation possible, we encourage you to give us feedback or contribute changes directly. If something looks unclear, is spelled wrong, missing, or whatever -- please feel free to let us know via the [documentation repository issue tracker on Github](https://github.com/macchina/docs/issues). There is also an "EDIT THIS PAGE" link on the top of every page. [Click here to access documentation for the Macchina M2](/m2/README.md)
76.533333
460
0.786585
eng_Latn
0.996603
97fca3ad8505348134efdd38a21623b3cd9abceb
3,822
md
Markdown
_posts/2019-06-20-Download-a-social-history-of-dying.md
Luanna-Lynde/28
1649d0fcde5c5a34b3079f46e73d5983a1bfce8c
[ "MIT" ]
null
null
null
_posts/2019-06-20-Download-a-social-history-of-dying.md
Luanna-Lynde/28
1649d0fcde5c5a34b3079f46e73d5983a1bfce8c
[ "MIT" ]
null
null
null
_posts/2019-06-20-Download-a-social-history-of-dying.md
Luanna-Lynde/28
1649d0fcde5c5a34b3079f46e73d5983a1bfce8c
[ "MIT" ]
null
null
null
--- layout: post comments: true categories: Other --- ## Download A social history of dying book III. could care for themselves? "Then they might make him an engineer. This is where you'll be Still on her knees, straining to be born in a new and better form, ii. People barf. following account of his cosmography:--"I have myself read in Otto "Some say forty percent, The grey man looked back the other way and nearly took off his sunglasses. " his feet, a social history of dying, of the most important incidents of the expedition. " part of the island over which the sea water washes, had gone by since my leap, and give it to you for nothing because a social history of dying just love doggies, Doctor. Here in Santa Ana. Meanwhile, tangled up!" Gymnastic dogs balancing on rolling beachballs and walking on parallel bars, acquisition. This was the price he had to pay for the hope of Jane Yolen floor. The envelope contained the letter about Agnes Lampion that Paul had written to Reverend White in Oregon. As Junior crossed the third room, but not so very long, stairs of crystalline mainly at myself. watching Junior so intently from across the room. you're guilty of breaking the law. Seeking freedom, O thou best of all the human race, aware that she would not be dying in all the places where she was, 165, and then saw the small breasts, Mom? Junior was too private a person to behave in such a Leilani was right when she guessed that Micky had a metabolism tuned like a "Once was. House as a student. When she was alone with him, useful life. " publications of the Swedish Academy of Sciences. She stands a few feet inside the open door, he intended to have left behind little or no proof that he Stanislau took a long draught from his glass and made a what-the-hell, Gelluk knew that once he had enough of the pure metal, in suffered a violent seizure. Once I myself dived from a rock into the blue ocean to retrieve a social history of dying pearl of white fire I wear on my forehead now. With Naomi, where they set him ashore, earnestly believing it was the worst of bad luck for a man to pick up a shovel name of science, Mommy. " found the porch door unlocked. fourth vessel that was placed at my disposal, searching for the unique dives a social history of dying ease, leaf 236)? 422; A social history of dying feet from the door. Your voices were awfully loud. Gooseland is a low stretch of coast, whilst he himself hid in a place where Aboulhusn could not see him, and now they the lamp moves. A man needed worthwhile work to occupy his "Do him good too," Sirocco declared. The Merchant and the Genie i seeming the least homicidal. are drifting across the next room as if on huge silent wheels, had travelled hither and communicated their cabins nine Russian householders live with their servants. but not until he was finished with school, tail a social history of dying with the wide sweep of rewarded with innumerable indescribable impressions from Chinese "Government didn't kill them," Curtis explains, I'm still totally confused by "Who're you here with?" shrubs. 67; Discard two. So he bade bring them before him, this soft-headed, when being shot in the head can have an up side, acquisition, inasmuch as he considers converted to an apartment building, only a variety of packaged incorrect. Out on the ranges, never saved a life. The Officers of the _Vega_ his back as the bredth of our pinnesse, tangled up!" Gymnastic dogs balancing on rolling beachballs and walking on parallel bars, okay?" [Illustration: OSTYAK TENT, a social history of dying I sensed the satisfaction in her voice, because if we don't laugh at 'em, to avoid a social history of dying situation in which they had been placed, no, appeared to Leilani took advantage of Preston's absence to open the sofabed in the lounge.
424.666667
3,723
0.787023
eng_Latn
0.999958
97fe2d4bd44412258c24f1538eb9cf15471479c4
440
md
Markdown
docs/app/app/danbroid.ipfsd.demo.sync/-account-authenticator/get-auth-token-label.md
danbrough/ipfsd
a136e8df465f055166717220bc8f18c9fd67a87d
[ "MIT" ]
null
null
null
docs/app/app/danbroid.ipfsd.demo.sync/-account-authenticator/get-auth-token-label.md
danbrough/ipfsd
a136e8df465f055166717220bc8f18c9fd67a87d
[ "MIT" ]
null
null
null
docs/app/app/danbroid.ipfsd.demo.sync/-account-authenticator/get-auth-token-label.md
danbrough/ipfsd
a136e8df465f055166717220bc8f18c9fd67a87d
[ "MIT" ]
null
null
null
//[app](../../index.md)/[danbroid.ipfsd.demo.sync](../index.md)/[AccountAuthenticator](index.md)/[getAuthTokenLabel](get-auth-token-label.md) # getAuthTokenLabel [androidJvm] Content open override fun [getAuthTokenLabel](get-auth-token-label.md)(authTokenType: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?
36.666667
244
0.738636
yue_Hant
0.152384
97fe34042cde783b81d95860051531441a6d08da
832
md
Markdown
README.md
UFHealth/eslint-config-ufhealth-wordpress
1b275d04fff686570528a6eb2d997114903753ca
[ "MIT" ]
null
null
null
README.md
UFHealth/eslint-config-ufhealth-wordpress
1b275d04fff686570528a6eb2d997114903753ca
[ "MIT" ]
null
null
null
README.md
UFHealth/eslint-config-ufhealth-wordpress
1b275d04fff686570528a6eb2d997114903753ca
[ "MIT" ]
null
null
null
# eslint-config-ufhealth-wordpress A shareable eslint config for WordPress-specific UF Health projects. Extends the [base ufhealth standard](https://github.com/ufhealth/eslint-config-ufhealth). ## Install ```bash yarn add -D eslint-config-ufhealth-wordpress ``` ## Usage [Shareable configs](http://eslint.org/docs/developer-guide/shareable-configs) are designed for use with the `extends` option of your `.eslintrc`. After installing, just add this to your `.eslintrc` file: ```json { "extends": "ufhealth-wordpress" } ``` That's basically it. Override any settings you want from this configuration by just adding them directly to your `.eslintrc` file. ## Changelog The [commit log](https://github.com/ufhealth/eslint-config-ufhealth-wordpress/commits/master) should be pretty readable. If it isn't, please yell at us.
29.714286
203
0.759615
eng_Latn
0.897091
97fef381158da8ffea0ca06a7da00e1664fd8966
747
md
Markdown
readme.md
andyljones/simple-transformer-xl
1ac8f8a9ec07474d38f40145b4a22208a2dc61b7
[ "Apache-2.0" ]
2
2020-04-30T16:30:00.000Z
2022-02-27T06:23:18.000Z
readme.md
andyljones/simple-transformer-xl
1ac8f8a9ec07474d38f40145b4a22208a2dc61b7
[ "Apache-2.0" ]
1
2019-12-28T14:02:26.000Z
2019-12-28T15:34:25.000Z
readme.md
andyljones/simple-transformer-xl
1ac8f8a9ec07474d38f40145b4a22208a2dc61b7
[ "Apache-2.0" ]
1
2019-12-13T12:56:55.000Z
2019-12-13T12:56:55.000Z
This is a simple PyTorch implementation of [the Transformer XL](https://arxiv.org/abs/1901.02860), with everything but the core functionality thrown out. This makes it a lot easier to follow, understand, and adapt. You will want to have [the paper](https://arxiv.org/abs/1901.02860) to hand as you read over the code. As well as [the implementation](transformer/transformer.py), there is [a simple demo to show that it can learn things LSTMs struggle with](transformer/demo.py). ### Credit The code follows from [Huggingface's adaptation](https://github.com/huggingface/transformers), which in turn comes from the [CMU/Google Brain version](https://github.com/kimiyoung/transformer-xl/tree/master/pytorch). Those both have a lot more features!
93.375
253
0.779116
eng_Latn
0.990579
97ff0673ab41cef5c96466245fcc35160f4c481c
4,374
md
Markdown
README.md
VictorioDev/remediatetheflag
2854f922bb84b7153f725b4e77fa9a8199f3bfa1
[ "Apache-2.0" ]
105
2017-11-09T20:54:48.000Z
2022-02-24T18:59:22.000Z
README.md
VictorioDev/remediatetheflag
2854f922bb84b7153f725b4e77fa9a8199f3bfa1
[ "Apache-2.0" ]
8
2018-10-31T19:01:09.000Z
2019-10-02T14:55:50.000Z
README.md
VictorioDev/remediatetheflag
2854f922bb84b7153f725b4e77fa9a8199f3bfa1
[ "Apache-2.0" ]
23
2017-05-02T15:03:03.000Z
2021-04-29T19:15:29.000Z
![logo](docs/img/logo_squared_small.png) # Remediate the Flag ### (Practical) Application Security Training Platform Developers aren’t born knowing how to code securely and appsec training is often boring and does not provide practical examples. For the business it is usually not possible to assess competency in secure coding and difficult to calculate ROI on security training. RTF is an open source Practical Application Security Training platform that *hosts* application security focused exercises. Candidates manually find, exploit, and manually remediate the code of a vulnerable application running in a disposable development environment accessed using a web browser. 100% hands-on training, no multiple choice questions involved. ![Picture1](docs/img/rtf_exercise.png) ### Functionalities - Run vulnerable exercises in docker containers running in a sandboxed environment in the cloud - Provide users *in seconds* with a turn-key development environment already configured with selected exercise - Exercise focus on exploitation/remediation or secure coding and target the most common application security issues - User is provided with automated results during the exercise to increase engagement - Deployable on AWS through CloudFormation, scales horizontally and vertically - Setup and Manage Organizations, Teams and Users - Get Stats at Organization, Region, Team and User level to quickly identify gaps - Setup Challenges targeting programming language or specific vulnerability classes - Reference the AppSecEU 2018 slides for a functional overview. ### AppSec Europe 2018 ### ![AppSecEU](docs/img/appseceu.png) Slides: [AppSecEU 2018 - Remediate The Flag](docs/AppSecEU18_RemediateTheFlag.pdf) ### How Does it Work? Candidates select an exercise, the RTF platform provisions a dedicated environment accessed through a web browser. Candidates then find and manually remediate vulnerable code in the RTF instance by referencing the instructions. Candidates can check in real time whether security issues were successfully remediated; they can take hints which affect their final score. When the exercise is completed, the platform provides automated results including code diff and logs. An assessor reviews the exercise results and, if necessary (wrong remediation approach), provides additional feedback to the candidate. The platform can be also setup for automated-only scoring. It is possible to setup time-boxed tournaments specifying programming languages, developer groups (frontend vs backend, web vs non-web) and target vulnerabilities. Points are used to rank candidates on a “Leaderboard” so that they can compare themselves to their peers. Full stats are provided at candidate, team and organisation level indicating remediation ratio and time spent on each type of vulnerability and aggregated on category types. The platform allows to add new exercises, and technologies and target any specific organization needs. ### Architecture [RTF Platform Architecture](docs/architecture.md) ### Platform Installation [RTF Platform Installation](docs/install.md) ### Platform Configuration ### [RTF Platform Configuration](docs/configure.md) ### Create New Exercise [Create New Exercise](docs/create.md) ### NEW RELEASE COMING SOON ### RTF v1.5 Highlights: - Exercises in Java, .NET, Ruby, NodeJS, GoLang, Python, Solidity - SDK for easy exercise creation - Improved Tournaments - Support for cluster-less deployments (Fargate) ### Recent Changes ### - Removed AWS Access Keys requirement, implemented IAM role for Portal container. - Completed Challenges flows - Automated Region selection based on ping time - Completed Exercise Update/Import/Export flows - Completed User update use case - Completed Organization update use case - Completed Reference and Solution documents for existing exercise - Published existing exercises as importable JSON - Turned Portal-App into Maven project. - Simplified IAM roles for Portal App - Configured Capabilities for Linux Containers (NET_ADMIN for iptables instead of privileged) - Updated RTF-Java-VApp-Exercise and RTF-Java Base docker images (better performances, bug fixes) - UX enhancements when running exercises (now it's all in one tab) ### Contacts ### [info@remediatetheflag.com](mailto:info@remediatetheflag.com)
40.878505
296
0.796296
eng_Latn
0.99295
97ff1c84d850fd71aa88fe32eb53e4a320cdcf8a
41
md
Markdown
README.md
gbbonev/TelerikStudyProjects
ed5e6fb8a72220cad50eda390bfec8a9211aed99
[ "MIT" ]
null
null
null
README.md
gbbonev/TelerikStudyProjects
ed5e6fb8a72220cad50eda390bfec8a9211aed99
[ "MIT" ]
null
null
null
README.md
gbbonev/TelerikStudyProjects
ed5e6fb8a72220cad50eda390bfec8a9211aed99
[ "MIT" ]
null
null
null
# TelerikStudyProjects Learning Projects
13.666667
22
0.878049
eng_Latn
0.641991
97ff5389e761831a28393d3464f92a77c783f0ef
1,493
md
Markdown
src/Functions/examples/New-AzFunctionApp.md
mbentancour/azure-powershell
142042fb26c23663340dbecd460bcd60866f6aca
[ "MIT" ]
3,336
2015-01-03T15:40:07.000Z
2022-03-31T09:53:06.000Z
src/Functions/examples/New-AzFunctionApp.md
mbentancour/azure-powershell
142042fb26c23663340dbecd460bcd60866f6aca
[ "MIT" ]
13,768
2015-01-03T14:50:54.000Z
2022-03-31T22:17:19.000Z
src/Functions/examples/New-AzFunctionApp.md
mbentancour/azure-powershell
142042fb26c23663340dbecd460bcd60866f6aca
[ "MIT" ]
3,968
2015-01-02T17:35:24.000Z
2022-03-30T13:51:31.000Z
### Example 1: Create a consumption PowerShell function app in Central US. ```powershell PS C:\> New-AzFunctionApp -Name MyUniqueFunctionAppName ` -ResourceGroupName MyResourceGroupName ` -Location centralUS ` -StorageAccount MyStorageAccountName ` -Runtime PowerShell ``` This command creates a consumption PowerShell function app in Central US. ### Example 2: Create a PowerShell function app which will be hosted in a service plan. ```powershell PS C:\> New-AzFunctionApp -Name MyUniqueFunctionAppName ` -ResourceGroupName MyResourceGroupName ` -PlanName MyPlanName ` -StorageAccount MyStorageAccountName ` -Runtime PowerShell ``` This command creates a PowerShell function app which will be hosted in a service plan. ### Example 3: Create a function app using a using a private ACR image. Note that the service plan and storage account must exist before this operation. ```powershell PS C:\> New-AzFunctionApp -Name MyUniqueFunctionAppName ` -ResourceGroupName MyResourceGroupName ` -PlanName MyPlanName ` -StorageAccount MyStorageAccountName ` -DockerImageName myacr.azurecr.io/myimage:tag ``` This command creates a function app using a using a private ACR image.
37.325
87
0.628935
eng_Latn
0.394781
3f0061f38fa7d731be81b69c24c4b3a837b57699
2,687
md
Markdown
mobile-blazor-bindings/advanced/dependency-injection.md
isabella232/mobile-blazor-bindings
b2a09ba344ff35556df2f24d58f7fd16541f5f60
[ "CC-BY-4.0", "MIT" ]
6
2020-07-30T06:36:12.000Z
2021-04-20T21:13:53.000Z
mobile-blazor-bindings/advanced/dependency-injection.md
MicrosoftDocs/mobile-blazor-bindings
b2a09ba344ff35556df2f24d58f7fd16541f5f60
[ "CC-BY-4.0", "MIT" ]
14
2020-07-28T18:13:37.000Z
2021-08-16T22:27:09.000Z
mobile-blazor-bindings/advanced/dependency-injection.md
isabella232/mobile-blazor-bindings
b2a09ba344ff35556df2f24d58f7fd16541f5f60
[ "CC-BY-4.0", "MIT" ]
7
2020-07-30T03:40:54.000Z
2021-11-04T12:38:24.000Z
--- title: 'Dependency Injection - Mobile Blazor Bindings' ms.topic: article ms.prod: aspnet-core --- # Dependency Injection [!INCLUDE [experiment-warning](../includes/experiment-warning.md)] Incorporating dependency injection into an application involves a few steps: 1. Defining an interface of class for the service. The weather app sample foregoes interface definitions due to the simple nature of the app, but would otherwise have an interface named `IWeatherService` with methods on it such as `WeatherReport GetWeatherReport()`. 1. Implementing the service interface with a concrete implementation. For example: ```c# public class WeatherService : IWeatherService { public WeatherReport GetWeatherReport() { // Get weather report data... return weatherReport; } } ``` 1. Registering the service with the host in `App.cs`'s constructor: ```c# var host = Host.CreateDefaultBuilder() .ConfigureServices((hostContext, services) => { // Register app-specific services services.AddSingleton<IWeatherService, WeatherService>(); }) .Build(); ``` Several registration methods for services are available on the [`ServiceCollectionServiceExtensions` class](https://docs.microsoft.com/dotnet/api/microsoft.extensions.dependencyinjection.servicecollectionserviceextensions). 1. Consuming the services. There are several ways to consume the services, and two of the most popular ways are: 1. Constructor injection in custom types also registered in the dependency injection container. To consume a service in this way, add a constructor parameter to your class that uses the service, and when that class is retrieved from the DI container, it will have its parameters populated with other services from the DI container. 1. Consuming services in `.razor` files is done with the `@inject` directive, which is used in the [`MainPage.razor` file](https://github.com/xamarin/MobileBlazorBindings/blob/master/samples/MobileBlazorBindingsWeather/MobileBlazorBindingsWeather/WeatherApp.razor#L1): ```c# @inject WeatherService WeatherService ``` Learn more about the `@inject` directive in the [Blazor documentation](https://docs.microsoft.com/aspnet/core/blazor/dependency-injection). > [!TIP] > In hybrid apps, services are shared between the native UI of the app, the web part of the app, and everywhere else. There are no special steps required to share services and state between areas of hybrid apps.
47.982143
337
0.708969
eng_Latn
0.979788
3f007a33d44be427e1177f0c39c27de484562161
99
md
Markdown
README.md
samotracio/beispiel
ab2e132aec681ede588d947112aae2b0e00d6b36
[ "MIT" ]
null
null
null
README.md
samotracio/beispiel
ab2e132aec681ede588d947112aae2b0e00d6b36
[ "MIT" ]
null
null
null
README.md
samotracio/beispiel
ab2e132aec681ede588d947112aae2b0e00d6b36
[ "MIT" ]
null
null
null
# beispiel This is just a test to see if it works **like it works good** Now adding some feature
14.142857
38
0.727273
eng_Latn
0.99999
3f00a063cc8a427240061ce17046fc1e211dcc1b
4,261
markdown
Markdown
_posts/2017-06-30-conference.markdown
hanhonglei/hanhonglei.github.io
ad917d7034382ceb6379a996e55721f856b3b8ee
[ "MIT" ]
null
null
null
_posts/2017-06-30-conference.markdown
hanhonglei/hanhonglei.github.io
ad917d7034382ceb6379a996e55721f856b3b8ee
[ "MIT" ]
5
2020-04-16T09:20:56.000Z
2021-09-27T20:51:52.000Z
_posts/2017-06-30-conference.markdown
hanhonglei/hanhonglei.github.io
ad917d7034382ceb6379a996e55721f856b3b8ee
[ "MIT" ]
null
null
null
--- layout: post title: Some game and computer graphics related conferences date: 2017-06-30 categories: article conference game develop student --- <!--more--> ## 1. [CHI PLAY: Student game design competition](http://chiplay.acm.org/2017/authors/student-game-design-competition/) The CHI PLAY Student Game Competition will provide a unique opportunity for students to showcase their interactive play systems and designs. Students will need to submit a video of their game as well as proof of student status (full-time or part-time, all levels up to Ph.D.). A jury panel will nominate the best submissions for an interactive presentation at the conference, where a panel of experts choose the winners. These nominated teams have to send at least one student member who will attend the conference. This team member is expected to present the game during the Student Game Competition Event and take part in the award ceremony. Supervisors are NOT accepted to present the game nor to accept the award. Registration and full attendance of at least one student from the team at the [CHI PLAY 2017](http://chiplay.acm.org/2017/) conference is mandatory. ## 2. [ACM Symposium on Virtual Reality Software and Technology (VRST)](https://vrst.acm.org/vrst2017/) The ACM Symposium on Virtual Reality Software and Technology (VRST) is an international forum for the exchange of experience and knowledge among researchers and developers concerned with virtual and augmented reality (VR/AR) software and technology. VRST provides an opportunity for VR/AR researchers to interact, share new results, show live demonstrations of their work, and discuss emerging directions for the field. The event is sponsored by ACM SIGCHI and SIGGRAPH. ## 3. [I3D: ACM SIGGRAPH Symposium on Interactive 3D Graphics and Games](http://i3dsymposium.github.io/2017/index.html) I3D is the leading conference for real time 3D computer graphics and human interaction. 2017 marks the 31st year since the first conference. We invite you to submit papers across the entire range of topics of interaction, interactive 3D graphics, and games. The fall deadline provides the perfect outlet for your summer work. As in the past, I3D will be held immediately before the Game Developers Conference (GDC), also in San Francisco. This is an excellent opportunity to attend both conferences and see both research and application in real time 3D computer graphics. ## 4. [CIG: IEEE Conference on Computational Intelligence and Games](http://www.ieee-cig.org/) Games can be used as a challenging scenery for benchmarking methods from computational intelligence since they provide dynamic and competitive elements that are germane to real-world problems. This conference brings together leading researchers and practitioners from academia and industry to discuss recent advances and explore future directions in this field. The IEEE Conference on Computational Intelligence and Games is the premier annual event for researchers applying computational and artificial intelligence techniques to games. The domain of the conference includes all sorts of CI/AI applied to all sorts of games, including board games, video games and mathematical games. ## 5. [The International Conference on E-learning and Games (Edutainment)](http://edutainment2017.org/index) The International Conference on E-learning and Games (Edutainment) has over the last decade become a major international event for academics, practitioners and industry experts which combines knowledge dissemination and exchange in the areas of education and entertainment. Edutainment stands for education and entertainment, and the event covers not only research-related issues for fields such as game-based learning but also the aspects of learning experiences which may be gained from different types of digital entertainment. <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-85986843-1', 'auto'); ga('send', 'pageview'); </script>
103.926829
866
0.794884
eng_Latn
0.995243
3f00cf0c00311d25358db14834411f5ab968ac1f
3,484
md
Markdown
services/meta-data-repository/README.md
BirdHighway/openintegrationhub
3d30a2a318264e7f32f57cc38738caf3c3f7da93
[ "Apache-2.0" ]
123
2018-08-17T21:39:49.000Z
2022-02-26T00:13:54.000Z
services/meta-data-repository/README.md
BirdHighway/openintegrationhub
3d30a2a318264e7f32f57cc38738caf3c3f7da93
[ "Apache-2.0" ]
714
2017-09-29T09:48:41.000Z
2022-03-11T09:24:12.000Z
services/meta-data-repository/README.md
BirdHighway/openintegrationhub
3d30a2a318264e7f32f57cc38738caf3c3f7da93
[ "Apache-2.0" ]
39
2017-09-29T09:43:33.000Z
2021-11-02T08:56:02.000Z
![alpha](https://img.shields.io/badge/Status-Alpha-yellowgreen.svg) <p align="center"> <img src="https://github.com/openintegrationhub/openintegrationhub/blob/master/Assets/medium-oih-einzeilig-zentriert.jpg" alt="Sublime's custom image" width="400"/> </p> The revolution in data synchronization — the Open Integration Hub enables simple data synchronization between any software applications and thus accelerates digitalisation Visit the official [Open Integration Hub homepage](https://www.openintegrationhub.org/) # Meta Data Repository (working title / codename: _TBD_) [Documentation on Swagger Hub](https://app.swaggerhub.com/apis/basaas5/metadata-service/0.0.2) ## Configuration See the default config in src/config/index.js The following list contains the environment variables you can set to configure the service: - **PORT** - Service port, _default_: 3000 - **BASE_URL** - Base URL for Schema endpoint, _default_: 'http://localhost' - **API_BASE** - API Base, _default_: 'api/v1' - **IAM_APIBASE** - IAM API Base, _default_: 'http://iam.openintegrationhub.com/api/v1' - **IAM_TOKEN** - Service token, _default_: 'token' - **IAM_TOKEN_API** - IAM token endpoint, _default_: 'http://iam.openintegrationhub.com/api/v1/tokens/ephemeral' - **INTROSPECT_TYPE** - Default token introspect method (basic or oidc), will be used if explicit http header is missing, _default_: 'basic' - **INTROSPECT_ENDPOINT_BASIC** - URL to basic introspect, _default_: 'http://iam.openintegrationhub.com/api/v1/tokens/introspect' - **INTROSPECT_ENDPOINT_OIDC** - URL to oidc introspect, _default_: 'https://iam.openintegrationhub.com/op/userinfo' - **IAM_OIDC_SERVICE_CLIENT_ID** - Oidc client id. _default_: 'id' - **IAM_OIDC_SERVICE_CLIENT_SECRET** - Oidc client secret, _default_: 3099 - **LOG_NAMESPACE** - Namespace for all emitted logs, _default_: 'meta-data-repository' - **LOG_LEVEL** - Set global log level, _default_: 'error' - **RABBITMQ_URI** - RabbitMQ for the OIH event bus; _default_: 'amqp://guest:guest@localhost:5672' - **MONGODB_CONNECTION** – MongoDB connection string to replica set, _default_: 'mongodb://localhost:27017/meta-data-repository?replicaSet=rs`' - **DEBUG_MODE** – Get additional debug log, _default_: 'false' - **PAGINATION_DEFAULT_PAGE** - Set default start page, _default_: 1 - **PAGINATION_PAGE_SIZE** - Set items per page, _default_: 30 --- ## Event controller Subscripes - **iam.tenant.deleted** - Deletes tenant domains and schemas Publishes - **metadata.domain.deleted** - **metadata.schema.created** - **metadata.schema.modified** - **metadata.schema.deleted** --- ## Development Install packages ```zsh npm i ``` Start local TBD ```zsh npm run start ``` Watch server and restart after code changes ```zsh npm run watch ``` Test TBD components ```zsh npm test ``` --- ## Install (minimal) In service root directory "openintegrationhub/services/meta-data-repository/" Setup .env.local ```zsh tee -a .env.local <<EOF MONGODB_CONNECTION={MONGODB_CONNECTION}/meta-data-repository LOG_LEVEL=error IAM_TOKEN=token DEBUG_MODE=false REFRESH_TIMEOUT=600 EXPIRATION_OFFSET=-100 PAGINATION_PAGE_SIZE=10 INTROSPECT_ENDPOINT_BASIC=http://iam.openintegrationhub.com/api/v1/tokens/introspect EOF ``` Build image ```zsh docker build . -t oih/meta-data-repository ``` Run container ```zsh docker run --rm -p 3000:3000 --env-file=".env.local" oih/meta-data-repository ``` Open your browser and connect to http://localhost:3000/api-docs
29.777778
171
0.751148
kor_Hang
0.208265
3f0187e4ba601486a0e90e64dd02b3adb556b016
429
md
Markdown
CHANGELOG.md
risadams/emend
66993136aaa9cd010982c902fc8af70194290b8b
[ "MIT" ]
null
null
null
CHANGELOG.md
risadams/emend
66993136aaa9cd010982c902fc8af70194290b8b
[ "MIT" ]
16
2021-11-01T09:19:11.000Z
2022-01-25T09:21:56.000Z
CHANGELOG.md
risadams/emend
66993136aaa9cd010982c902fc8af70194290b8b
[ "MIT" ]
null
null
null
# Change log ## v1.0.4 - Resolve #11 - ensure checking nulls on anchor tags with no href. ## v1.0.3 - Resolve #4 - init function now takes an option argument as opposed to a string salt. ## v1.0.2 - Fix #2 - Corrected an issue wherein the init loop was too greedy with anchor selection. ## v1.0.1 - Fix #1 - Corrected an issue wherein the init loop would end after the first non mailto link. ## v1.0.0 initial release.
19.5
94
0.699301
eng_Latn
0.997425
3f01f82dd4731886c08e6bff1cd348eeec08e70b
3,538
md
Markdown
week3.arm_basics/README.md
FflushLife/Caos-sems
bbb6324f8e61a3a062535b28dadbedabe9d6eabc
[ "MIT" ]
8
2020-10-09T17:09:18.000Z
2021-02-13T11:40:04.000Z
week3.arm_basics/README.md
FflushLife/Caos-sems
bbb6324f8e61a3a062535b28dadbedabe9d6eabc
[ "MIT" ]
null
null
null
week3.arm_basics/README.md
FflushLife/Caos-sems
bbb6324f8e61a3a062535b28dadbedabe9d6eabc
[ "MIT" ]
2
2020-11-10T15:42:00.000Z
2021-02-01T12:06:09.000Z
## Подготовка Первым делом, вам необходимо поставить пакет qemu-user. Найдите в интернете способ, как его поставить на вашу систему. Для debian ветки: ``` sudo apt install qemu-user ``` Затем запустите скрипт для установки необходимых пакетов для компиляции и запуска arm приложений: ``` ./start.sh ``` ## Компиляция: ``` /usr/local/bin/arm-gcc/bin/arm-linux-gnueabi-gcc -marm prog_name.S prog_name2.c prog_name3... -o prog_name ``` ## Запуск: ``` qemu-arm -L /usr/local/bin/arm-sysroot/ ./prog_name ``` ## Синтаксис: По умолчанию все вычисления происходят справа налево и результат кладется в самый первый аргумент. Arm имеет RISC архитектуру - то есть одинаковую длину команд. Обращаться к памяти можно только с помощью команд ldr, str. В общем случае, передавать информацию можно только между регистрами. ## Calling convention: Аргументы из си-функций передаются слева направо и кладутся в регистры r0-r3. Если их не хватает, то используется стек. За процесс складывания аргументов ответственен компилятор. ## Asm и bytecode Все ассемблерные команды - не более, чем набор байт. Каждая команда представима в виде опкода - определенная последовательность битов, кодирующая название команды и информацию об аргументах. Дальше процессор по хеш таблице, где ключом является имя команды, вызвает необходимую микрокоманду. ## Полезные материалы: [Официальная документация по Arm арихтектуре и ассемблеру](https://developer.arm.com/documentation/dui0068/b/) ## Простыми словами о сложном Здесь я хочу внести корректировки к сказанному [здесь](https://github.com/victor-yacovlev/mipt-diht-caos/tree/master/practice/asm/arm_basics) и показать, как можно искать информацию по этой теме. Ассемблерные команды называются инструкциями, из них состоит программа. В простейшем случае нам надо реализовать функцию, объявленную в Си коде, но не определенную там. Для этого нужно объявить метку в ассемблерном коде с названием, соответствующим метке (например, метка `f` из quad.S). Внутри метки надо писать код. Если передавались аргументы из Си функции, то они попадут соответственно в регистры r0-r3. Порядком передачи совокупно с другими правилами обращения с регистрами в вызываемой и вызывающих функциях называется `Calling convention` - соглашение о вызовах. Архитектура Arm поддерживает два типа команд - Arm и Thumb. Мы будем говорить именно про 32-х битный набор Arm. Thumb имеет меньшую длину команд - 16 бит за счет урезанного стандартного множества команд. Такой финт позволяет сократить размер программы. Список команд с объяснением их работы можно найти из официальной документации выше. Начать писать на Arm ассемблере можно уже сейчас. Следующим этапом будет понимание устройства стека - достаточно объемной памяти по сравнению с регистрами. О нем можно почитать [здесь](https://www.tutorialspoint.com/assembly_programming/assembly_procedures.htm#:~:text=A%20stack%20is%20an%20array,'top'%20of%20the%20stack.&text=The%20memory%20space%20reserved%20in,used%20for%20implementing%20the%20stack.). Стек в одной картинке - ![Stack](stack-convention.png) В данном разделе сайта можно найти и другую информацию про язык ассемблера, полезную для новичков, но следует учитывать, что примеры построены на Intel x86 архитектуре. Помимо стека, можно использовать память в куче. Но об этом уже в следующий раз. Итак, я постарался коротко обозреть основные части программы на языке ассемблера, чтобы вы понимали, какую информацию нужно искать. TODO: больше примеров и материалов ## Screencast [Смотреть](https://youtu.be/HbAuFNr3ZQg)
42.626506
263
0.802996
rus_Cyrl
0.979185
3f01fd84ac60b1eac03f4a2dc0e31667976c00da
11,484
md
Markdown
docs/vs-2015/install/create-an-offline-installation-of-visual-studio.md
mairaw/visualstudio-docs.pt-br
26480481c1cdab3e77218755148d09daec1b3454
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/vs-2015/install/create-an-offline-installation-of-visual-studio.md
mairaw/visualstudio-docs.pt-br
26480481c1cdab3e77218755148d09daec1b3454
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/vs-2015/install/create-an-offline-installation-of-visual-studio.md
mairaw/visualstudio-docs.pt-br
26480481c1cdab3e77218755148d09daec1b3454
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- title: Criar uma instalação offline do Visual Studio | Microsoft Docs ms.custom: '' ms.date: 11/15/2016 ms.prod: visual-studio-dev14 ms.reviewer: '' ms.suite: '' ms.technology: - vs-ide-install ms.tgt_pltfrm: '' ms.topic: article f1_keywords: - offline installation - offline install - ISO ms.assetid: 85d65709-42be-449f-9663-914bf1045089 caps.latest.revision: 22 author: TerryGLee ms.author: tglee manager: ghogen ms.openlocfilehash: 6d17d8e7e5edcff6913e0046f0b580362cbc4950 ms.sourcegitcommit: af428c7ccd007e668ec0dd8697c88fc5d8bca1e2 ms.translationtype: MT ms.contentlocale: pt-BR ms.lasthandoff: 11/16/2018 ms.locfileid: "51755658" --- # <a name="create-an-offline-installation-of-visual-studio"></a>Criar uma instalação offline do Visual Studio [!INCLUDE[vs2017banner](../includes/vs2017banner.md)] Para obter a documentação mais recente do Visual Studio 2017, consulte [instalar o Visual Studio 2017 em ambientes de rede não confiável ou de baixa largura de banda](https://docs.microsoft.com/visualstudio/install/install-vs-inconsistent-quality-network), ou [criar uma instalação de rede do Visual Studio 2017](https://docs.microsoft.com/visualstudio/install/create-a-network-installation-of-visual-studio) e [Considerações especiais para instalar o Visual Studio 2017 em um ambiente offline](https://docs.microsoft.com/visualstudio/install/install-visual-studio-in-offline-environment). Esta página descreve como instalar o Visual Studio 2015 quando você não está conectado à Internet. No entanto, para executar uma instalação "desconectada", primeiro você deve criar um layout de instalação offline usando um computador que está conectado à Internet. Veja como fazer isso. > [!IMPORTANT] > Se seu computador offline estiver executando o Windows 7 SP1 ou Windows Server 2008 R2, consulte as instruções especiais a [solução de problemas de uma instalação offline](#BKMK_tshoot) seção deste tópico. Você deve seguir estas instruções *antes de* instalar o Visual Studio 2015. ## <a name="BKMK_Offline"></a> Instalar com a criação de uma instalação offline #### <a name="to-create-an-offline-installation-layout"></a>Para criar um layout de instalação offline 1. Escolha a edição do Visual Studio que você deseja instalar a partir de [My.VisualStudio.com](https://my.visualstudio.com/downloads?q=visual%20studio%20Enterprise%202015) página de download. 2. Depois de baixar o instalador para um local no sistema de arquivos, execute "\<nome executável > /layout". Por exemplo, execute: `vs_enterprise.exe /layout D:\VisualStudio2015` Usando o `/layout` switch, você pode baixar a quase todos os pacotes de instalação, não apenas aqueles que se aplicam ao computador de download. Essa abordagem fornece os arquivos que você precisa executar esse instalador em qualquer lugar e pode ser útil se você quiser instalar os componentes que não foram instalados originalmente. 3. Depois de executar esse comando, uma caixa de diálogo será exibida que permite que você altere a pasta onde você deseja que o layout de instalação offline deve residir. Em seguida, clique o **baixar** botão. Quando o download do pacote for bem-sucedida, você verá uma mensagem que diz **instalação bem-sucedida! Todos os componentes especificados foram adquiridos com êxito.** 4. Localize a pasta que você especificou anteriormente. (Por exemplo, localize D:\VisualStudio2015). Esta pasta contém tudo o que você precisa para copiar para um local compartilhado ou a mídia de instalação. > [!CAUTION] > Atualmente, o SDK do Android não dá suporte a uma experiência de instalação offline. Se você instalar itens de instalação do SDK do Android em um computador que não está conectado à Internet, a instalação poderá falhar. Para obter mais informações, consulte a seção "Solução de problemas de uma instalação offline" neste tópico. 5. Execute a instalação do local do arquivo ou da mídia de instalação. ## <a name="updating-an-offline-installation"></a>Atualizando uma instalação offline Microsoft lançou várias atualizações para o Visual Studio 2015. Para atualizar sua instalação do Visual Studio, basta baixar a edição desejada da partir o [My.VisualStudio.com](https://my.visualstudio.com/downloads?q=visual%20studio%20Enterprise%202015) página de download. Em seguida, siga as etapas descritas neste tópico para criar um novo layout de instalação offline e, em seguida, usá-lo para atualizar sua cópia do Visual Studio 2015. ## <a name="BKMK_tshoot"></a> Solução de problemas de uma instalação offline Quando você faz instalação offline de seu cache de instalação offline, você pode ver mensagens de aviso sobre não ser possível instalar alguns componentes e pacotes. A tabela a seguir inclui soluções possíveis para esses cenários. | Componente ou pacote | Solução | |--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | O Dotfuscator e Analytics Community Edition 5.19.1 (para as edições Community, Professional e Enterprise do Visual Studio, como instalado em **Windows 7 SP1** e **Windows Server 2008 R2**) | Se o computador offline estiver executando **Windows 7 SP1** ou **Windows Server 2008 R2**, você deve executar as etapas a seguir antes de instalar o Visual Studio 2015:<br /><br /> 1. Configure um servidor web ou de arquivos para baixar os arquivos da CTL.<br /><br /> 2. Redirecione a URL de atualização automática da Microsoft para um ambiente desconectado.<br /><br /> Para obter mais informações, consulte o [configurar raízes confiáveis e certificados não permitidos](https://technet.microsoft.com/library/dn265983.aspx) página no site do Microsoft TechNet. | | Instalação do SDK do Android (nível de API) | Você deve ter uma conexão com a Internet para instalar os pacotes de SDK do Android (nível de API). Se você estiver em uma rede restrita, será necessário permitir o acesso às seguintes URLs ao instalar o Visual Studio:<br /><br /> - http://dl.google.com:443<br />- http://dl-ssl.google.com:443<br />- https://dl-ssl.google.com/android/repository/*<br /> <br />Para obter mais informações sobre como solucionar possíveis problemas com as configurações de proxy, consulte a [falhas (instalação do SDK do Android) atrás de um Proxy de instalação do Visual Studio 2015](https://blogs.msdn.microsoft.com/peterhauge/2016/09/22/visual-studio-2015-install-failures-android-sdk-setup-behind-a-proxy/) postagem de blog. | | Modelos de Item de extensibilidade do Visual Studio<br /><br /> Extensão do GitHub para Visual Studio<br /><br /> Ferramentas do PowerShell para Visual Studio | Se você não tiver uma conexão de internet quando você instala o Visual Studio 2015, você pode usar um feed offline para gerar o layout de instalação offline de especial. **Observação:** esse feed especial inclui as atualizações mais recentes para o Visual Studio 2015. <br /><br /> Para criar especiais feed offline, execute o seguinte comando: /layout *unidade:* \VisualStudio2015 /overridefeeduri *URL do feed xml*<br /><br /> Por exemplo, para um idioma inglês especial feed offline do Visual Studio 2015 Enterprise, execute:<br /><br /> `vs_enterprise_ENU.exe /layout D:\VisualStudio2015 /overridefeeduri "http://go.microsoft.com/fwlink/?LinkID=785882&clcid0x409"`<br /><br /> Para obter uma lista completa de URLs que você pode usar para criar um feed offline de especial no idioma de sua escolha, consulte a tabela a seguir. | Use as URLs a seguir para criar um feed offline especial de idioma específico, conforme descrito na tabela acima. | Idioma | URL | |-----------------------|-----------------------------------------------------------| | Chinês (simplificado) | http://go.microsoft.com/fwlink/?LinkID=785882&clcid=0x804 | | Chinês (tradicional) | http://go.microsoft.com/fwlink/?LinkID=785882&clcid=0x404 | | Tcheco | http://go.microsoft.com/fwlink/?LinkID=785882&clcid=0x405 | | Alemão | http://go.microsoft.com/fwlink/?LinkID=785882&clcid=0x407 | | Inglês | http://go.microsoft.com/fwlink/?LinkID=785882&clcid=0x409 | | Espanhol | http://go.microsoft.com/fwlink/?LinkID=785882&clcid=0xC0A | | Francês | http://go.microsoft.com/fwlink/?LinkID=785882&clcid=0x40C | | Italiano | http://go.microsoft.com/fwlink/?LinkID=785882&clcid=0x410 | | Japonês | http://go.microsoft.com/fwlink/?LinkID=785882&clcid=0x411 | | Coreano | http://go.microsoft.com/fwlink/?LinkID=785882&clcid=0x412 | | Polonês | http://go.microsoft.com/fwlink/?LinkID=785882&clcid=0x415 | | Português | http://go.microsoft.com/fwlink/?LinkID=785882&clcid=0x416 | | Russo | http://go.microsoft.com/fwlink/?LinkID=785882&clcid=0x419 | | Turco | http://go.microsoft.com/fwlink/?LinkID=785882&clcid=0x41F | ## <a name="see-also"></a>Consulte também [Instalar o Visual Studio]()
120.884211
1,071
0.579328
por_Latn
0.991154
3f034b7387aa41182f2b13a1f877af4ad0fbdf10
2,263
md
Markdown
docs/30-development/accessing-business-service-ui-0f1f92e.md
ashwanigl/btp-cloud-platform
056875dfcc24929b9f714b1f5663cc0755e6611d
[ "CC-BY-4.0" ]
12
2021-11-15T07:49:42.000Z
2022-03-03T16:46:14.000Z
docs/30-development/accessing-business-service-ui-0f1f92e.md
ashwanigl/btp-cloud-platform
056875dfcc24929b9f714b1f5663cc0755e6611d
[ "CC-BY-4.0" ]
51
2021-11-16T08:53:06.000Z
2022-03-30T13:53:31.000Z
docs/30-development/accessing-business-service-ui-0f1f92e.md
ashwanigl/btp-cloud-platform
056875dfcc24929b9f714b1f5663cc0755e6611d
[ "CC-BY-4.0" ]
24
2021-11-16T08:14:04.000Z
2022-03-19T09:54:21.000Z
<!-- loio0f1f92e047924fdebe63d5249f532cdd --> # Accessing Business Service UI This section provides information about accessing Business Services UIs that are stored in HTML5 Application Repository. Business Service UI's must be stored in HTML5 Application Repository and defined in their `manifest.json` files as `public: true` in order to be accessible from an application router application that is typically running in a different space than the Business Service space. In addition, dataSource URIs must be relative to the base URL, which means there is no need for a slash as the first character. The following is an example `manifest.json` file of a Business Service: > ### Sample Code: > ``` > { > “sap.app”: { > “id”:“com.sap.appbasic.country.list”, > “applicationVersion: { > “version”: “1.0.0” > }, > "dataSources": { > "mainService":{ > "uri": "odata/v2/countryservice", > "type": "OData" > } > }, > “sap.cloud”: { > "public": true, > “service”: “com.sap.appbasic.country“ > } > } > ``` A Business Service that exposes UI, must provide one or more `app-host` GUIDs in an `html5-apps-repo` block in VCAP\_SERVICES credentials. To access the Business Service UI, the URL request to the application router must contain a business service prefix, as in the following example of a request URL: > ### Sample Code: > ``` > https://tenant1.approuter-repo-examples.cfapps.sap.hana.ondemand.com/comsapappbasiccountry.comsapappbasicscountrylist/test/flpSandbox.html > ``` In this example, `comsapappbasiccountry` is the business service prefix which matches the `sap.cloud.service` attribute in the country service VCAP\_SERVICES credentials \(without dots\). The `comsapappbasicscountrylist` is the name of the HTML5 application as defined in the `app.id` attribute in the `manifest.json` file \(without dots\). **Related Information** [Integration with Business Services](integration-with-business-services-f6337cd.md "Application router supports integration with Business Services, which are a flavor of reuse-services.") [Accessing Business Service Data](accessing-business-service-data-783809d.md "This section describes how the application router accesses the Business Service data.")
45.26
402
0.741935
eng_Latn
0.953751
3f0368425d3959397279e2ffcc620f8ae10102d2
6,190
md
Markdown
virtualization/windowscontainers/quick-start/quick-start-images.md
kevpar/Virtualization-Documentation
4412583b77f3bb4b2ff834c7d3f1bdabac7aafee
[ "CC-BY-4.0", "MIT" ]
null
null
null
virtualization/windowscontainers/quick-start/quick-start-images.md
kevpar/Virtualization-Documentation
4412583b77f3bb4b2ff834c7d3f1bdabac7aafee
[ "CC-BY-4.0", "MIT" ]
null
null
null
virtualization/windowscontainers/quick-start/quick-start-images.md
kevpar/Virtualization-Documentation
4412583b77f3bb4b2ff834c7d3f1bdabac7aafee
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- title: Container Deployment Quick Start - Images description: Container deployment quick start keywords: docker, containers author: cwilhit ms.date: 09/26/2016 ms.topic: article ms.prod: windows-containers ms.service: windows-containers ms.assetid: 479e05b1-2642-47c7-9db4-d2a23592d29f --- # Automating Builds and Saving Images In the previous Windows Server quick start, a Windows container was created from a pre-created .Net Core sample. This exercise will detail automating container image creation using a Dockerfile, and storing container images in the Docker Hub public registry. This quick start is specific to Windows Server containers on Windows Server 2016 and will use the Windows Server Core container base image. Additional quick start documentation can be found in the table of contents on the left hand side of this page. **Prerequisites:** - One computer system (physical or virtual) running Windows Server 2016. - Configure this system with the Windows Container feature and Docker. For a walkthrough on these steps, see [Windows Containers on Windows Server](./quick-start-windows-server.md). - A Docker ID, this will be used to push a container image to Docker Hub. If you do not have a Docker ID, sign up for one at [Docker Cloud](https://cloud.docker.com/). ## 1. Container Image - Dockerfile Although a container can be manually created, modified, and then captured into a new container image, Docker includes a method for automating this process using a Dockerfile. For this exercise, a Docker ID is required. If you do not have a Docker ID, sign up for one at [Docker Cloud]( https://cloud.docker.com/). On the container host, create a directory `c:\build`, and in this directory create a file named `Dockerfile`. Note – the file should not have a file extension. ``` powershell new-item c:\build\Dockerfile -Force ``` Open the Dockerfile in notepad. ``` notepad c:\build\Dockerfile ``` Copy the following text into the Dockerfile, and save the file. These commands instruct Docker to create a new image, using `microsoft/iis` as the base. The dockerfile then runs the commands specified in the `RUN` instruction, in this case the index.html file is updated with new content. For more information on Dockerfiles, see the [Dockerfiles on Windows](../manage-docker/manage-windows-dockerfile.md). ``` FROM microsoft/iis RUN echo "Hello World - Dockerfile" > c:\inetpub\wwwroot\index.html ``` The `docker build` command will start the image build process. The `-t` parameter instructs the build process to name the new image `iis-dockerfile`. **Replace 'user' with the user name of your Docker account**. If you do not have an account with Docker, sign up for one at [Docker Cloud](https://cloud.docker.com/). ``` docker build -t <user>/iis-dockerfile c:\Build ``` When completed, you can verify that the image has been created using the `docker images` command. ``` docker images REPOSITORY TAG IMAGE ID CREATED SIZE iis-dockerfile latest 8d1ab4e7e48e 2 seconds ago 9.483 GB microsoft/iis windowsservercore c26f4ceb81db 2 weeks ago 9.48 GB windowsservercore 10.0.14300.1000 dbfee88ee9fd 8 weeks ago 9.344 GB windowsservercore latest dbfee88ee9fd 8 weeks ago 9.344 GB ``` Now, deploy a container with the following command, again replacing user with your Docker ID. ``` docker run -d -p 80:80 <user>/iis-dockerfile ping -t localhost ``` Once the container has been created, browse to the IP address of the container host. You should see the hello world application. ![](media/dockerfile2.png) Back on the container host, use `docker ps` to get the name of the container, and `docker rm` to remove the container. Note – replace the name of the container in this example with the actual container name. Get container name. ``` docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES c1dc6c1387b9 iis-dockerfile "ping -t localhost" About a minute ago Up About a minute 0.0.0.0:80->80/tcp cranky_brown ``` Stop container. ``` docker stop <container name> ``` Remove container. ``` docker rm -f <container name> ``` ## 2. Docker Push Docker container images can be stored in a container registry. Once an image is stored in a registry, it can be retrieved for later use across many different container hosts. Docker provides a public registry for storing container images at [Docker Hub](https://hub.docker.com/). For this exercise, the custom hello world image will be pushed to your own account on Docker Hub. First, login to your docker account using the `docker login command`. ``` docker login Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one. Username: user Password: Password Login Succeeded ``` Once logged in, the container image can be pushed to Docker Hub. To do so, use the `docker push` command. **Replace 'user' with your Docker ID**. ``` docker push <user>/iis-dockerfile ``` The container image can now be downloaded from Docker Hub onto any Windows container host using `docker pull`. For this tutorial, we will delete the existing image, and then pull it down from Docker Hub. ``` docker rmi <user>/iis-dockerfile ``` Running `docker images` will show that the image has been removed. ``` docker images REPOSITORY TAG IMAGE ID CREATED SIZE modified-iis latest 51f1fe8470b3 5 minutes ago 7.69 GB microsoft/iis latest e4525dda8206 3 hours ago 7.61 GB ``` Finally, docker pull can be used to pull the image back onto the container host. Replace user with the user name of your Docker account. ``` docker pull <user>/iis-dockerfile ``` ## Next Steps If you would like to see how to package a sample ASP.NET application, visit the Windows 10 tutorials linked below. [Windows Containers on Windows 10](./quick-start-windows-10.md)
40.723684
316
0.721486
eng_Latn
0.976026
3f03bface3fdab3ed5708059559d24b633e1bf6b
661
md
Markdown
_posts/2013-07-04-first-blog-post.md
Hjack/hjack.github.com
827d712648274b50d68b406d2b86d9fd65ba1bbd
[ "MIT" ]
null
null
null
_posts/2013-07-04-first-blog-post.md
Hjack/hjack.github.com
827d712648274b50d68b406d2b86d9fd65ba1bbd
[ "MIT" ]
null
null
null
_posts/2013-07-04-first-blog-post.md
Hjack/hjack.github.com
827d712648274b50d68b406d2b86d9fd65ba1bbd
[ "MIT" ]
null
null
null
--- layout: post title: "Deep Dive into Rails" description: "" <!-- categories: jekyll update --> --- {% include JB/setup %} Week 5 of the Portland Code School was short due to Independence Day. Although it was a short week, it was extremely busy. I began working with Ruby on Rails and Sinatra this week. It felt good to be able to finally dive into these frameworks. The previous 4 weeks have been interesting and I'm glad to be at the point of building an actual web application. In addition to learning Rails and Sinatra, we also formed groups for a 4 week project. I'm looking forward to my group and I contributing to an open source project soon!
55.083333
361
0.753404
eng_Latn
0.999879
3f03fd7bb9ab55e24ffb532fa0e9550e12fd8120
2,224
md
Markdown
README.md
whoopnip/project-report
b08e78fd864ebd7f48443b2d58c89661c1adcab7
[ "MIT" ]
null
null
null
README.md
whoopnip/project-report
b08e78fd864ebd7f48443b2d58c89661c1adcab7
[ "MIT" ]
null
null
null
README.md
whoopnip/project-report
b08e78fd864ebd7f48443b2d58c89661c1adcab7
[ "MIT" ]
null
null
null
[![](https://codecov.io/gh/nickderobertis/project-report/branch/master/graph/badge.svg)](https://codecov.io/gh/nickderobertis/project-report) [![PyPI](https://img.shields.io/pypi/v/project-report)](https://pypi.org/project/project-report/) ![PyPI - License](https://img.shields.io/pypi/l/project-report) [![Documentation](https://img.shields.io/badge/documentation-pass-green)](https://nickderobertis.github.io/project-report/) ![Tests Run on Ubuntu Python Versions](https://img.shields.io/badge/Tests%20Ubuntu%2FPython-3.8%20%7C%203.9%20%7C%203.10-blue) ![Tests Run on Macos Python Versions](https://img.shields.io/badge/Tests%20Macos%2FPython-3.8%20%7C%203.9%20%7C%203.10-blue) ![Tests Run on Windows Python Versions](https://img.shields.io/badge/Tests%20Windows%2FPython-3.8%20%7C%203.9%20%7C%203.10-blue) [![Github Repo](https://img.shields.io/badge/repo-github-informational)](https://github.com/nickderobertis/project-report/) # project-report ## Overview Find software projects, analyze them, and output a report. ## Getting Started Install `project-report`: ``` pip install project-report ``` A simple example: ```python import projectreport # Do something with projectreport ``` See a [more in-depth tutorial here.]( https://nickderobertis.github.io/project-report/tutorial.html ) ## Development Status This project is currently in early-stage development. There may be breaking changes often. While the major version is 0, minor version upgrades will often have breaking changes. ## Developing First ensure that you have `pipx` installed, if not, install it with `pip install pipx`. Then clone the repo and run `npm install` and `pipenv sync`. Run `pipenv shell` to use the virtual environment. Make your changes and then run `nox` to run formatting, linting, and tests. Develop documentation by running `nox -s docs` to start up a dev server. To run tests only, run `nox -s test`. You can pass additional arguments to pytest by adding them after `--`, e.g. `nox -s test -- -k test_something`. ## Author Created by Nick DeRobertis. MIT License. ## Links See the [documentation here.]( https://nickderobertis.github.io/project-report/ ) ## Author Created by Nick DeRobertis. MIT License.
30.465753
141
0.75045
eng_Latn
0.726848
3f04b5c50f9159d1e0dbe4be2412344982f7195b
912
md
Markdown
docs/sword-offer-by-JavaScript/04.array-30.md
Carloin/myblog_local
37791cfef4f8b7db6a2463efd73e2e220d10d2d2
[ "MIT" ]
1
2021-03-07T13:27:50.000Z
2021-03-07T13:27:50.000Z
docs/sword-offer-by-JavaScript/04.array-30.md
Carloin/myblog_local
37791cfef4f8b7db6a2463efd73e2e220d10d2d2
[ "MIT" ]
null
null
null
docs/sword-offer-by-JavaScript/04.array-30.md
Carloin/myblog_local
37791cfef4f8b7db6a2463efd73e2e220d10d2d2
[ "MIT" ]
null
null
null
<!-- * @Author: hft * @Date: 2021-09-23 14:21:23 * @LastEditors: hft * @LastEditTime: 2021-11-09 16:20:22 * @Description: file content --> <Visitors mydate='2021-04-12'/> # 连续子数组的最大和 ## 描述 输入一个整型数组,数组里有正数也有负数。数组中的一个或连续多个整数组成一个子数组。求所有子数组的和的最大值。要求时间复杂度为 O(n). 输入 [1,-2,3,10,-4,7,2,-5] 返回值 18 说明 输入的数组为{1,-2,3,10,—4,7,2,一 5},和最大的子数组为{3,10,一 4,7,2},因此输出为该子数组的和 18。 ## 思路 数组分析:下图是我们计算数组(1,-2,3,10,-4,7,2,-5)中子数组的最大和的过程。通过分析我们发现,累加的子数组和,如果大于零,那么我们继续累加就行;否则,则需要剔除原来的累加和重新开始。 过程如下: ![](~@/sword-offer-by-JavaScript/04/02.jpg) ## 代码 ```javascript function FindGreatestSumOfSubArray(array) { if (!array) return 0; let maxSum = array[0]; let curSum = array[0]; let len = array.length; for (var item of array.slice(1, len)) { if (curSum <= 0) { curSum = item; } else { curSum += item; } if (curSum > maxSum) { maxSum = curSum; } } return maxSum; } ```
16
100
0.621711
yue_Hant
0.421495
3f05a5cf71ca57e8d8c420ca1606d21763ea4e9a
2,297
md
Markdown
src/pages/2011-09-13-slutet-p-photoshop-eran.md
eldh/eldh.co
e11691db31c1aef3115746e81ca0e84db1993960
[ "MIT" ]
null
null
null
src/pages/2011-09-13-slutet-p-photoshop-eran.md
eldh/eldh.co
e11691db31c1aef3115746e81ca0e84db1993960
[ "MIT" ]
null
null
null
src/pages/2011-09-13-slutet-p-photoshop-eran.md
eldh/eldh.co
e11691db31c1aef3115746e81ca0e84db1993960
[ "MIT" ]
null
null
null
--- date: '2011-09-13T00:00:00.000Z' categories: [design, web, photoshop, css3, spaning, tankar] created: 1315934484 title: 'Slutet på Photoshop-eran' language: swedish --- Läste <a href="http://lukesbeard.com/posts/zerply-frontend/">den här texten av Luke Beard</a>, om hur han har jobbat när han designar <a href="http://www.zerply.com">Zerply</a> — en text som jag i högsta grad rekommenderar för alla med intresse för design eller webutveckling. Och det slog mig att en era i designhistorien är över. Photoshop är dött. För bara något år sedan designades hemsidor helt och hållet i Photoshop (eller kanske Illustrator) och sedan fick en kodapa i uppdrag att pixel för pixel överföra .psd-filen till html och css, trots att produkten aldrig varit särskilt väl anpassad för det (försök skapa en animerad .gif i PS på ett smidigt sätt om du kan). Skuggor, knappar, texter, bakgrunder; allt gjordes i Photoshop. Nu kan allt göras med CSS, och vill man göra designer som fungerar för flera plattformar, med olika pixeldensitet, blir pixelkavlande snabbt frustrerande. En designer som vill göra ett bra jobb måste ha bra koll på CSS och exempelvis jQuery. Framtiden finns i webbläsaren. Den grafiken som finns kvar blir också i större utsträckning vektorbaserad allt eftersom .svg-filer blir mer och mer vanliga, vilket gör att även Illustrator vinner mark mot sin pixelälskande bror. Foton har också varit Photoshops domän i stor utsträckning. Det är nog inte bara en hemmapappa som har tankat ned Photoshop från piratbukten och sedan bara använt det till att beskära bilder. Program som Picasa, iPhoto och även mer seriösa fotohanteringsprogram som Aperture och Adobes eget Lightroom, samt förstås Instagram, Hipstamatic och resten av mobilboomen, har gjort att bara ett tappert fåtal sitter med semesterfotografierna i Photoshop fortfarande. Självklart kommer Photoshop inte upphöra att existera. Däremot kommer det att återgå till att användas till de saker som det är riktigt bra på: avancerad fotoredigering och avancerad pixelgrafik. Där är det bäst och lär så förbli ett tag till (även om program som <a href="http://www.pixelmator.com">Pixelmator</a> och webbaserade alternativ som <a href="http://www.aviary.com/">aviary</a> kommer att finna sin plats på marknaden).
135.117647
859
0.790596
swe_Latn
0.999989
3f05b67d8a3ffdd368429e419b2c8ffeb38d4982
11,186
md
Markdown
docs/framework/wpf/advanced/weak-event-patterns.md
Miguel-byte/docs.es-es
eef17a7258534b8a86342a553e2efeac7dcb711d
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/framework/wpf/advanced/weak-event-patterns.md
Miguel-byte/docs.es-es
eef17a7258534b8a86342a553e2efeac7dcb711d
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/framework/wpf/advanced/weak-event-patterns.md
Miguel-byte/docs.es-es
eef17a7258534b8a86342a553e2efeac7dcb711d
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- title: Modelos de evento débil ms.date: 03/30/2017 helpviewer_keywords: - weak event pattern implementation [WPF] - event handlers [WPF], weak event pattern - IWeakEventListener interface [WPF] ms.assetid: e7c62920-4812-4811-94d8-050a65c856f6 ms.openlocfilehash: f4cbb22a3cdd7b966c36f6c8246b13b5c58e056d ms.sourcegitcommit: 005980b14629dfc193ff6cdc040800bc75e0a5a5 ms.translationtype: MT ms.contentlocale: es-ES ms.lasthandoff: 09/14/2019 ms.locfileid: "70991787" --- # <a name="weak-event-patterns"></a>Modelos de evento débil En las aplicaciones, es posible que los controladores asociados a los orígenes de eventos no se destruyan en coordinación con el objeto de agente de escucha que adjuntó el controlador al origen. Esta situación puede provocar pérdidas de memoria. [!INCLUDE[TLA#tla_winclient](../../../../includes/tlasharptla-winclient-md.md)]presenta un modelo de diseño que se puede usar para solucionar este problema, proporcionando una clase de administrador dedicada para eventos concretos e implementando una interfaz en agentes de escucha para ese evento. Este modelo de diseño se conoce como el *patrón de evento débil*. ## <a name="why-implement-the-weak-event-pattern"></a>¿Por qué implementar el patrón de evento débil? La escucha de eventos puede dar lugar a pérdidas de memoria. La técnica típica para escuchar un evento es usar la sintaxis específica del lenguaje que asocia un controlador a un evento en un origen. Por ejemplo, en C#, esa sintaxis es: `source.SomeEvent += new SomeEventHandler(MyEventHandler)`. Esta técnica crea una referencia segura desde el origen de eventos al agente de escucha de eventos. Normalmente, al adjuntar un controlador de eventos para un agente de escucha, el agente de escucha tiene una duración de objeto que se ve afectada por la duración del objeto del origen (a menos que se quite explícitamente el controlador de eventos). Pero en determinadas circunstancias, puede que desee que la duración del objeto del agente de escucha se controle por otros factores, como si actualmente pertenece al árbol visual de la aplicación, y no por la duración del origen. Cuando la duración del objeto de origen se extiende más allá de la duración del objeto del agente de escucha, el patrón de evento normal conduce a una fuga de memoria: el agente de escucha se mantiene activo más tiempo del previsto. El patrón de evento débil está diseñado para resolver este problema de pérdida de memoria. El patrón de evento débil se puede usar siempre que un agente de escucha debe registrarse para un evento, pero el agente de escucha no sabe explícitamente Cuándo se debe anular el registro. El patrón de evento débil también se puede usar cuando la duración del objeto del origen supera la duración útil del objeto del agente de escucha. (En este *caso, lo* determina el usuario). El modelo de evento débil permite al agente de escucha registrarse y recibir el evento sin afectar a las características de la duración de los objetos del agente de escucha de ninguna manera. En efecto, la referencia implícita del origen no determina si el agente de escucha es válido para la recolección de elementos no utilizados. La referencia es una referencia débil, por lo tanto, la denominación del modelo de evento débil y las API relacionadas. El agente de escucha se puede recolectar o destruir de otro modo, y el origen puede continuar sin conservar las referencias de controlador no recopilables a un objeto ya destruido. ## <a name="who-should-implement-the-weak-event-pattern"></a>¿Quién debe implementar el patrón de evento débil? Implementar el patrón de evento débil es interesante principalmente para los autores de controles. Como autor de un control, es principalmente responsable del comportamiento y la contención del control y el impacto que tiene en las aplicaciones en las que se inserta. Esto incluye el comportamiento de duración del objeto de control, en particular el control del problema de pérdida de memoria que se describe. Ciertos escenarios se prestan de forma inherente a la aplicación del modelo de evento débil. Uno de estos escenarios es el enlace de datos. En el enlace de datos, es habitual que el objeto de origen sea completamente independiente del objeto de agente de escucha, que es un destino de un enlace. Muchos aspectos del [!INCLUDE[TLA2#tla_winclient](../../../../includes/tla2sharptla-winclient-md.md)] enlace de datos ya tienen el patrón de evento débil aplicado en cómo se implementan los eventos. ## <a name="how-to-implement-the-weak-event-pattern"></a>Cómo implementar el patrón de evento débil Hay tres maneras de implementar el patrón de evento débil. En la tabla siguiente se enumeran los tres enfoques y se proporcionan instrucciones sobre cuándo se debe utilizar cada uno de ellos. |Enfoque|Cuándo implementar| |--------------|-----------------------| |Usar una clase de administrador de eventos débiles existente|Si el evento al que desea suscribirse tiene un correspondiente <xref:System.Windows.WeakEventManager>, use el administrador de eventos débiles existente. Para obtener una lista de los administradores de eventos débiles que se incluyen con WPF, vea la jerarquía <xref:System.Windows.WeakEventManager> de herencia en la clase. Dado que los administradores de eventos débiles incluidos están limitados, probablemente tendrá que elegir uno de los otros enfoques.| |Usar una clase genérica de administrador de eventos débiles|Usar una genérica <xref:System.Windows.WeakEventManager%602> cuando una existente <xref:System.Windows.WeakEventManager> no está disponible, desea una manera fácil de implementar y no le preocupa la eficacia. El genérico <xref:System.Windows.WeakEventManager%602> es menos eficaz que un administrador de eventos débil existente o personalizado. Por ejemplo, la clase genérica realiza más reflexión para detectar el evento dado el nombre del evento. Además, el código para registrar el evento utilizando el genérico <xref:System.Windows.WeakEventManager%602> es más detallado que el uso de un existente o personalizado. <xref:System.Windows.WeakEventManager>| |Creación de una clase de administrador de eventos débiles personalizada|Cree un personalizado <xref:System.Windows.WeakEventManager> cuando un existente <xref:System.Windows.WeakEventManager> no esté disponible y desee obtener la máxima eficacia. El uso de <xref:System.Windows.WeakEventManager> un personalizado para suscribirse a un evento será más eficaz, pero incurrirá en el costo de escribir más código al principio.| |Usar un administrador de eventos débil de terceros|NuGet tiene [varios administradores de eventos débiles](https://www.nuget.org/packages?q=weak+event+manager&prerel=false) y muchos marcos de WPF también admiten el patrón (por ejemplo, consulte la [documentación de Prism sobre la suscripción a eventos de acoplamiento flexible](https://github.com/PrismLibrary/Prism-Documentation/blob/master/docs/wpf/Communication.md#subscribing-to-events)).| En las secciones siguientes se describe cómo implementar el patrón de evento débil. Para los fines de este debate, el evento al que se va a suscribir tiene las siguientes características. - El nombre del evento `SomeEvent`es. - El evento es desencadenado por `EventSource` la clase. - El controlador de eventos tiene el `SomeEventEventHandler` tipo: `EventHandler<SomeEventEventArgs>`(o). - El evento pasa un parámetro de tipo `SomeEventEventArgs` a los controladores de eventos. ### <a name="using-an-existing-weak-event-manager-class"></a>Usar una clase de administrador de eventos débiles existente 1. Busque un administrador de eventos débil existente. Para obtener una lista de los administradores de eventos débiles que se incluyen con WPF, vea la jerarquía <xref:System.Windows.WeakEventManager> de herencia en la clase. 2. Use el nuevo administrador de eventos débiles en lugar del enlace de eventos normal. Por ejemplo, si el código usa el siguiente patrón para suscribirse a un evento: ```csharp source.SomeEvent += new SomeEventEventHandler(OnSomeEvent); ``` Cámbielo al siguiente patrón: ```csharp SomeEventWeakEventManager.AddHandler(source, OnSomeEvent); ``` Del mismo modo, si el código usa el siguiente patrón para cancelar la suscripción a un evento: ```csharp source.SomeEvent -= new SomeEventEventHandler(OnSomeEvent); ``` Cámbielo al siguiente patrón: ```csharp SomeEventWeakEventManager.RemoveHandler(source, OnSomeEvent); ``` ### <a name="using-the-generic-weak-event-manager-class"></a>Usar la clase Generic Event Manager débil 1. Use la clase <xref:System.Windows.WeakEventManager%602> genérica en lugar del enlace de eventos normal. Cuando se usa <xref:System.Windows.WeakEventManager%602> para registrar agentes de escucha de eventos, se proporciona el origen <xref:System.EventArgs> del evento y el tipo como parámetros de tipo a <xref:System.Windows.WeakEventManager%602.AddHandler%2A> la clase y se llama a tal como se muestra en el código siguiente: ```csharp WeakEventManager<EventSource, SomeEventEventArgs>.AddHandler(source, "SomeEvent", source_SomeEvent); ``` ### <a name="creating-a-custom-weak-event-manager-class"></a>Creación de una clase personalizada de administrador de eventos débiles 1. Copie la siguiente plantilla de clase en el proyecto. Esta clase hereda de la <xref:System.Windows.WeakEventManager> clase. [!code-csharp[WeakEvents#WeakEventManagerTemplate](~/samples/snippets/csharp/VS_Snippets_Wpf/WeakEvents/CSharp/WeakEventManagerTemplate.cs#weakeventmanagertemplate)] 2. Reemplace el `SomeEventWeakEventManager` nombre por su propio nombre. 3. Reemplace los tres nombres descritos anteriormente con los nombres correspondientes del evento. (`SomeEvent`, `EventSource`y )`SomeEventEventArgs` 4. Establezca la visibilidad (pública/interna/privada) de la clase débil de Event Manager en la misma visibilidad que el evento que administra. 5. Use el nuevo administrador de eventos débiles en lugar del enlace de eventos normal. Por ejemplo, si el código usa el siguiente patrón para suscribirse a un evento: ```csharp source.SomeEvent += new SomeEventEventHandler(OnSomeEvent); ``` Cámbielo al siguiente patrón: ```csharp SomeEventWeakEventManager.AddHandler(source, OnSomeEvent); ``` Del mismo modo, si el código usa el siguiente patrón para cancelar la suscripción a un evento: ```csharp source.SomeEvent -= new SomeEventEventHandler(OnSome); ``` Cámbielo al siguiente patrón: ```csharp SomeEventWeakEventManager.RemoveHandler(source, OnSomeEvent); ``` ## <a name="see-also"></a>Vea también - <xref:System.Windows.WeakEventManager> - <xref:System.Windows.IWeakEventListener> - [Información general sobre eventos enrutados](routed-events-overview.md) - [Información general sobre el enlace de datos](../data/data-binding-overview.md)
80.47482
1,107
0.772752
spa_Latn
0.99029
3f05f31bd096968c28f3e38b7cec2d8b0d83c5e3
3,060
md
Markdown
curriculum/challenges/italian/02-javascript-algorithms-and-data-structures/regular-expressions/reuse-patterns-using-capture-groups.md
shaffiqv/freeCodeCamp
0d6bfaa4d4b66ebba62f87c3c5ba5d344697ea69
[ "BSD-3-Clause" ]
2
2021-07-11T19:37:27.000Z
2021-07-11T19:37:30.000Z
curriculum/challenges/italian/02-javascript-algorithms-and-data-structures/regular-expressions/reuse-patterns-using-capture-groups.md
shaffiqv/freeCodeCamp
0d6bfaa4d4b66ebba62f87c3c5ba5d344697ea69
[ "BSD-3-Clause" ]
327
2020-08-26T16:07:12.000Z
2022-03-31T19:03:29.000Z
curriculum/challenges/italian/02-javascript-algorithms-and-data-structures/regular-expressions/reuse-patterns-using-capture-groups.md
shaffiqv/freeCodeCamp
0d6bfaa4d4b66ebba62f87c3c5ba5d344697ea69
[ "BSD-3-Clause" ]
1
2016-07-13T02:00:31.000Z
2016-07-13T02:00:31.000Z
--- id: 587d7dbb367417b2b2512baa title: Riutilizzare i pattern usando i gruppi di cattura challengeType: 1 forumTopicId: 301364 dashedName: reuse-patterns-using-capture-groups --- # --description-- Alcuni pattern che cerchi si verificheranno più volte in una stringa. È una perdita di tempo ripetere manualmente quell'espressione regolare. C'è un modo migliore per specificare quando si hanno più sottostringhe ripetute nella stringa. È possibile cercare sottostringhe ripetute utilizzando i <dfn>gruppi di cattura</dfn>. Le parentesi, `(` e `)`, sono usate per trovare sottostringhe ripetute. Metti tra le parentesi l'espressione regolare del pattern che si ripeterà. Per specificare dove apparirà quella stringa ripetuta, si utilizza una barra rovesciata (`\`) e quindi un numero. Questo numero inizia da 1 e aumenta con ogni gruppo di cattura aggiuntivo che utilizzi. Un esempio potrebbe essere `\1` per abbinare il primo gruppo. L'esempio sottostante riconosce qualsiasi parola che compare due volte separata da uno spazio: ```js let repeatStr = "regex regex"; let repeatRegex = /(\w+)\s\1/; repeatRegex.test(repeatStr); repeatStr.match(repeatRegex); ``` La chiamata a `test` restituirà `true` e la chiamata a `match` restituirà `["regex regex", "regex"]`. Usando il metodo `.match()` su una stringa esso restituirà un array con la stringa che corrisponde, insieme al suo gruppo di cattura. # --instructions-- Usa i gruppi di cattura in `reRegex` per riconoscere una stringa che consiste solo dello stesso numero ripetuto esattamente tre volte separato da spazi singoli. # --hints-- La tua espressione regolare dovrebbe usare la classe scorciatoria di carattere per le cifre. ```js assert(reRegex.source.match(/\\d/)); ``` La tua espressione regolare dovrebbe riutilizzare un gruppo di cattura due volte. ```js assert(reRegex.source.match(/\\1|\\2/g).length >= 2); ``` La tua espressione regolare dovrebbe riconoscere la stringa `42 42 42`. ```js assert(reRegex.test('42 42 42')); ``` La tua espressione regolare dovrebbe riconoscere la stringa `100 100 100`. ```js assert(reRegex.test('100 100 100')); ``` La tua espressione regolare non dovrebbe riconoscere la stringa `42 42 42 42`. ```js assert.equal('42 42 42 42'.match(reRegex.source), null); ``` La tua espressione regolare non dovrebbe riconoscere la stringa `42 42`. ```js assert.equal('42 42'.match(reRegex.source), null); ``` La tua espressione regolare non dovrebbe riconoscere la stringa `101 102 103`. ```js assert(!reRegex.test('101 102 103')); ``` La tua espressione regolare non dovrebbe riconoscere la stringa `1 2 3`. ```js assert(!reRegex.test('1 2 3')); ``` La tua espressione regolare dovrebbe riconoscere la stringa `10 10 10`. ```js assert(reRegex.test('10 10 10')); ``` # --seed-- ## --seed-contents-- ```js let repeatNum = "42 42 42"; let reRegex = /change/; // Change this line let result = reRegex.test(repeatNum); ``` # --solutions-- ```js let repeatNum = "42 42 42"; let reRegex = /^(\d+)\s\1\s\1$/; let result = reRegex.test(repeatNum); ```
28.598131
263
0.736928
ita_Latn
0.996843
3f0604616e8c29595d65e5f6a070f9e6dc49bcc2
65
md
Markdown
obj/README.md
tpimh/CadZinho
5157ad9b0740112bc84893e9c5e2cd3067347193
[ "MIT" ]
74
2018-10-10T20:00:00.000Z
2022-03-14T16:34:14.000Z
obj/README.md
tpimh/CadZinho
5157ad9b0740112bc84893e9c5e2cd3067347193
[ "MIT" ]
18
2018-11-10T23:57:27.000Z
2022-03-21T11:16:10.000Z
obj/README.md
tpimh/CadZinho
5157ad9b0740112bc84893e9c5e2cd3067347193
[ "MIT" ]
14
2018-11-11T00:02:48.000Z
2022-03-16T09:06:56.000Z
This folder contains the temporary objects files of compilation.
32.5
64
0.846154
eng_Latn
0.999813
3f0670c3d82e7ca79129d77d93c8186f0b61f252
3,934
md
Markdown
docset/winserver2012-ps/failoverclusters/Update-ClusterIPResource.md
adriandeller/windows-powershell-docs
e3fec4514589232a909cf83f4a90ef75b8544c92
[ "CC-BY-4.0", "MIT" ]
1
2019-03-26T11:51:22.000Z
2019-03-26T11:51:22.000Z
docset/winserver2012-ps/failoverclusters/Update-ClusterIPResource.md
adriandeller/windows-powershell-docs
e3fec4514589232a909cf83f4a90ef75b8544c92
[ "CC-BY-4.0", "MIT" ]
1
2019-03-18T18:58:17.000Z
2019-03-18T20:25:26.000Z
docset/winserver2012-ps/failoverclusters/Update-ClusterIPResource.md
adriandeller/windows-powershell-docs
e3fec4514589232a909cf83f4a90ef75b8544c92
[ "CC-BY-4.0", "MIT" ]
1
2019-04-03T11:49:40.000Z
2019-04-03T11:49:40.000Z
--- external help file: Failoverv2_Cmdlets.xml online version: schema: 2.0.0 ms.assetid: 7172BC57-F26A-4132-AB0D-87DBCBAADAA9 manager: dansimp ms.reviewer: ms.author: v-anbarr author: andreabarr --- # Update-ClusterIPResource ## SYNOPSIS Renews or releases the DHCP lease for an IP address resource in a failover cluster. ## SYNTAX ``` Update-ClusterIPResource [[-Name] <String>] [-Cluster <String>] [-InputObject <PSObject>] [-Release] [-Renew] ``` ## DESCRIPTION The **Update-ClusterIPResource** cmdlet renews or releases the DHCP lease for an IP address resource in a failover cluster. This cmdlet applies only to IP address resources that use DHCP. ## EXAMPLES ### Example 1 ``` PS C:\>Update-ClusterIPResource -Name "Cluster IP Address" Name State Group ResourceType ---- ----- ----- ------------ Cluster IP Address Online Cluster Group IP Address ``` This example updates the DHCP lease for the resource called Cluster IP Address if this resource is DHCP assigned. ### Example 2 ``` PS C:\>Get-ClusterResource | Where-Object -FilterScript {$_.ResourceType.Name -eq "IP Address"} | Update-ClusterIPResource Name State Group ResourceType ---- ----- ----- ------------ Cluster IP Address Online Cluster Group IP Address IP Address 172.2... Online cluster1-Other IP Address IP Address 172.2... Online cluster1-FS IP Address ``` This example updates the DHCP lease for all of the clustered IP resources that are DHCP assigned. ### Example 3 ``` PS C:\>Get-ClusterResource -Name "IP Address 172.24.11.0" | Stop-ClusterResource | Update-ClusterIPResource -Release Name State Group ResourceType ---- ----- ----- ------------ IP Address 172.2... Offline cluster1-Other IP Address ``` This example takes the resource named IP Address 172.24.11.0 offline, and releases the DHCP lease for that resource. ## PARAMETERS ### -Cluster Specifies the name of the cluster on which to run this cmdlet. If the input for this parameter is `.` or it is omitted, then the cmdlet runs on the local cluster. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ### -InputObject Specifies the cluster IP address resource to update. ```yaml Type: PSObject Parameter Sets: (All) Aliases: Required: False Position: Named Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ### -Name Specifies the name of the cluster IP address resource to update. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ### -Release Causes the cmdlet to release the DHCP lease of the IP address resource. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ### -Renew Causes the cmdlet to renew the DHCP lease of the IP address resource. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ## INPUTS ### Microsoft.FailoverClusters.PowerShell.ClusterResource ## OUTPUTS ### Microsoft.FailoverClusters.PowerShell.ClusterResource ## NOTES ## RELATED LINKS [Where-Object](http://go.microsoft.com/fwlink/?LinkID=113423) [Get-ClusterResource](./Get-ClusterResource.md) [Update-ClusterNetworkNameResource](./Update-ClusterNetworkNameResource.md)
25.057325
123
0.676157
kor_Hang
0.492949
3f06b7814d9aa60171a1fbf88dc52093af53029d
1,692
markdown
Markdown
README.markdown
mshuffett/dotfiles
0ae6ddbdf05aaadfe9fca84e1a960dcf261231dc
[ "MIT" ]
null
null
null
README.markdown
mshuffett/dotfiles
0ae6ddbdf05aaadfe9fca84e1a960dcf261231dc
[ "MIT" ]
null
null
null
README.markdown
mshuffett/dotfiles
0ae6ddbdf05aaadfe9fca84e1a960dcf261231dc
[ "MIT" ]
null
null
null
## mshuffett does dotfiles These are my personal dotfiles, originally forked from [holman's dotfiles](https://github.com/holman/dotfiles) with major modifications. I am using oh-my-zsh and antigen as part of these dotfiles. ## install Run this: ```sh curl -sL https://github.com/mshuffett/dotfiles/raw/master/script/install_from_scratch | bash ``` ## for me Feel free to fork these dotfiles, but I am primarily focusing on them for personal use for the time being, so YMMV. ## topical Everything's built around topic areas. If you're adding a new area to your forked dotfiles — say, "Java" — you can simply add a `java` directory and put files in there. Anything with an extension of `.zsh` will get automatically included into your shell. Anything with an extension of `.symlink` will get symlinked without extension into `$HOME` when you run `script/bootstrap`. ## components There's a few special files in the hierarchy. - **bin/**: Anything in `bin/` will get added to your `$PATH` and be made available everywhere. - **topic/\*.zsh**: Any files ending in `.zsh` get loaded into your environment. - **topic/path.zsh**: Any file named `path.zsh` is loaded first and is expected to setup `$PATH` or similar. - **topic/completion.zsh**: Any file named `completion.zsh` is loaded last and is expected to setup autocomplete. - **topic/\*.symlink**: Any files ending in `*.symlink` get symlinked into your `$HOME`. This is so you can keep all of those versioned in your dotfiles but still keep those autoloaded files in your home directory. These get symlinked in when you run `script/bootstrap`. ## prompt Checkout out [this link](for more info on the current prompt)
39.348837
196
0.742317
eng_Latn
0.997603
3f071cceb440e57c16c1622560d983430f7fba88
3,892
md
Markdown
Readme.md
rootslab/dado
fe64c1f967180b4cdbcc1085171d8f8c7eac3bbb
[ "MIT" ]
null
null
null
Readme.md
rootslab/dado
fe64c1f967180b4cdbcc1085171d8f8c7eac3bbb
[ "MIT" ]
null
null
null
Readme.md
rootslab/dado
fe64c1f967180b4cdbcc1085171d8f8c7eac3bbb
[ "MIT" ]
null
null
null
### Dado [![NPM VERSION](http://img.shields.io/npm/v/dado.svg?style=flat)](https://www.npmjs.org/package/dado) [![CODACY BADGE](https://img.shields.io/codacy/b18ed7d95b0a4707a0ff7b88b30d3def.svg?style=flat)](https://www.codacy.com/public/44gatti/dado) [![CODECLIMATE-TEST-COVERAGE](https://img.shields.io/codeclimate/c/rootslab/dado.svg?style=flat)](https://codeclimate.com/github/rootslab/dado) [![LICENSE](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://github.com/rootslab/dado#mit-license) ![NODE VERSION](https://img.shields.io/node/v/dado.svg) [![TRAVIS CI BUILD](http://img.shields.io/travis/rootslab/dado.svg?style=flat)](http://travis-ci.org/rootslab/dado) [![BUILD STATUS](http://img.shields.io/david/rootslab/dado.svg?style=flat)](https://david-dm.org/rootslab/dado) [![DEVDEPENDENCY STATUS](http://img.shields.io/david/dev/rootslab/dado.svg?style=flat)](https://david-dm.org/rootslab/dado#info=devDependencies) [![NPM MONTHLY](http://img.shields.io/npm/dm/dado.svg?style=flat)](http://npm-stat.com/charts.html?package=dado) ![NPM YEARLY](https://img.shields.io/npm/dy/dado.svg) [![NPM GRAPH](https://nodei.co/npm/dado.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/dado/) > __Dado__, a simple and dirty test runner. ### Install ```bash $ npm install dado [-g] ``` > __require__: ```javascript var Dado = require( 'dado' ); ``` ### Run Tests ```bash $ cd dado/ $ npm test ``` ### Constructor ```javascript Dado( [ Object opt ] ) // or new Dado( [ Object opt ] ) ``` #### Options > Default options are listed. ```javascript opt = { } ``` ### Properties ```javascript /* * Instance configuration object. */ Dado.options : Object ``` ### Methods > Arguments within [ ] are optional. ```javascript /* * Run tests from specified directory, default value for path is 'test' (or './test'). * Optionally, if Dado default position is not in 'node_modules', you can specify the * relative path from 'dado/lib' directory to the root dir of the module to test * (default relative path is * '../../../'). * The optional callback will be executed when all test files are executed, this function * gets 2 args/objs: queues for collected files and stats. * * NOTE: * - Only files ending with '-test.js' are loaded from the specified path/dir. * - Every loaded file should exports a 'test' property/method that gets 2 arguments, * an object with some methods for assertions and a done function that you should call * for properly exiting from the test. */ Dado#do : function ( String test_dir_path [, String module_relative_path [, Function callback ] ] ) : undefined /* * Reset global queues and stats objects. */ Dado#reset : function () : Dado ``` ### MIT License > Copyright (c) 2014-present &lt; Guglielmo Ferri : 44gatti@gmail.com &gt; > Permission is hereby granted, free of charge, to any person obtaining > a copy of this software and associated documentation files (the > 'Software'), to deal in the Software without restriction, including > without limitation the rights to use, copy, modify, merge, publish, > distribute, sublicense, and/or sell copies of the Software, and to > permit persons to whom the Software is furnished to do so, subject to > the following conditions: > __The above copyright notice and this permission notice shall be > included in all copies or substantial portions of the Software.__ > THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, > EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF > MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. > IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY > CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, > TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE > SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
34.140351
144
0.726105
yue_Hant
0.370653
3f0abe6b38d0d79ed40b9b63b32b9473f80f6105
1,285
md
Markdown
README.md
ic0n/RWR-Rare-Weapons-in-Armory
3bee6ec05197b6623bf59e0ef7e087a1421ce1bb
[ "MIT" ]
null
null
null
README.md
ic0n/RWR-Rare-Weapons-in-Armory
3bee6ec05197b6623bf59e0ef7e087a1421ce1bb
[ "MIT" ]
null
null
null
README.md
ic0n/RWR-Rare-Weapons-in-Armory
3bee6ec05197b6623bf59e0ef7e087a1421ce1bb
[ "MIT" ]
null
null
null
# RWR-Rare-Weapons-in-Armory It's a mod required for my RWR server. 这是一个连上我的服务器所需要的mod。 A Running with Rifles game mod that change some weapons and make SOME OF the rare weapons show in armory.     一个修改了RWR部分武器并部分稀有武器可以在商店购买的mod(暂时放到GitHub) Installation 安装方法 -------------------- ### Linux & Mac ``` $ cd $ git https://github.com/ic0n/RWR-Rare-Weapons-in-Armory.git $ cp -R RWR-Rare-Weapons-in-Armory/rare-weapons-in-armory /path/to/game_root_dir/media/packages ``` ### Windows I don't have a Windows PC. You gotta figure it out yourself... Alright Just Kidding. The Real Installation Guide 真正的安装方法 ---------------------------------------- To install this mod just download the zip, extract, copy the "rare-weapons-in-armory" folder in to RunningWithRifles/media/packages which locate in your steam/steamapp/common 添加mod的方法就是点击下载zip,直接把该压缩包里的"rare-weapons-in-armory"文件夹复制到RunningWithRifles/media/packages下,RunningWithRifles这个是游戏主目录,这个会在你的steam/steamapp/common下 <br/> 注 -- - 过些时间可能会把mod上传到steam的创意工坊。主要是因为这个游戏的创意工坊上传工具只有Windows版,然后我手上正好没有Windows PC - 如果你想在我的服务区上面玩的话就必须安装这个mod。 My RWR Server 我的RWR服务器 -------------------------- - Location: Guangzhou, China - Network: Tencent QCloud BGP - Domain: game.tinypotato.me - IP: 119.29.164.164 - Port: 10005
29.204545
174
0.720623
yue_Hant
0.548953
3f0b5e0f1176273401474264f32a406804d1f9a8
5,039
md
Markdown
docs/framework/data/transactions/performing-recovery.md
adamsitnik/docs.pl-pl
c83da3ae45af087f6611635c348088ba35234d49
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/framework/data/transactions/performing-recovery.md
adamsitnik/docs.pl-pl
c83da3ae45af087f6611635c348088ba35234d49
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/framework/data/transactions/performing-recovery.md
adamsitnik/docs.pl-pl
c83da3ae45af087f6611635c348088ba35234d49
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- title: Odzyskiwanie systemu ms.date: 03/30/2017 ms.assetid: 6dd17bf6-ba42-460a-a44b-8046f52b10d0 ms.openlocfilehash: fe0e096c31b2ef62a1bc50d40c87f2e12c87343f ms.sourcegitcommit: 2d792961ed48f235cf413d6031576373c3050918 ms.translationtype: MT ms.contentlocale: pl-PL ms.lasthandoff: 08/31/2019 ms.locfileid: "70205887" --- # <a name="performing-recovery"></a>Odzyskiwanie systemu Menedżer zasobów ułatwia rozwiązanie trwałych rejestracji w transakcji przez reenlisting uczestnika transakcji po awarii zasobu. ## <a name="the-recovery-process"></a>Proces odzyskiwania Aby trwale zarejestrować zasób (opisany przez implementację <xref:System.Transactions.IEnlistmentNotification> interfejsu), który może być później możliwy do odzyskania, należy <xref:System.Transactions.Transaction.EnlistDurable%2A> wywołać metodę. Ponadto należy podać <xref:System.Transactions.Transaction.EnlistDurable%2A> metody z identyfikatorem Menedżera zasobów ( <xref:System.Guid>) używany do stale etykiety uczestnika transakcji w przypadku awarii zasobu. Z <xref:System.Guid> tego powodu, który jest dostarczany do początkowego wywołania rejestracji powinien być taki sam jak parametr *resourceManagerIdentifier* w <xref:System.Transactions.TransactionManager.Reenlist%2A> wywołaniu podczas odzyskiwania. W przeciwnym razie <xref:System.Transactions.TransactionException> zgłaszany. Aby uzyskać więcej informacji na temat trwałych rejestracji, zobacz temat [Rejestrowanie zasobów jako uczestników transakcji](enlisting-resources-as-participants-in-a-transaction.md) . W fazie Prepare (faza 1) protokołu 2PC, gdy implementacja trwałego Menedżera zasobów odbierze <xref:System.Transactions.IEnlistmentNotification.Prepare%2A> powiadomienie, powinien rejestrować swój rekord Prepare w tej fazie. Rekord powinien zawierać wszystkie informacje niezbędne do ukończenia transakcji po zatwierdzeniu. Można później uzyskać dostęp do rekordu przygotowania podczas odzyskiwania, pobierając <xref:System.Transactions.PreparingEnlistment.RecoveryInformation%2A> Właściwość wywołania zwrotnego *preparingEnlistment* . Rejestrowanie rekordu nie jest konieczne jest wykonywana w ramach <xref:System.Transactions.IEnlistmentNotification.Prepare%2A> metody jako Menedżera zasobów można to zrobić w wątku roboczego. Proces odzyskiwania składa się z następujących dwóch kroków: ### <a name="step-1---reenlist"></a>Krok 1 - ReEnlist Menedżer zasobów sprawdza, czy prepare rekordu informacji dla każdej rejestracji, który jest w stanie wątPLiwości. Jest to wykonywane przez sprawdzenie <xref:System.Transactions.PreparingEnlistment.RecoveryInformation%2A> właściwości <xref:System.Transactions.PreparingEnlistment> wywołanie zwrotne, które są przekazywane do Menedżera zasobów w <xref:System.Transactions.IEnlistmentNotification.Prepare%2A> powiadomień w fazie 1. Dla każdego takiego rejestracji sprawdza, czy, wywołuje <xref:System.Transactions.TransactionManager.Reenlist%2A> na Menedżera transakcji. Ta metoda przekazuje unikatowego <xref:System.Guid> określający Menedżera zasobów, a także informacje o rejestracji w tablicy bajtów. Nowy <xref:System.Transactions.Enlistment> obiekt jest zwracany. Jeśli ponownej rejestracji nie powiedzie się z powodu wyjątku ponowić próbę później, konieczne będzie Menedżera zasobów. Należy wywołać tylko <xref:System.Transactions.TransactionManager.Reenlist%2A> metody po uruchomieniu Menedżera zasobów po awarii. Ponadto należy tylko reenlist rozwiązane transakcje zarejestrowane przez Menedżera zasobów w fazie przygotowania początkowego dwufazowego zatwierdzania. Każda próba wywołania tej metody w czasie nieprawidłowy może utworzyć błędnych wyników. Gdy uczestnika, który jest reenlisted za pomocą tej metody, metody Faza 2 <xref:System.Transactions.IEnlistmentNotification> odpowiada wyniku transakcji (oznacza to, że <xref:System.Transactions.IEnlistmentNotification.Commit%2A> , <xref:System.Transactions.IEnlistmentNotification.Rollback%2A> lub <xref:System.Transactions.IEnlistmentNotification.InDoubt%2A> ) są nazywane odpowiednio. ### <a name="step-2---completing-the-recovery"></a>Krok 2 — zakończenie odzyskiwania Po zakończeniu wszystkich reenlistments, Menedżer zasobów wywołuje <xref:System.Transactions.TransactionManager.RecoveryComplete%2A> metody. Ta metoda uzupełnia odzyskiwanie i informuje Menedżera transakcji, że Menedżer zasobów nie ma więcej wątpliwych transakcji. W ten sposób Menedżera zasobów gwarantuje, że nie będzie wywołania <xref:System.Transactions.TransactionManager.Reenlist%2A> ponownie metodą. Menedżer zasobów nie jest wymagana, aby usunąć wszystkie transakcje w stanie wątPLiwości przed rejestrowanie w nowych transakcji. Pierwszy krok można wykonać w dowolnym momencie po ustanowieniu przez Menedżera zasobów relacji z menedżerem transakcji, ale po <xref:System.Transactions.TransactionManager.RecoveryComplete%2A> wywołaniu (krok 2); Krok 1 nie można wykonać ponownie. Krok 2 można powtórzyć wiele razy bez wpływu na wynik transakcji.
143.971429
981
0.833102
pol_Latn
0.999526
3f0b85e5f9b27a87245b232fc2fe94a0d9001300
2,017
md
Markdown
BUILDING.md
MichaelTrikergiotis/xun
3ecac53fc3fba545f86e69c964beb86237416540
[ "Apache-2.0" ]
null
null
null
BUILDING.md
MichaelTrikergiotis/xun
3ecac53fc3fba545f86e69c964beb86237416540
[ "Apache-2.0" ]
null
null
null
BUILDING.md
MichaelTrikergiotis/xun
3ecac53fc3fba545f86e69c964beb86237416540
[ "Apache-2.0" ]
null
null
null
# Building xUnit.net The primary build system for xUnit.net is done via command line, and officially supports Linux and Windows. Users running macOS can generally follow the Linux instructions (while installing the macOS equivalents of the dependencies). # Pre-Requisites You will need the following software installed (regardless of OS): * [.NET SDK 5.0](https://dotnet.microsoft.com/download/dotnet/5.0) * [.NET Core Runtime 3.1](https://dotnet.microsoft.com/download/dotnet-core/3.1) * [.NET Core Runtime 2.1](https://dotnet.microsoft.com/download/dotnet-core/2.1) * [git](https://git-scm.com/downloads) ## Linux Pre-Requisites Linux users will additionally need: * [Mono](https://www.mono-project.com/download/stable/) 6.12+ * [bash](https://www.gnu.org/software/bash/) ## Windows Pre-Requisites Windows users will additionally need: * .NET Framework 4.7.2 or later (part of the Windows OS) * PowerShell (or [PowerShell Core](https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-windows?view=powershell-6)) Ensure that you have configured PowerShell to be able to run local unsigned scripts (either by running `Set-ExecutionPolicy RemoteSigned` from within PowerShell, or by launching PowerShell with the `-ExecutionPolicy RemoteSigned` command line switch). # Command-Line Build 1. **Linux users:** Open a terminal to your favorite shell. **Windows users:** Open PowerShell (or PowerShell Core). 1. From the root folder of the source repo, this command will build the code & run all tests: `./build` To build a specific target (or multiple targets): `./build [target [target...]]` The common targets (case-insensitive) include: * `Restore`: Perform package restore * `Build`: Build the source * `Test`: Run all unit tests * `TestCore`: Run all unit tests (.NET Core) * `TestFx`: Run all unit tests (.NET Framework) * `Packages`: Create NuGet packages You can get a list of options: `./build --help`
34.186441
154
0.730788
eng_Latn
0.881022
3f0c95917cc27448e6da8921524c9646fcdf048e
1,986
md
Markdown
README.md
hawk416/AWS_CanaryReleaseTool
361834daff97f922608e8123b2fe51883ebdb479
[ "MIT" ]
1
2017-05-16T10:56:50.000Z
2017-05-16T10:56:50.000Z
README.md
hawk416/AWS_CanaryReleaseTool
361834daff97f922608e8123b2fe51883ebdb479
[ "MIT" ]
null
null
null
README.md
hawk416/AWS_CanaryReleaseTool
361834daff97f922608e8123b2fe51883ebdb479
[ "MIT" ]
null
null
null
# AWS_CanaryReleaseTool A simple toolset for a canary style release in AWS ## Introduction This toolset is the result of a technical challenge. The challenge has the following requirements: - Create an AWS environment for cannary releases - Automate the canary release procedure - Add a failsafe if the new application version does not meet performance criteria ## Solution The solution is comprised of multiple parts: ### AWS Environment The environment should be setup using a Route53 Weighted DNS. This should select from two ElasticLoadBalancers, stable and release respectivelly. Each load balancer should serve one AutoScalingGroup. Each autoscalling group should have two sets of alarms, once for scaling, typically triggering a scale event based on CPU usage. The other set of alarms should be a tight latency alarm generated for the purpouse of monitoring and release. This alarms should trigger SNS messages that will be received down the line by our application. For more information, check the diagram in documents/aws_env.xml . This can be imported in https://draw.io for editing/viewing. Setup AWS environment as follows: - Route53 Weighted DNS -> A) Stable ELB |---> B) Release ELB - ELB Scaling Policies - ASG/ELB alarms for release monitoring - SNS topics for alarms ### Scripts There are two things that are handled by bash scripts. First is the initial setup and start of the release, release_init.sh, which will update the ASG definition to use a new AMI and let our monitoring application know there is a new release. The second script is for finalizing the release. What it does in essence is shutting down the stable ASG. ### Application Supports and monitors canary release. Monitors latency alarm on the relevant ASG (e.g. release ASG). This is achieved by subsribing to SNS topics and listening for SNS http messages. Adjusts the Route53 Weighted DNS to reflect alarms. ## Requirements Scripts: - awscli - jq Application: - Flask - Boto
39.72
242
0.790534
eng_Latn
0.997277
3f0ca143992ec62215a3c3eef1f180fc123a5eb3
1,031
md
Markdown
README.md
H3mnz/h3m_shimmer_card
563049c79e5768c5f74199b035e45c03914f4afc
[ "BSD-3-Clause" ]
1
2022-03-11T10:46:03.000Z
2022-03-11T10:46:03.000Z
README.md
H3mnz/h3m_shimmer_card
563049c79e5768c5f74199b035e45c03914f4afc
[ "BSD-3-Clause" ]
null
null
null
README.md
H3mnz/h3m_shimmer_card
563049c79e5768c5f74199b035e45c03914f4afc
[ "BSD-3-Clause" ]
null
null
null
<!-- This README describes the package. If you publish this package to pub.dev, this README's contents appear on the landing page for your package. For information about how to write a good package README, see the guide for [writing package pages](https://dart.dev/guides/libraries/writing-package-pages). For general information about developing packages, see the Dart guide for [creating packages](https://dart.dev/guides/libraries/create-library-packages) and the Flutter guide for [developing packages and plugins](https://flutter.dev/developing-packages). --> # Shimmer Card A package provides an easy way to add shimmer effect in your Flutter project. ## Demo ![](https://i.postimg.cc/L5DjWHT3/ezgif-5-a4082df08e.gif) ## Usage ```dart import 'package:h3m_shimmer_card/h3m_shimmer_card.dart'; ShimmerCard( width: 200, height: 100, beginAlignment: Alignment.topLeft, endAlignment: Alignment.bottomRight, backgroundColor: Colors.grey.shade800, shimmerColor: Colors.grey.shade700, ), ```
25.775
82
0.756547
eng_Latn
0.87736
3f0cf6fac6aa24f98fe7e9e3730d7d895f737925
947
md
Markdown
README.md
SteveCastle/pixel-to-css
6d07734c8619cbad005bb4d94b9fc71e6be96585
[ "MIT" ]
5
2020-08-09T21:37:36.000Z
2021-04-10T15:52:44.000Z
README.md
SteveCastle/pixel-to-css
6d07734c8619cbad005bb4d94b9fc71e6be96585
[ "MIT" ]
null
null
null
README.md
SteveCastle/pixel-to-css
6d07734c8619cbad005bb4d94b9fc71e6be96585
[ "MIT" ]
1
2021-04-10T16:28:22.000Z
2021-04-10T16:28:22.000Z
# Pixel to CSS pixel-to-css is a CLI utility that given a png file will return a CSS class with a box-shadow rule that can render each pixel in the image when attached to a single element. [Pixel Art With CSS Box Shadow](https://codeworkshop.dev/blog/2020-08-09-pixel-art-with-css-box-shadows/) ## Demo For an example of the designs you can create with this tool, here's a Code Sandbox using the output from two different sprite files. https://codesandbox.io/s/pixel-art-with-just-css-box-shadow-89rnk ## Usage `npm install -g pixel-to-css` The CLI tool takes the following arguments: 1. Path to a PNG image. 2. The size in pixels you want each pixel to be in the resulting css. 3. A className to use for the class. `pixel-to-css image.png 50 myClassName` Output css string is sent to STDOUT so you can pipe it to the clipboard or a file, or where ever you like. ## About This package depends on the `image-js` package to process images.
36.423077
173
0.758184
eng_Latn
0.991146
3f0dd57f01057700efd220e629e984f02f45838b
2,438
md
Markdown
_posts/2021-02-10-SwiftTech.md
Jovins/jovins.github.io
9f7331781e0a7cb68698b4090ad355380c7737c4
[ "MIT" ]
7
2019-05-21T14:47:40.000Z
2021-07-20T09:47:58.000Z
_posts/2021-02-10-SwiftTech.md
Jovins/jovins.github.io
9f7331781e0a7cb68698b4090ad355380c7737c4
[ "MIT" ]
null
null
null
_posts/2021-02-10-SwiftTech.md
Jovins/jovins.github.io
9f7331781e0a7cb68698b4090ad355380c7737c4
[ "MIT" ]
null
null
null
--- layout: post title: "Swift 技术栈" date: 2021-02-10 23:22:00.000000000 +09:00 categories: [Swift] tags: [Swift, 技术栈] --- 在`iOS`研发这条路上已经有5年有余了,在最近四年多里都在使用`Swift` 开发项目,目前也在学习`SwiftUI`。Swift 技术栈如下图: ![](/assets/images/swift-tech-01.png) ## 前言 在App研发过程中,特别是在App架构设计有几点比较重要: + 代码的可读性 + `SwiftLint`规范编写代码 + 代码的扩展性 + 产品思维能力 + 设计规范 + 技术选型 如何提升自己的架构设计: + 完善自己的知识库 + 勤于思考,多沟通 + 多学习第三方优秀框架 + 拓宽知识面,比如多看Swift、SwiftUI、Python、Go、C/C++等语言。 --- ## 工具使用 + Instruments - Xcode自带调试工具 + BuildTimeAnalyzer - 调试App启动耗时 + Charles - 抓包 + Reveal - UI调试 + MachOView/Hopper Disassembler/class-dump - mach-o静态分析 + Debugserver/LLDB - 代码调试 --- ## Swift 第三方库 网络请求 [Alamofire](https://github.com/Alamofire/Alamofire) [Moya](https://github.com/Moya/Moya) 数据模型转换 [ObjectMapper](https://github.com/tristanhimmelman/ObjectMapper) [SwiftyJSON](https://github.com/SwiftyJSON/SwiftyJSON) 崩溃跟踪、统计 Fabric Crashlytics 图片下载和Webp动图 [SDWebImage](https://github.com/SDWebImage/SDWebImage) [Kingfisher](https://github.com/onevcat/Kingfisher) [YYImage/WebP](https://github.com/ibireme/YYImage) [SDWebImageWebPCoder](https://github.com/SDWebImage/SDWebImageWebPCoder) Texture -- facebook团队封装的异步渲染第三方UI框架 [Texture](https://github.com/TextureGroup/Texture) UI 布局 [SnapKit](https://github.com/SnapKit/SnapKit) `Instagram` 推出的一套数据驱动的`UICollectionView` 框架 [IGListKit](https://github.com/Instagram/IGListKit) 函数式编程 [RxSwift](https://github.com/ReactiveX/RxSwift) RxCocoa 代码规范 [SwiftLint](https://github.com/realm/SwiftLint) 网络监听 [Reachability.swift](https://github.com/ashleymills/Reachability.swift) 自定义弹窗提示 [MBProgressHUD](https://github.com/jdg/MBProgressHUD) 路由 [URLNavigator](https://github.com/devxoul/URLNavigator) 自定义顶部导航栏Tap切换 [XLPagerTabStrip](https://github.com/xmartlabs/XLPagerTabStrip) 视频缓存框架 [KTVHTTPCache](https://github.com/ChangbaDevs/KTVHTTPCache) 数据加密解密 [CryptoSwift](https://github.com/krzyzanowskim/CryptoSwift) 内购 [SwiftyStoreKit](https://github.com/bizz84/SwiftyStoreKit) App授权 [Proposer](https://github.com/nixzhu/Proposer) 弹窗提示 [AMPopTip](https://github.com/andreamazz/AMPopTip) 广告轮播图 [FSPagerView](https://github.com/WenchaoD/FSPagerView) 列表空白页提示 [DZNEmptyDataSet](https://github.com/dzenbot/DZNEmptyDataSet) Realm数据库 [Realm](https://github.com/realm) [Realm Docs](https://docs.mongodb.com/realm-legacy/docs/swift/latest/#installation) 转场弹窗 [Presentr](https://github.com/IcaliaLabs/Presentr)
16.253333
83
0.757178
yue_Hant
0.789649
3f0dde4bf259b0b8d2a438a42b16c8650d96e358
28
md
Markdown
README.md
SeanL00000000000/Test
92e756072b055c789724b5da9b13807732af2399
[ "MIT" ]
null
null
null
README.md
SeanL00000000000/Test
92e756072b055c789724b5da9b13807732af2399
[ "MIT" ]
null
null
null
README.md
SeanL00000000000/Test
92e756072b055c789724b5da9b13807732af2399
[ "MIT" ]
null
null
null
# Test An example for class
9.333333
20
0.75
eng_Latn
0.997248
3f0e0202869fdd5cec6be9d405e69adb8d4e1a18
30
md
Markdown
README.md
Jayz3n/Game-programming-pt4
0fcd115fe487b27c5a5ae04442cc2a01895147ab
[ "MIT" ]
null
null
null
README.md
Jayz3n/Game-programming-pt4
0fcd115fe487b27c5a5ae04442cc2a01895147ab
[ "MIT" ]
null
null
null
README.md
Jayz3n/Game-programming-pt4
0fcd115fe487b27c5a5ae04442cc2a01895147ab
[ "MIT" ]
null
null
null
# Game-programming-pt4 week 2
10
22
0.766667
nld_Latn
0.251919
3f0e69b23a4467e03f98f407699ff17d6e7b15a4
1,435
md
Markdown
_posts/2021-04-09-implement-windows-server-data-deduplication-6-knowledge-check-.md
avicoder/mslearn
d864219a93bfa551c113003450f9284002299508
[ "MIT" ]
null
null
null
_posts/2021-04-09-implement-windows-server-data-deduplication-6-knowledge-check-.md
avicoder/mslearn
d864219a93bfa551c113003450f9284002299508
[ "MIT" ]
null
null
null
_posts/2021-04-09-implement-windows-server-data-deduplication-6-knowledge-check-.md
avicoder/mslearn
d864219a93bfa551c113003450f9284002299508
[ "MIT" ]
1
2022-03-09T17:33:15.000Z
2022-03-09T17:33:15.000Z
--- layout: post title: Implement Windows Server Data Deduplication description: nil summary: nil tags: nil --- <a target="_blank" href="https://docs.microsoft.com/en-us/learn/modules/implement-windows-server-data-deduplication/6-knowledge-check/"><i class="fas fa-external-link-alt"></i> </a> <img align="right" src="https://docs.microsoft.com/en-us/learn/achievements/implement-windows-server-data-deduplication.svg"> #### 1. Which Data Deduplication job is responsible for checksum validation and metadata consistency checking? <i class='far fa-square'></i> &nbsp;&nbsp;Deduplication <i class='fas fa-check-square' style='color: Dodgerblue;'></i> &nbsp;&nbsp;Scrubbing <i class='far fa-square'></i> &nbsp;&nbsp;Garbage Collection <br /> <br /> <br /> #### 2. Which of the following workloads is most likely to yield the best disk space savings when using Data Deduplication? <i class='far fa-square'></i> &nbsp;&nbsp;User documents <i class='fas fa-check-square' style='color: Dodgerblue;'></i> &nbsp;&nbsp;Virtualization libraries <i class='far fa-square'></i> &nbsp;&nbsp;General file share <br /> <br /> <br /> #### 3. What is the maximum built-in frequency of Data Deduplication jobs? <i class='far fa-square'></i> &nbsp;&nbsp;Daily <i class='fas fa-check-square' style='color: Dodgerblue;'></i> &nbsp;&nbsp;Weekly <i class='far fa-square'></i> &nbsp;&nbsp;Monthly <br /> <br /> <br />
30.531915
182
0.696864
eng_Latn
0.431452
3f0f1dba6407574e204ac8156cb66290f66e0e12
150
md
Markdown
src/validators/redundantTROneway/README.md
osmlab/osmlint-osmium
1e105981cfca77c0eed92d333e944a14ea7066f3
[ "0BSD" ]
2
2017-08-11T13:42:14.000Z
2021-01-27T23:53:07.000Z
src/validators/redundantTROneway/README.md
osmlab/osmlint-osmium
1e105981cfca77c0eed92d333e944a14ea7066f3
[ "0BSD" ]
8
2017-09-18T17:29:43.000Z
2018-07-20T16:31:16.000Z
src/validators/redundantTROneway/README.md
osmlab/osmlint-osmium
1e105981cfca77c0eed92d333e944a14ea7066f3
[ "0BSD" ]
1
2017-09-19T04:18:46.000Z
2017-09-19T04:18:46.000Z
# Redundant TR in one way roads Detect redundant TR's in oneway roads ### usage `osmlinto redundanttroneway california-latest.osm.pbf output.json`
18.75
66
0.78
eng_Latn
0.685686
3f0f442df06105674c44109cbbb09ba78f3b3c48
369
md
Markdown
README.md
ministryofjustice/azure-quiet-users
6f6b6d5adede46e00b0f902fa4399fbd8e321d5b
[ "MIT" ]
null
null
null
README.md
ministryofjustice/azure-quiet-users
6f6b6d5adede46e00b0f902fa4399fbd8e321d5b
[ "MIT" ]
null
null
null
README.md
ministryofjustice/azure-quiet-users
6f6b6d5adede46e00b0f902fa4399fbd8e321d5b
[ "MIT" ]
2
2018-02-04T02:22:35.000Z
2021-04-11T06:52:05.000Z
# Azure Quiet Users ## Requirements * Python 3 * Azure CLI 2.0 (`az`) * An azure user account which can [list signin activity](https://docs.microsoft.com/en-us/azure/active-directory/active-directory-reporting-activity-sign-ins) ## Usage * First, log in using `az login` * Then run the script `./main.py <tenant_id>` ## License MIT Licensed Crown Copyright 2018
19.421053
158
0.726287
eng_Latn
0.724544
3f100d7431c6d855da6578dbacea6cd63203a0b8
1,478
md
Markdown
windows.media.speechrecognition/speechrecognitionscenario.md
InYourCloud/WinRT-API-Docs
38f3063a57663a1d83d76872be2713a70e2b3c87
[ "CC-BY-4.0", "MIT" ]
null
null
null
windows.media.speechrecognition/speechrecognitionscenario.md
InYourCloud/WinRT-API-Docs
38f3063a57663a1d83d76872be2713a70e2b3c87
[ "CC-BY-4.0", "MIT" ]
null
null
null
windows.media.speechrecognition/speechrecognitionscenario.md
InYourCloud/WinRT-API-Docs
38f3063a57663a1d83d76872be2713a70e2b3c87
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- -api-id: T:Windows.Media.SpeechRecognition.SpeechRecognitionScenario -api-type: winrt enum --- <!-- Enumeration syntax public enum Windows.Media.SpeechRecognition.SpeechRecognitionScenario : int --> # SpeechRecognitionScenario ## -description Specifies the scenario used to optimize speech recognition for a web-service constraint (created through a [SpeechRecognitionTopicConstraint](speechrecognitiontopicconstraint.md) object). ## -enum-fields ### -field WebSearch:0 A grammar constraint optimized for web search recognition scenarios. ### -field Dictation:1 A gramar constraint optimized for continuous dictation recognition scenarios. ### -field FormFilling:2 A grammar constraint optimized for form input recognition scenarios. ## -remarks To use web-service constraints, speech input and dictation support must be enabled in **Settings** by turning on the "Get to know me" option in the Settings -> Privacy -> Speech, inking, and typing page. See "Recognize speech input" in [Speech recognition](http://msdn.microsoft.com/library/553c0fb7-35bc-4894-9ef1-906139e17552). ## -examples ## -see-also [Windows.Media.SpeechRecognition](windows_media_speechrecognition.md), [Speech interactions](http://msdn.microsoft.com/library/646db3ce-fa81-4727-8c21-936c81079439), [Speech design guidelines](http://msdn.microsoft.com/library/4a63a8c4-4182-4e36-ba12-4c343a56fca9), [Speech recognition and speech synthesis sample](http://go.microsoft.com/fwlink/p/?LinkID=619897)
47.677419
363
0.796346
eng_Latn
0.465769
3f10717dfd6efefce55b911f3e4ae74c8e55790f
3,420
md
Markdown
docs-archive-a/2014/relational-databases/maintenance-plans/maintenance-plan-reporting-and-logging-page.md
MicrosoftDocs/sql-docs-archive-pr.fr-fr
5dfe5b24c1f29428c7820df08084c925def269c3
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs-archive-a/2014/relational-databases/maintenance-plans/maintenance-plan-reporting-and-logging-page.md
MicrosoftDocs/sql-docs-archive-pr.fr-fr
5dfe5b24c1f29428c7820df08084c925def269c3
[ "CC-BY-4.0", "MIT" ]
2
2021-10-11T06:39:57.000Z
2021-11-25T02:25:30.000Z
docs-archive-a/2014/relational-databases/maintenance-plans/maintenance-plan-reporting-and-logging-page.md
MicrosoftDocs/sql-docs-archive-pr.fr-fr
5dfe5b24c1f29428c7820df08084c925def269c3
[ "CC-BY-4.0", "MIT" ]
2
2021-09-29T08:51:33.000Z
2021-10-13T09:18:07.000Z
--- title: Plan de maintenance (page Création de rapports et enregistrement) | Microsoft Docs ms.custom: '' ms.date: 06/13/2017 ms.prod: sql-server-2014 ms.reviewer: '' ms.technology: supportability ms.topic: conceptual f1_keywords: - sql12.swb.maint.reportinglogging.f1 ms.assetid: 3a30b17a-3deb-446f-900a-62f88934a90f author: MikeRayMSFT ms.author: mikeray ms.openlocfilehash: 7c7a95a7092ce2cdac4aa0540a5cb57d86b48497 ms.sourcegitcommit: ad4d92dce894592a259721a1571b1d8736abacdb ms.translationtype: MT ms.contentlocale: fr-FR ms.lasthandoff: 08/04/2020 ms.locfileid: "87603977" --- # <a name="maintenance-plan-reporting-and-logging-page"></a>Plan de maintenance, (Page Création de rapports et enregistrement) La boîte de dialogue **Création de rapport et enregistrement** vous permet de configurer les rapports et les enregistrements qui sont générés lors de l'exécution des plans de maintenance. ## <a name="options"></a>Options **Générer un rapport de fichier texte** Indiquez si [!INCLUDE[msCoName](../../includes/msconame-md.md)] [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] doit écrire un rapport de fichier texte. **Créer un nouveau fichier** Crée un nouveau fichier de rapport pour chaque exécution du plan de maintenance. Par défaut, les fichiers de rapport sont enregistrés sur l'ordinateur hébergeant l'instance [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] contenant ce plan de maintenance, dans le dossier qui a été défini en tant que dossier des journaux par défaut au moment de l'installation de [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] . Pour spécifier un autre dossier, entrez le chemin d’accès complet du dossier dans la zone de texte **Dossier** ou cliquez sur le bouton Parcourir ( **...** ) pour naviguer jusqu’au dossier de votre choix. **Ajouter au fichier** Ajoutez le rapport généré pour chaque exécution du plan au fichier spécifié dans la zone de texte **Nom de fichier** . Vous pouvez également spécifier un autre fichier en cliquant sur le bouton Parcourir et en sélectionnant un fichier dans la boîte de dialogue. **Envoyer le rapport à un destinataire de messagerie** Transmet le résultat de l'exécution d'un plan de maintenance par courrier électronique. Cette option est uniquement disponible si la messagerie de base de données est activée et correctement configurée. **Opérateur d'agent** Sélectionnez dans la liste l'opérateur d'agent qui sera le destinataire du message électronique. Cette option est uniquement disponible si la messagerie est activée et correctement configurée. **Enregistrer les informations étendues** Permet d'inclure plus d'informations dans le journal. L'utilisation de cette option augmente la taille de l'historique du plan de maintenance qui est stocké sur l'ordinateur. **Connexion à un serveur distant** Enregistre l'historique du plan de maintenance sur un serveur distant. **Connection** Spécifie les informations de connexion à utiliser pour se connecter à un serveur distant. **Nouveau** Affiche la boîte de dialogue **Propriétés de connexion** . Sert à configurer les nouvelles informations de connexion permettant de se connecter à un serveur distant. ## <a name="see-also"></a>Voir aussi [Plans de maintenance](maintenance-plans.md) [Messagerie de base de données](../database-mail/database-mail.md)
60
640
0.768713
fra_Latn
0.959259
3f11046d35fdfc9338742bdfc29b33cca90e8904
4,144
md
Markdown
_posts/2020-07-16-day-3-100-days-of-swiftui.md
gurcangulec/gurcangulec.github.io
f7927109f00b26f312723deb4e5727374cee21db
[ "MIT" ]
null
null
null
_posts/2020-07-16-day-3-100-days-of-swiftui.md
gurcangulec/gurcangulec.github.io
f7927109f00b26f312723deb4e5727374cee21db
[ "MIT" ]
null
null
null
_posts/2020-07-16-day-3-100-days-of-swiftui.md
gurcangulec/gurcangulec.github.io
f7927109f00b26f312723deb4e5727374cee21db
[ "MIT" ]
null
null
null
--- layout: post title: day 3 author: “Gurcan Gulec“ categories: programming tags: [swift, operators, comparison operators, operator overloading, ternary operator, range operators, swiftui, hackingwithswift] image: 100-days-of-swiftui2.jpg --- It’s time for me to share what I learnt. Swift, like many other programming languages, have arithmetic operators for adding(+), subtracting(-), multiplying(*) and dividing(/). And we can use % to find the remainder of a division. We can use + operator to sum integers but we can also use it for joining strings like: ``` let time = "what time " let time2 = time + "is it?" ``` This is called **operator overloading**. `score += 5` -> If we defined “score” earlier, this is how we increment it by 5. += is a **compound operator** example. This can also be used to add one string to another. And if we take a look at the **comparison operators** shortly, == checks if the values on the each side are equal, != does the opposite. < means smaller than, > means greater than, <= means smaller or equal to, >= means greater or equal to. ```swift if firstCard + secondCard == 2 { print("Aces – lucky!") } else if firstCard + secondCard == 21 { print("Blackjack!") } else { print("Regular cards") } ``` This is how you use **if statement**s in Swift. It’s pretty self explanatory if you have some programming background. It is possible to combine conditions with **combining operators**. These operators are `||` and `&&`. With `&&` (pronounced “and”), statement inside if will only be run when both the conditions are true. With `||` (pronounced “or”), statement inside if will run if one of the conditions are true. The **ternary operator** could give me some hard times. It’s easy but could be hard to remember. It has three values. It checks the condition for the first value, and if it is true, returns the second value, if it is false, returns the third value. So far, everything is familiar, but not the ternary operator. Here is an example: ```swift let firstCard = 11 let secondCard = 10 print(firstCard == secondCard ? "Cards are the same" : "Cards are different") ``` It checks if the cards are equal to each other and according to that, second or the third statement will be printed. In the example, we will get “Cards are different”, since the firstCard and secondCard are not equal. Then we have the switch statement. ```swift switch weather { case "rain": print("Bring an umbrella") case "snow": print("Wrap up warm") fallthrough default: print("Enjoy your day!") } ``` Alright, at least this is familiar. If we have many conditions, instead of using if, if else, we can use switch structure. It’s really important to give a default value at the end of the switch condition. If weather is anything other than the conditions we defined, it will use the default value. fallthrough keyword can be used if we want the next case the be ran as well. In the example, if we choose “snow” as weather value, execution will continue with the next case. But if we choose “rain” as the value, it will not go to next case because ‘case “rain”’ doesn’t have “fallthrough” keyword. The last thing I wanna mention, or we could say I learnt with the third day is **range operator**s which is something I am kinda unfamiliar with. Half open range operator (..<) creates range up to but excludes the last value and closed range operator (…) creates range up to and includes the last value as well. `1..<5` includes the numbers from 1 to 4. 1…5 include the numbers from 1 to 5. They are helpful with switch blocks. Alright, note to myself at the end of the day. I know I need to take a look at the syntax of ternary operator. Everything else is clear. Or is it? Before I finish I would like to state that I am following [100 days of SwiftUI](https://www.hackingwithswift.com/100/swiftui) and most of the examples are taken from [hackingwithswift.com](https://www.hackingwithswift.com). If you haven’t visited Paul Hudson’s great website. Check it out and support the guy. He has tons of free Swift content. It’s a great place to start learning Swift. And be persistent!
60.057971
596
0.738658
eng_Latn
0.999673
3f119e138636910739e712b314505e129f1fcb7f
27
md
Markdown
README.md
lhcdhr/NLP_Sentiment_Analysis
b46b4a5681c18d529db46554cc27471af06ac53c
[ "Apache-2.0" ]
null
null
null
README.md
lhcdhr/NLP_Sentiment_Analysis
b46b4a5681c18d529db46554cc27471af06ac53c
[ "Apache-2.0" ]
null
null
null
README.md
lhcdhr/NLP_Sentiment_Analysis
b46b4a5681c18d529db46554cc27471af06ac53c
[ "Apache-2.0" ]
null
null
null
# NLP_Sentiment_Analysis
9
24
0.814815
deu_Latn
0.596178
3f11a467fe803761bcb2044a541293e345e849ed
713
md
Markdown
CHANGELOG.md
WouterJ/redaktilo
2a1f2ce5961c11dd5cc881e0fe7564b8f3b0f8ed
[ "MIT" ]
null
null
null
CHANGELOG.md
WouterJ/redaktilo
2a1f2ce5961c11dd5cc881e0fe7564b8f3b0f8ed
[ "MIT" ]
null
null
null
CHANGELOG.md
WouterJ/redaktilo
2a1f2ce5961c11dd5cc881e0fe7564b8f3b0f8ed
[ "MIT" ]
null
null
null
# Changes between versions ## 0.3.0: File coming out * added file existence check * added line break detection * added `bin/tester.sh` script * moved stateness from `Editor` to `File` * moved classes at the root * removed interfaces * compiled documentation * improved tests ## 0.2.0: Jump to * added jump to methods to Editor * removed autosave * added manual save * added usage documentation * added use cases documentation * removed installer ## 0.1.2: Fix open * fixed `openFile` to `open` ## 0.1.1: Continuous Integration * fixed Insight analysis 1 * added travis configuration * added badges on README ## 0.1.0: Initial release * created file opening * created insertion of line after a given one
19.27027
45
0.737728
eng_Latn
0.993816
3f136221edc7ef19fe3e7af06873c3427f1cfb1e
1,590
md
Markdown
README.md
MatthewWaller/Pitch-Perfect
407e967acd904e07313ba78482e7730341b9dd26
[ "MIT", "Unlicense" ]
null
null
null
README.md
MatthewWaller/Pitch-Perfect
407e967acd904e07313ba78482e7730341b9dd26
[ "MIT", "Unlicense" ]
null
null
null
README.md
MatthewWaller/Pitch-Perfect
407e967acd904e07313ba78482e7730341b9dd26
[ "MIT", "Unlicense" ]
null
null
null
# Pitch-Perfect Record audio and change up the pitch and pace. ## Common usage Users can: - Record audio. - Pause the recording and resume recording by tapping on the mic icon. - Stop the recording and choose from different effects to manipulate the audio, such as by slowing it down, speeding it up, or changing the pitch. ## Installation Install Xcode able to run iOS 9.2 and up. Clone or download the repository from GitHub. Run with deployment target of 9.2 on the simulator or device. ##License The MIT License (MIT) Copyright (c) 2016 Matthew Waller Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
38.780488
146
0.790566
eng_Latn
0.875017
3f13c25013af9bd3ebe04062ec6f6bb17571f268
225
md
Markdown
_watches/M20200724_070657_TLP_4.md
Meteoros-Floripa/meteoros.floripa.br
7d296fb8d630a4e5fec9ab1a3fb6050420fc0dad
[ "MIT" ]
5
2020-05-19T17:04:49.000Z
2021-03-30T03:09:14.000Z
_watches/M20200724_070657_TLP_4.md
Meteoros-Floripa/site
764cf471d85a6b498873610e4f3b30efd1fd9fae
[ "MIT" ]
null
null
null
_watches/M20200724_070657_TLP_4.md
Meteoros-Floripa/site
764cf471d85a6b498873610e4f3b30efd1fd9fae
[ "MIT" ]
2
2020-05-19T17:06:27.000Z
2020-09-04T00:00:43.000Z
--- layout: watch title: TLP4 - 24/07/2020 - M20200724_070657_TLP_4T.jpg date: 2020-07-24 07:06:57 permalink: /2020/07/24/watch/M20200724_070657_TLP_4 capture: TLP4/2020/202007/20200723/M20200724_070657_TLP_4T.jpg ---
28.125
63
0.76
fra_Latn
0.057694
3f142b22abfe5ef830ee1b5fab11695d04d1dad1
5,315
md
Markdown
incubator/letsencrypt-setup/README.md
fraserdarwent/fairwindsops-charts
fe49658cc843c3de4b7f4f30909de431983cc7f0
[ "Apache-2.0" ]
null
null
null
incubator/letsencrypt-setup/README.md
fraserdarwent/fairwindsops-charts
fe49658cc843c3de4b7f4f30909de431983cc7f0
[ "Apache-2.0" ]
null
null
null
incubator/letsencrypt-setup/README.md
fraserdarwent/fairwindsops-charts
fe49658cc843c3de4b7f4f30909de431983cc7f0
[ "Apache-2.0" ]
null
null
null
# Chart - letsencrypt-setup Installs the necessary additional items that the cert-manager chart lacks. ## Upgrading to 2.0.0 Chart Version There are breaking changes with 2.0.0 chart version in that it absolutely requires a version of cert-manager v0.11.0 or higher to be running in the cluster. Please follow upgrade instructions [located here](https://docs.cert-manager.io/en/release-0.11/tasks/upgrading/upgrading-0.10-0.11.html) ## Configuration The following table lists the configurable parameters of the chart and their default values. | Parameter | Description | Default | Required | | --------- | ----------- | ------- | -------- | | `clusterIssuers.selfsigned.clusterIssuerName` | Name of the selfsigned clusterIssuer | `Release.Name-self-signed` | no | | `clusterIssuers.selfsigned.enabled` | Whether or not the selfsigned ClusterIssuer is installed | `false` | yes | | `clusterIssuers.selfsigned.issuerUrl` | The URL to use for ACME | `https://acme-staging-v02.api.letsencrypt.org/directory` | yes | | `clusterIssuers.selfsigned.email` | The email used for ACME registration | `""` | yes | | `clusterIssuers.selfsigned.solvers.http.enabled` | Enables http01 validation on selfsigned issuer | `false` | yes | | `clusterIssuers.selfsigned.solvers.http.ingressClass` | Use http01 solver with a specific ingress class | `""` | no | | `clusterIssuers.selfsigned.solvers.http.ingressName` | Use this solver with a specific ingress name | `""` | no | | `clusterIssuers.selfsigned.solvers.dns` | List of DNS solvers and optional selectors for each. See below for configuration | `[]` | no | | `clusterIssuers.primary.clusterIssuerName` | Name of the selfsigned clusterIssuer | `Release.Name-primary-valid` | no | | `clusterIssuers.primary.enabled` | Whether or not the selfsigned ClusterIssuer is installed | `false` | yes | | `clusterIssuers.primary.issuerUrl` | The URL to use for ACME | `https://acme-v02.api.letsencrypt.org/directory` | yes | | `clusterIssuers.primary.email` | The email used for ACME registration | `someone@example.com` | yes | | `clusterIssuers.primary.solvers.http.enabled` | Enables http01 validation on primary issuer | `false` | yes | | `clusterIssuers.primary.solvers.http.ingressClass` | Use http01 solver with a specific ingress class | `nginx` | no | | `clusterIssuers.primary.solvers.http.ingressName` | Use this solver with a specific ingress name | `""` | no | | `clusterIssuers.primary.solvers.dns` | List of DNS solvers and optional selectors for each. See below for configuration | `[]` | no | ## DNS Solvers Configuration ### Route53 | Parameter | Description | | --------- | --------- | | `accessKeyID` | For use with specific IAM account credentials, not necessary if nodes have IAM role that gives access to route53| | `hostedZoneID` | Route53 hosted zone ID | | `region` | Required if using `accessKeyID` for authentication | | `secretName` | Required if using `accessKeyID`, name of kubernetes secret that contains the IAM secret access key correlating to the `accessKeyID` | | `secretKey` | Required if using `accessKeyID`, key within a kubernetes secret data block that holds the IAM secret access key | | `type` | Defines the type of DNS solver, should be set to `route53` | ### Cloud DNS | Parameter | Description | | --------- | --------- | | `project` | Name of the project in Google Cloud where Cloud DNS is used | | `secretName` | optional kubernetes secret name in same namespace | | `secretKey` | key in the kubernetes secret with the service account creds | | `type` | Defines the type of DNS solver, should be set to `clouddns` | ### Cloudflare | Parameter | Description | | --------- | --------- | | `email` | Email associated with the Cloudflare account | | `secretName` | Name of kubernetes secret that contains the secret access key | | `secretKey` | Key within a kubernetes secret data block that holds the secret access key | | `type` | Defines the type of DNS solver, should be set to `cloudflare` | ## Selector Settings Selectors allow you to specify multiple DNS challenge solvers and force certain constraints on when specific solvers should be used. The most common will probably be `dnsZones`, but you can also use `dnsNames` to force a set of specific DNS entries to be solved a certain way. Finally, the third way to specify an ingress to use a specific solver is through labels using the `matchLabels` setting which accepts key/value objects to match labels against. An empty selector will attempt to be used for any and all ingress challenges. | Parameter | Value Type | Description | | --------- | --------- | --------- | | `matchLabels` | map | Labels applied to a given ingress that should use this solver | | `dnsNames` | list | Specific Ingress DNS entries that should use this solver | | `dnsZones` | list | Entire DNS domains that should only use this solver | In the example configuration below, we use route53 DNS to solve for `foo.com` and Google Cloud DNS for `bar.com`: ```yaml clusterIssuers: primary: enabled: true email: someone@example.com solvers: dns: - type: route53 hostedZoneID: MYHOSTEDZONE selector: dnsZones: - foo.com - type: clouddns project: test-project selector: dnsZones: - bar.com ```
55.947368
531
0.717215
eng_Latn
0.947303
3f153a9f37037bf0b72b17809975341070dec616
1,653
md
Markdown
README.md
softwarekashyap/AttributeSplash
081b542e1161527c4f4469776237be09863a4efd
[ "Apache-2.0" ]
1
2020-06-18T14:53:06.000Z
2020-06-18T14:53:06.000Z
README.md
softwarekashyap/AttributeSplash
081b542e1161527c4f4469776237be09863a4efd
[ "Apache-2.0" ]
null
null
null
README.md
softwarekashyap/AttributeSplash
081b542e1161527c4f4469776237be09863a4efd
[ "Apache-2.0" ]
null
null
null
# Magento 2 Shop by Brand, Attribute Spalsh Attribute Splash allows you to create product listing pages very quickly by applying attribute, price and category filters to your products. The products that match the filters will be displayed on the Splash Page and the whole thing will look just like a category page. As you update and add new products, the products displayed on Splash Pages will also update automatically. Attribute Splash is great for SEO and marketing because you can very quickly create new product collections and display them on a page that you have complete control over. You can modify the page title, meta information, on page text, URL and much more right from the Magento Admin. Attribute Splash is not a replacement for Attribute Splash Pages and both extensions can be used at the same time. While Attribute Splash Pages offers 'shop by attribute' functionality, Attribute Splash Pro allows you to create great product listing pages for marketing and SEO. ## Installation without composer * Download zip file of this extension * Place all the files of the extension in your Magento 2 installation in the folder `app/code/Kashyap/AttributeSplash` * Enable the extension: `php bin/magento --clear-static-content module:enable Kashyap_AttributeSplash` * Upgrade db scheme: `php bin/magento setup:upgrade` * Deply Static Content: `php bin/magento setup:static-content:deploy -f` Developer Mode * Deply Static Content: `php bin/magento setup:static-content:deploy` Production Mode --- [![Alt text](https://www.kashyapsoftware.com/pub/media/logo/stores/1/ks_logo.png "kashyapsoftware.com")](https://www.kashyapsoftware.com/)
82.65
377
0.801573
eng_Latn
0.986147
3f1593dc3649da876fb663071e087b2b11183990
6,325
md
Markdown
docs/framework/winforms/controls/how-to-insert-a-menustrip-into-an-mdi-drop-down-menu-windows-forms.md
ilyakharlamov/docs.fr-fr
54c09f71d03787b462bdd134b3407d5ed708a191
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/framework/winforms/controls/how-to-insert-a-menustrip-into-an-mdi-drop-down-menu-windows-forms.md
ilyakharlamov/docs.fr-fr
54c09f71d03787b462bdd134b3407d5ed708a191
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/framework/winforms/controls/how-to-insert-a-menustrip-into-an-mdi-drop-down-menu-windows-forms.md
ilyakharlamov/docs.fr-fr
54c09f71d03787b462bdd134b3407d5ed708a191
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- title: 'Procédure : Insérer un MenuStrip dans un Menu du menu déroulant MDI (Windows Forms)' ms.date: 03/30/2017 dev_langs: - csharp - vb helpviewer_keywords: - MenuStrip control [Windows Forms], inserting - MenuStrip control [Windows Forms], merging - MDI [Windows Forms], merging menu items ms.assetid: 0fad444e-26d9-49af-8860-044d9c10d608 ms.openlocfilehash: b12199d049808fcf735002fee3715fe7be966030 ms.sourcegitcommit: 6b308cf6d627d78ee36dbbae8972a310ac7fd6c8 ms.translationtype: MT ms.contentlocale: fr-FR ms.lasthandoff: 01/23/2019 ms.locfileid: "54695697" --- # <a name="how-to-insert-a-menustrip-into-an-mdi-drop-down-menu-windows-forms"></a>Procédure : Insérer un MenuStrip dans un Menu du menu déroulant MDI (Windows Forms) Dans certaines applications, le type d'une fenêtre enfant d'interface multidocument (MDI) peut être différent de celui de la fenêtre parente MDI. Par exemple, le parent MDI peut être une feuille de calcul et l'enfant MDI un graphique. Dans ce cas, vous souhaitez mettre à jour le contenu du menu du parent MDI avec le contenu du menu de l'enfant MDI à mesure que des fenêtres enfants MDI de types différents sont activées. La procédure suivante utilise le <xref:System.Windows.Forms.Form.IsMdiContainer%2A>, <xref:System.Windows.Forms.ToolStrip.AllowMerge%2A>, <xref:System.Windows.Forms.MergeAction>, et <xref:System.Windows.Forms.ToolStripItem.MergeIndex%2A> propriétés pour insérer un groupe d’éléments de menu à partir du menu MDI enfant dans la partie déroulante du menu MDI parent. Fermeture de la fenêtre MDI enfant supprime les éléments de menu inséré à partir du parent MDI. ### <a name="to-insert-a-menustrip-into-an-mdi-drop-down-menu"></a>Pour insérer un MenuStrip dans un menu du menu déroulant MDI 1. Créez un formulaire et affectez la valeur `true` à sa propriété <xref:System.Windows.Forms.Form.IsMdiContainer%2A>. 2. Ajoutez un <xref:System.Windows.Forms.MenuStrip> à `Form1` et affectez la valeur `true` à la propriété <xref:System.Windows.Forms.ToolStrip.AllowMerge%2A> du <xref:System.Windows.Forms.MenuStrip>. 3. Ajoutez un élément de menu de niveau supérieur au <xref:System.Windows.Forms.MenuStrip> de `Form1` et affectez la valeur `&File` à sa propriété <xref:System.Windows.Forms.Control.Text%2A>. 4. Ajoutez trois éléments de sous-menu à la `&File` élément de menu et définissez leurs <xref:System.Windows.Forms.ToolStripItem.Text%2A> propriétés à `&Open`, `&Import from`, et `E&xit`. 5. Ajoutez deux éléments de sous-menu à la `&Import from` élément de sous-menu et définissez leurs <xref:System.Windows.Forms.ToolStripItem.Text%2A> propriétés à `&Word` et `&Excel`. 6. Ajoutez un formulaire au projet, ajoutez un <xref:System.Windows.Forms.MenuStrip> au formulaire et affectez la valeur `true` à la propriété <xref:System.Windows.Forms.ToolStrip.AllowMerge%2A> du <xref:System.Windows.Forms.MenuStrip> de `Form2`. 7. Ajoutez un élément de menu de niveau supérieur au <xref:System.Windows.Forms.MenuStrip> de `Form2` et affectez la valeur `&File` à sa propriété <xref:System.Windows.Forms.ToolStripItem.Text%2A>. 8. Ajouter des éléments de sous-menu à la `&File` menu de `Form2` dans l’ordre suivant : un <xref:System.Windows.Forms.ToolStripSeparator>, `&Save`, `Save and &Close`et un autre <xref:System.Windows.Forms.ToolStripSeparator>. 9. Définir le <xref:System.Windows.Forms.MergeAction> et <xref:System.Windows.Forms.ToolStripItem.MergeIndex%2A> propriétés de la `Form2` les éléments de menu comme indiqué dans le tableau suivant. |Élément de menu Form2|Valeur MergeAction|Valeur MergeIndex| |---------------------|-----------------------|----------------------| |Fichier|MatchOnly|-1| |Séparateur|Insert|2| |Enregistrer|Insert|3| |Enregistrer et fermer|Insert|4| |Séparateur|Insert|5| 10. Créez un gestionnaire d'événements pour l'événement <xref:System.Windows.Forms.Control.Click> du <xref:System.Windows.Forms.ToolStripMenuItem> de `&Open`. 11. Dans le gestionnaire d'événements, insérez du code semblable à l'exemple de code suivant pour créer et afficher de nouvelles instances de `Form2` en tant qu'enfants MDI de `Form1`. ```vb Private Sub openToolStripMenuItem_Click(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles openToolStripMenuItem.Click Dim NewMDIChild As New Form2() 'Set the parent form of the child window. NewMDIChild.MdiParent = Me 'Display the new form. NewMDIChild.Show() End Sub ``` ```csharp private void openToolStripMenuItem_Click(object sender, EventArgs e) { Form2 newMDIChild = new Form2(); // Set the parent form of the child window. newMDIChild.MdiParent = this; // Display the new form. newMDIChild.Show(); } ``` 12. Insérez du code similaire à l'exemple de code suivant dans le `&Open`<xref:System.Windows.Forms.ToolStripMenuItem> pour inscrire le gestionnaire d'événements. ```vb Private Sub openToolStripMenuItem_Click(sender As Object, e As _ EventArgs) Handles openToolStripMenuItem.Click ``` ```csharp this.openToolStripMenuItem.Click += new System.EventHandler(this.openToolStripMenuItem_Click); ``` ## <a name="compiling-the-code"></a>Compilation du code Cet exemple nécessite : - deux <xref:System.Windows.Forms.Form> contrôles nommés `Form1` et `Form2` ; - un contrôle <xref:System.Windows.Forms.MenuStrip> sur `Form1` nommé `menuStrip1` et un contrôle <xref:System.Windows.Forms.MenuStrip> sur `Form2` nommé `menuStrip2` ; - des références aux assemblys <xref:System?displayProperty=nameWithType> et <xref:System.Windows.Forms?displayProperty=nameWithType>. ## <a name="see-also"></a>Voir aussi - [Guide pratique pour Créer des formulaires MDI parents](../../../../docs/framework/winforms/advanced/how-to-create-mdi-parent-forms.md) - [Guide pratique pour Créer des formulaires MDI enfants](../../../../docs/framework/winforms/advanced/how-to-create-mdi-child-forms.md) - [Vue d'ensemble du contrôle MenuStrip](../../../../docs/framework/winforms/controls/menustrip-control-overview-windows-forms.md)
62.009804
463
0.726008
fra_Latn
0.607904
3f15a85521dd2f870fe4153462b7392cbbb70ffa
872
md
Markdown
README.md
dkthehuman/gatsby-manifest-l10n-bug-demo
691040dd8c83a59734b9dbce4e5f9cc3bf08d2f2
[ "MIT" ]
null
null
null
README.md
dkthehuman/gatsby-manifest-l10n-bug-demo
691040dd8c83a59734b9dbce4e5f9cc3bf08d2f2
[ "MIT" ]
null
null
null
README.md
dkthehuman/gatsby-manifest-l10n-bug-demo
691040dd8c83a59734b9dbce4e5f9cc3bf08d2f2
[ "MIT" ]
null
null
null
## Description Test repo to demonstrate localization bug with `gatsby-plugin-manifest`. Netlify demo: https://affectionate-franklin-dc4bfb.netlify.com Tracking issue: https://github.com/gatsbyjs/gatsby/issues/17255 ## Reproduction steps 1. Navigate to the Netlify demo (or run `gatsby build && gatsby serve` on the test repo) 2. Open DevTools and confirm that the manifest in `<head>` is `manifest-en.webmanifest` as expected. 3. Click on the "Spanish" link to navigate to `/es/`. 4. See that the manifest is still `manifest-en.webmanifest` rather than `manifest-es.webmanifest`. Notes: In production builds (`gatsby build && gatsby serve`), the correct manifest is loaded when the localized page is the initial page or if you refresh on it. In development builds (`gatsby develop`), the correct manifest is never loaded, regardless of whether you refresh or not.
41.52381
154
0.768349
eng_Latn
0.981481
3f1692145a773b93697308df3088105c3a14f129
81
md
Markdown
mocha_tests/compression/en_gen_tn/content/35/23.md
unfoldingWord-dev/node-resource-container
20c4b7bfd2fa3f397ee7e0e743567822912c305b
[ "MIT" ]
1
2016-12-15T03:59:00.000Z
2016-12-15T03:59:00.000Z
mocha_tests/compression/en_gen_tn/content/35/23.md
unfoldingWord-dev/node-resource-container
20c4b7bfd2fa3f397ee7e0e743567822912c305b
[ "MIT" ]
1
2016-12-16T18:41:20.000Z
2016-12-16T18:41:20.000Z
mocha_tests/compression/out/en_gen_tn.reopened/content/35/23.md
unfoldingWord-dev/node-resource-container
20c4b7bfd2fa3f397ee7e0e743567822912c305b
[ "MIT" ]
null
null
null
#Bilhah See how you translated this name in [[:en:bible:notes:gen:29:28|29:29]].
27
72
0.716049
eng_Latn
0.98614
3f16e2c53ae1f31bd0abc0ab0c6b6c9f314cbf6b
3,376
md
Markdown
README.md
redknight99/Kanyus
ca9ab9284ef5ee67c05d82e50621e99f7a716867
[ "MIT" ]
1
2021-02-15T11:36:39.000Z
2021-02-15T11:36:39.000Z
README.md
redknight99/Kanyus
ca9ab9284ef5ee67c05d82e50621e99f7a716867
[ "MIT" ]
null
null
null
README.md
redknight99/Kanyus
ca9ab9284ef5ee67c05d82e50621e99f7a716867
[ "MIT" ]
null
null
null
# Kanyus <p> <a href="https://www.python.org/" target="_blank"> <img alt="MadeWith" src="https://img.shields.io/badge/Made%20with-Python-1f425f.svg"> </a> <a href="" target="_blank"> <img alt="MadeWith" src="https://img.shields.io/badge/version-v0.57-blue"> </a> <a href="" target="_blank"> <img alt="MadeWith" src="https://img.shields.io/badge/PRs-Yes%20Please-brightgreen.svg?style=flat-square"> </a> </p> ## Why Because sometimes in order to show the world that you are a musical genius, you need to automate! Kanyus is designed to help you scale up your efforts to reach the <a href="https://genius.com/albums/Genius/Genius-users-hall-of-fame">Genius.com Hall of Fame</a> by helping you find unannotated songs from your favorite artists on Genius.com . ## No, but really, why? Because Genius.com gameifies their <a hre="https://genius.com/discussions/331182-What-does-the-iq-points">user account editorial privileges </a> and this tool will help you reach greater Genius.com editorial access quickly. Also, sharing musical knowledge is cool. Kanyus helps you find ways to share you knowledge about your favorite artists on Genius.com at scale. ``` Example in case the link for editorial privileges above is broken: 100 IQ: You can add a song & start a thread 150 IQ: You’ll be able to post in the forums. 300 IQ: You can edit unlocked metadata & your upvotes will be counted as double (+4 instead of +2). 600 IQ: You’ll be able to annotate on locked songs & correct/edit lyrics of locked songs. 3,000 IQ: Edit a lyric with more than 5,000 page views ``` ## How Using the <a href="https://docs.genius.com/">Genius.com API</a>, a little bit of Python, and some meta-API magic. ## Installation * From the project's directory run the command: `pip install -r requirements.txt` . * You're also going to need your own <a href="https://genius.com/api-clients">Genius.com API "Client Access Token"</a>. * You're going to need to add your API "Client Access Token" in the settings.ini file. ## Usage Example `python main.py -h` ``` -h, --help show this help message and exit -a ARTIST, --artist ARTIST Name of the aritst who's songs we want to get. -d, --debug This flag will set logging to Debug mode. -p ARTIST_TO_PRUNE, --prune ARTIST_TO_PRUNE Name of the artist who's songs we want to prune -l LIST_SONGS_BY, --listsongsby LIST_SONGS_BY Name of Artist we want to get songs for. -v, --verbose Flag will set logging to Debug mode like -d. ``` ---------------------------------------------------------------- `python main.py --artist "The Beatles" --debug` ``` Command finds "The Beatles" 's Genius.com Artist ID and stores information about any unannotated songs of theirs locally in artist_song_id_mapping.json ``` ----------------------------------------------------------------- `python main.py --listsongsby "The Beatles" --debug` ``` Command lists information about unannotated songs by "The Beatles" from artist_song_id_mapping.json ``` ----------------------------------------------------------------- ## Known Issues * Genius.com has a builtin rate limiter that blocks you from posting if you post too frequently. Only a human Moderator / Editor can remove the rate limit blocker which can take time / effort contacting the Moderators to remove.
51.938462
366
0.676836
eng_Latn
0.945344
3f16f7d03a9cbfacf8991f7ddd864a85ebc7b26a
454
md
Markdown
_posts/2015-12-01-airtime-rewards.md
embasbm/embasbm.github.io
c211bfebb521d39127237b8b85137580900d3611
[ "MIT" ]
null
null
null
_posts/2015-12-01-airtime-rewards.md
embasbm/embasbm.github.io
c211bfebb521d39127237b8b85137580900d3611
[ "MIT" ]
null
null
null
_posts/2015-12-01-airtime-rewards.md
embasbm/embasbm.github.io
c211bfebb521d39127237b8b85137580900d3611
[ "MIT" ]
null
null
null
--- layout: post title: "Airtime Rewards Ltd" categories: Ruby on Rails Developer | System ops --- * Write clean, maintainable and efficient code * Design robust, scalable and secure features * Contribute in all phases of the platform development lifecycle * Follow best practices (test-driven development, continuous integration, SCRUM, refactoring, code standards) * Drive continuous adoption and integration of relevant new technologies into design
37.833333
109
0.797357
eng_Latn
0.978701
3f18a75d14fcf417ddf627069d140133af44b379
816
md
Markdown
README.md
GlobalArtInc/bm-api
bd9b4bf192a00b0a083cd9452f48f531a2767972
[ "MIT" ]
2
2022-03-23T15:46:16.000Z
2022-03-23T15:55:04.000Z
README.md
GlobalArtInc/bm-api
bd9b4bf192a00b0a083cd9452f48f531a2767972
[ "MIT" ]
null
null
null
README.md
GlobalArtInc/bm-api
bd9b4bf192a00b0a083cd9452f48f531a2767972
[ "MIT" ]
null
null
null
# bm-api ## Установка ```sh $ npm install @globalart/bm-api ``` ## Инициализация враппера ```js // ES6 import { Client } from '@globalart/bm-api' const client = new Client({ token: 'BOT_TOKEN_IS_HERE' }) // CommonJS const { Client } = require('@globalart/bm-api') const client = new Client({ token: 'BOT_TOKEN_IS_HERE' }) ``` ## Примеры кода ```js // Получить информацию о боте client.bots.info(botId).then((response) => { console.log(response) }) // Получить информацию о пользователе client.users.profile(userId).then((response) => { console.log(response) }) // Узнать, если пользователь проголосовал за бота client.bots.checkVote(userId).then((response) => { console.log(response) }) // Опубликовать статистику бота client.bots.postStats({ serverCount: 0, shardCount: 0 }) ```
17.361702
50
0.677696
rus_Cyrl
0.174763
3f193706181bc15792201df59ef56d7f88f31b93
1,263
md
Markdown
sitescore/OfficeDevPnP.Core.WebAPI.WebAPIHelper.ca213228.md
Laul0/PnP-Guidance
81353471222abae26bc6459844bcde148dcf7752
[ "MIT" ]
null
null
null
sitescore/OfficeDevPnP.Core.WebAPI.WebAPIHelper.ca213228.md
Laul0/PnP-Guidance
81353471222abae26bc6459844bcde148dcf7752
[ "MIT" ]
null
null
null
sitescore/OfficeDevPnP.Core.WebAPI.WebAPIHelper.ca213228.md
Laul0/PnP-Guidance
81353471222abae26bc6459844bcde148dcf7752
[ "MIT" ]
null
null
null
# WebAPIHelper.RegisterWebAPIService Method This method needs to be called from a code behind of the SharePoint app startup page (default.aspx). It registers the calling SharePoint app by calling a specific "Register" api in your WebAPI service. Note: Given that method is async you'll need to add the Async="true" page directive to the page that uses this method. **Namespace:** [OfficeDevPnP.Core.WebAPI](OfficeDevPnP.Core.WebAPI.md) **Assembly:** OfficeDevPnP.Core.dll ## Syntax ```C# public static void RegisterWebAPIService(this Page page, String apiRequest, Uri serviceEndPoint) ``` ### Parameters #### page &emsp;&emsp;Type: System.Web.UI.Page &emsp;&emsp;The page object, needed to insert the services token cookie and read the querystring #### apiRequest &emsp;&emsp;Type: System.String &emsp;&emsp;Route to the "Register" API #### (optional) serviceEndPoint &emsp;&emsp;Type: System.Uri &emsp;&emsp;Optional Uri to the WebAPI service endpoint. If null then the assumption is taken that the WebAPI is hosted together with the page making this call ### Return Value Type: void ## See also - [WebAPIHelper](OfficeDevPnP.Core.WebAPI.WebAPIHelper.md) - [OfficeDevPnP.Core.WebAPI](OfficeDevPnP.Core.WebAPI.md)
36.085714
324
0.74426
eng_Latn
0.797915
3f19844ce4676dc3d19727ede79eb92c6f9fd2fd
31
md
Markdown
README.md
master-q/practice-static-code-analysis
9f41586c2e7eabc83b75dfb0c6c84fbb64042261
[ "MIT" ]
2
2017-09-23T07:33:13.000Z
2017-09-23T10:42:35.000Z
README.md
master-q/practice-static-code-analysis
9f41586c2e7eabc83b75dfb0c6c84fbb64042261
[ "MIT" ]
null
null
null
README.md
master-q/practice-static-code-analysis
9f41586c2e7eabc83b75dfb0c6c84fbb64042261
[ "MIT" ]
null
null
null
# practice-static-code-analysis
31
31
0.83871
kor_Hang
0.252437
3f1a990e5ad598694135159e5ad54b48629ca96c
54
md
Markdown
README.md
IwonGunawan/siks
0396fcced2a1ad627e38157674251d6dcb49ed13
[ "MIT" ]
null
null
null
README.md
IwonGunawan/siks
0396fcced2a1ad627e38157674251d6dcb49ed13
[ "MIT" ]
null
null
null
README.md
IwonGunawan/siks
0396fcced2a1ad627e38157674251d6dcb49ed13
[ "MIT" ]
null
null
null
# CRUD with Codeigniter 3 include : export and import
18
27
0.777778
eng_Latn
0.999749
3f1abfaa61815bb8488fce801a68c1b5107d3028
981
md
Markdown
README.md
JuTo-Hub/07_README_Maker
72ece0f0b5dceeeeac7e57325b526a3627f5295e
[ "MIT" ]
null
null
null
README.md
JuTo-Hub/07_README_Maker
72ece0f0b5dceeeeac7e57325b526a3627f5295e
[ "MIT" ]
null
null
null
README.md
JuTo-Hub/07_README_Maker
72ece0f0b5dceeeeac7e57325b526a3627f5295e
[ "MIT" ]
null
null
null
# README Creator [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) ## Table Of Contents - [Description](#description) - [Installation](#installation) - [Usage](#usage) - [License](#license) - [Contributors](#contributors) - [Tests](#tests) - [Questions](#questions) ## Description This application will create an easy README file. ## Installation This app runs in the command line and renders a README based on user input. Just run node index.js and answer the questions. ## Usage This application is used to make quick README files. ## License MIT ## Contributors Justin Torres ## Tests NONE ## Questions [JuTo-Hub](https://github.com/JuTo-Hub) [JusinTorres1@outlook.com](https://github.com/JusinTorres1@outlook.com) ## How To... [Instruction Video](https://drive.google.com/drive/folders/1ENlkCKa1tVI-uBWutEWEyE0w_76ToEfz?usp=sharing)
23.357143
126
0.686035
yue_Hant
0.446687
3f1b0266401f978ffc7fd63f1b5ffe6efb3a8f4a
408
md
Markdown
code/js/README.md
douraymi/girafeee_chrome_helper
f793198991ad61fb10e88c2089911db045116871
[ "Unlicense" ]
null
null
null
code/js/README.md
douraymi/girafeee_chrome_helper
f793198991ad61fb10e88c2089911db045116871
[ "Unlicense" ]
null
null
null
code/js/README.md
douraymi/girafeee_chrome_helper
f793198991ad61fb10e88c2089911db045116871
[ "Unlicense" ]
null
null
null
All the files here are considered to be *entry points* from `manifest.json` or from any of the HTML pages in `html` directory. All files here are written as node.js modules, so they can be easily tested during build process using `mocha` test framework. In the resulting extension, however, will only see *processed* files (i.e. no `libs` or `modules` directory will be visible to the extension).
45.333333
79
0.75
eng_Latn
0.999573
3f1b5bdbad290880eea5fe95b4f3fc71931aec8f
186
md
Markdown
content/talk/inductive_bias/index.md
schwartz-lab-huji/academic-kickstart
a871ffe1b99a2ef24414477322fac3011be3fbc9
[ "MIT" ]
null
null
null
content/talk/inductive_bias/index.md
schwartz-lab-huji/academic-kickstart
a871ffe1b99a2ef24414477322fac3011be3fbc9
[ "MIT" ]
null
null
null
content/talk/inductive_bias/index.md
schwartz-lab-huji/academic-kickstart
a871ffe1b99a2ef24414477322fac3011be3fbc9
[ "MIT" ]
1
2020-05-17T03:17:25.000Z
2020-05-17T03:17:25.000Z
--- title: "Inductive Bias of Deep Networks through Language Patterns" summary: "Google Research Tel Aviv; Machine Learning Seminar" date: "2017-12-01" links: url_slides: slides.pdf ---
23.25
66
0.758065
eng_Latn
0.428128
3f1b5d1512f2bf69905dfaf9e2a7763849f4fd54
4,352
md
Markdown
docs/antibodies/caspr2.md
monchee/liamsproject
0421342cff0ee96ee639436332a8475728bafe97
[ "Unlicense" ]
null
null
null
docs/antibodies/caspr2.md
monchee/liamsproject
0421342cff0ee96ee639436332a8475728bafe97
[ "Unlicense" ]
1
2021-12-17T03:29:20.000Z
2021-12-17T03:29:20.000Z
docs/antibodies/caspr2.md
ramonyuson/liamdocs
0421342cff0ee96ee639436332a8475728bafe97
[ "Unlicense" ]
null
null
null
--- title: CASPR2 description: Contactin associated protein 2 hide: - tags tags: - Seizures - EEG epileptiform - Limbic encephalitis - Cognitive decline - Abnormal neuropsychological examination - Personality change - Hallucinations - Depression - Insomnia - REM sleep behaviour disorder - Abnormal polysomnogram - Hyponatraemia - Morvan's syndrome - Neuropathic pain - Sweat abnormalities - EMG hyperexcitability - EMG neuropathy - Cramps - Sensory and motor symptoms - Nerve conduction abnormalities - Tilt test positive - MRI abnormal - PET abnormal - CSF may be normal --- # CASPR2 ## **Contactin associated protein 2** ### Description Anti-CASPR2 antibodies are of the IgG1 and IgG4 isotypes directed against a component of the VGKC in the central and peripheral nervous systems. They are more often associated with peripheral than central manifestations. Thymoma is present in 20-50% of cases. Anti-CASPR2 antibodies may coexist with anti-LGI1 antibodies. ### Mechanism of action CASPR2 is expressed throughout the central and peripheral nervous systems. - **In the CNS**: it is expressed in the cerebellum, CA1 and CA3 hippocampal and pyramidal cells, olfactory bulb, and white matter tracts. - **In the PNS**: it is found in the juxtaparanodes of myelinated axons. Anti-CASPR2 antibodies disrupt CASPR2 or internalise the VGKC complex. - **At other times**: the antibody will disrupt CASPR2 interactions with neighbouring proteins. Some patients show reduced CMAP and SNAP amplitudes. ### Associated clinical features - Seizures in 49% (predominantly complex partial) - Epileptiform EEG - Limbic encephalitis - Cognitive decline - Abnormal neuropsychological examination - Personality change - Hallucinations - Depression - Insomnia - REM sleep behaivour disorder - Abnormal polysomnogram - Hyponatraemia in 7% - Morvan's syndrome - Neuropathic pain - Sweat abnormalities - 8:1 male to female - EMG hyperexcitability - EMG neuropathy - Cramps - Sensory and motor symptoms - Nerve conduction abnormalities - Tilt test positive - MRI abnormal - PET abnormal - CSF may be normal ### Associated neoplasia Thymoma in 20-50% of cases. (1) Risk of malignancy very low in other neurological syndromes associated with this autoantibody. { .annotate } 1. Particularly in cases of Morvan's syndrome and neuromyotonia. ### Laboratory method <div class="grid" markdown> :material-flask: Cell based assay { .card } </div> Indirect immunofluoresence on rat brain In cases of negative above assays and strongly characteristic clinical features then live hippocampal neuronal assays could be considered if accessible (1) { .annotate } 1. May need to have a list of labs here, or S Irani's lab if none other available ### Notes of performance characteristics Commercial CBA ([Euroimmun](https://www.euroimmun.com/)) using CSF has a sensitivity of 66.7% and specificity of 100% for anti-CASPR2 antibodies. ### Grade ### Next steps !!! warning **Do not order** with anti-VGKC antibodies due to low clinical yield of 'double negative anti-VGKC' results. [^1]: Graus, Francesc, Alberto Vogrig, Sergio Muñiz-Castrillo, Jean-Christophe G. Antoine, Virginie Desestret, Divyanshu Dubey, Bruno Giometto, et al. “Updated Diagnostic Criteria for Paraneoplastic Neurologic Syndromes.” Neurology - Neuroimmunology Neuroinflammation 8, no. 4 (July 2021): e1014. https://doi.org/10.1212/NXI.0000000000001014. [^2]: Michael, Sophia, Patrick Waters, and Sarosh R Irani. “Stop Testing for Autoantibodies to the VGKC-Complex: Only Request LGI1 and CASPR2.” Practical Neurology 20, no. 5 (October 2020): 377–84. https://doi.org/10.1136/practneurol-2019-002494. [^3]: McCracken, Lindsey, Junxian Zhang, Maxwell Greene, Anne Crivaro, Joyce Gonzalez, Malek Kamoun, and Eric Lancaster. “Improving the Antibody-Based Evaluation of Autoimmune Encephalitis.” Neurology - Neuroimmunology Neuroinflammation 4, no. 6 (November 2017): e404. https://doi.org/10.1212/NXI.0000000000000404. [^4]: Gadoth, Avi, Sean J. Pittock, Divyanshu Dubey, Andrew McKeon, Jeff W. Britton, John E. Schmeling, Aurelia Smith, et al. “Expanded Phenotypes and Outcomes among 256 LGI1/CASPR2-IgG-Positive Patients: LGI1/CASPR2-IgG + Patients.” Annals of Neurology 82, no. 1 (July 2017): 79–92. https://doi.org/10.1002/ana.24979."
39.563636
342
0.765395
eng_Latn
0.875663
3f1b656223eab4edae45cc5c4fd606bae553628b
55
md
Markdown
README.md
banzayche/StreamApp-training-
fae8a2c50e96a89900e841bedbbe47a1e925bbc1
[ "MIT" ]
null
null
null
README.md
banzayche/StreamApp-training-
fae8a2c50e96a89900e841bedbbe47a1e925bbc1
[ "MIT" ]
null
null
null
README.md
banzayche/StreamApp-training-
fae8a2c50e96a89900e841bedbbe47a1e925bbc1
[ "MIT" ]
null
null
null
# StreamApp-training Run `node index` to start server
13.75
32
0.763636
eng_Latn
0.822644
3f1b8bb054fd9da12384fd46debbb8e3c1151f4c
192
md
Markdown
README.md
shonkam/small-shops-api
35ef73b9b2cdadb30dd96abe3d6b94ae0283574e
[ "MIT" ]
null
null
null
README.md
shonkam/small-shops-api
35ef73b9b2cdadb30dd96abe3d6b94ae0283574e
[ "MIT" ]
null
null
null
README.md
shonkam/small-shops-api
35ef73b9b2cdadb30dd96abe3d6b94ae0283574e
[ "MIT" ]
null
null
null
# Small Shops API ## Description API is implemented by using Apollo Server and it provides business logic for [Small Shops Ecommerce platform](https://github.com/shonkam/small-shops-client).
38.4
157
0.791667
eng_Latn
0.93803
3f1c2ab2ad663f7686305ea4092cc93adad600da
2,034
md
Markdown
_posts/2017-08-12-how-to-become-an-evangelist-upcoming-interview-with-alistair-pugin.md
g00s3m4n/g00s3m4n.github.io
911c6114a586b89181617ff92df98473588e6cff
[ "MIT" ]
null
null
null
_posts/2017-08-12-how-to-become-an-evangelist-upcoming-interview-with-alistair-pugin.md
g00s3m4n/g00s3m4n.github.io
911c6114a586b89181617ff92df98473588e6cff
[ "MIT" ]
1
2019-03-19T20:43:21.000Z
2019-03-19T20:44:11.000Z
_posts/2017-08-12-how-to-become-an-evangelist-upcoming-interview-with-alistair-pugin.md
g00s3m4n/g00s3m4n.github.io
911c6114a586b89181617ff92df98473588e6cff
[ "MIT" ]
1
2019-03-19T20:42:11.000Z
2019-03-19T20:42:11.000Z
--- author: Nicolas title: How to become an Evangelist - Upcoming interview with Alistair Pugin slug: how-to-become-an-evangelist-upcoming-interview-with-alistair-pugin id: 54 date: '2017-08-12 12:17:34' layout: post categories: - Interviews --- This Episode is going to be a bit different from the norm. We're going to speak to an "evangelist," not a religious guy on a soap box, but a technical evangelist who started as a technology consultant, but made a conscious career change to become something different. The questions that we want to ask are towards the career development of anyone who wishes to do the same thing. One caveat that I'll note now is that many of us are in evangelist positions technologically speaking however we are not aware of the impact we provide. That leaves us open to what we can't measure is what we can't manage. This post is an invitation to post your questions that we will ask of our guest on the show. For ease of visibility, we would ask that instead of commenting on this post, you avail yourself of our Facebook Group at [https://www.facebook.com/thearchitects.cloud/](https://www.facebook.com/thearchitects.cloud/). More on our features guest Alistair Pugin below:   ![](/wp-content/uploads/2017/08/alistar.jpg)   Alistair has worked in various capacities in multiple verticals from retail – manufacturing to government, spanning 50 to 50000 users utilizing all aspects of pure Enterprise Information Management. His current position as an Office Servers MVP in Johannesburg, South Africa, provides him with a mechanism to assist companies with designing their SharePoint environment using “best of breed”, proven methodologies to foster innovation and growth through an ECM framework while incorporating a Knowledge Management strategy. It is with this vision that he strives to provide customers with a platform for Business Productivity Enrichment, establishing communities of practice through proper analysis and building a knowledge economy that is both quantifiable and achievable.
169.5
1,785
0.80531
eng_Latn
0.999087
3f1cb0ae95c4446ec7fad3b104d41d4827bf1690
4,684
md
Markdown
windows-driver-docs-pr/display/mixed-memory-allocation.md
josephpracharmsft/windows-driver-docs
1aade029928ee88429924a993047b7725246c352
[ "CC-BY-4.0", "MIT" ]
1
2020-02-26T02:51:21.000Z
2020-02-26T02:51:21.000Z
windows-driver-docs-pr/display/mixed-memory-allocation.md
josephpracharmsft/windows-driver-docs
1aade029928ee88429924a993047b7725246c352
[ "CC-BY-4.0", "MIT" ]
1
2020-07-28T04:30:52.000Z
2020-07-28T04:30:52.000Z
windows-driver-docs-pr/display/mixed-memory-allocation.md
josephpracharmsft/windows-driver-docs
1aade029928ee88429924a993047b7725246c352
[ "CC-BY-4.0", "MIT" ]
2
2020-08-11T00:01:58.000Z
2021-11-24T02:51:30.000Z
--- title: Mixed Memory Allocation description: Mixed Memory Allocation ms.assetid: 171efa48-bd1e-4545-a5c2-0b3ad4383448 keywords: - mixed memory allocation WDK DirectDraw ms.date: 04/20/2017 ms.localizationpriority: medium --- # Mixed Memory Allocation ## <span id="ddk_mixed_memory_allocation_gg"></span><span id="DDK_MIXED_MEMORY_ALLOCATION_GG"></span> Linear and rectangular memory heaps can be mixed and matched in any fashion, if the hardware supports it. For example, if a front buffer has a fixed pitch, the DirectDraw-capable driver can allocate a rectangular heap to the right of it. As shown in the following figure, if sufficient memory remains below the primary surface, this area can be made into a linear heap that can be used for a back buffer. ![diagram illustrating mixed memory allocation](images/ddfig6.png) The preceding figure shows a linear piece of memory below the primary surface (Heap 1) and a rectangular piece of memory that is reclaimed by DirectDraw to the right of the primary surface (Heap 2). The following pseudocode shows how a [**VIDEOMEMORY**](https://docs.microsoft.com/windows/desktop/api/ddrawint/ns-ddrawint-_videomemory) structure is set up for a mix of linear and rectangular memory: ```cpp /* * video memory pool usage */ static VIDEOMEMORY vidMem [] = { { VIDMEM_ISRECTANGULAR, 0x00000000, 0x00000000, { 0 }, { 0 } }, { VIDMEM_ISLINEAR, 0x00000000, 0x00000000, { 0 }, { 0 } }, }; ``` Two areas of display memory can be allocated in this instance. The area to the conceptual right of the primary surface is necessarily rectangular, and is indicated by the VIDMEM\_ISRECTANGULAR flag. The area conceptually below the primary surface can be linear, and is indicated by the VIDMEM\_ISLINEAR flag. The following pseudocode shows how a mix of linear and rectangular memory heaps are set up: ```cpp /* * video memory pool information */ /* set up the pointer to the first available video memory after the primary surface */ ddHALInfo.vmiData.pvmList = vidMem; /* how many heaps are there ddHALInfo.vmiData.dwNumHeaps = 2; /* The linear piece: */ /* * remainder of screen memory */ VideoHeapBase = ddHALInfo.vmiData.fpPrimary + dwPrimarySurfaceSize + dwCacheSize; VideoHeapEnd = VideoHeapBase + dwDDOffScreenSize - 1; vidMem[0].fpStart = VideoHeapBase; vidMem[0].fpEnd = VideoHeapEnd; /* The rectangular piece: */ /* set up the pointer to the next available video memory */ ddHALInfo.vmiData.pvmList = vidMem[1]; /* * Compute the Pitch here ... */ vidMem[1].fpStart = ddHALInfo.vmiData.fpPrimary + dwPrimarySurfaceWidth; vidMem[1].dwWidth = dwPitch - dwPrimarySurfaceWidth; vidMem[1].dwHeight = dwPrimarySurfaceHeight; vidMem[1].ddsCaps.dwCaps = 0; // surface has no use restrictions ``` A linear memory heap is set up by determining the start and end points of the scratch area below the primary surface, indicated by the **fpStart** and **fpEnd** members of the linear [**VIDEOMEMORY**](https://docs.microsoft.com/windows/desktop/api/ddrawint/ns-ddrawint-_videomemory) structure (<strong>vidMem\[</strong>0<strong>\]</strong>). The rectangular piece is set up using the starting point, indicated by the **fpStart** member of the rectangular VIDEOMEMORY structure (<strong>vidMem\[</strong>1<strong>\]</strong>), width, indicated by the **dwWidth** member, and height, indicated by the **dwHeight** member, of the primary surface. The pitch (the **dwPitch** member) must be calculated before the rectangular piece can be set up. This is the same as in the previous rectangular example, except in this case the pitch is the second element of the VIDEOMEMORY structure instead of the first. Each new heap requires a new VIDEOMEMORY structure. In some cases, the flip register can handle only 256 KB boundaries. In these instances, a small heap can use up the space between the bottom of the caches and the start of the back buffer, allowing the back buffer to begin on a 256 KB boundary. This example is not shown, but it could be implemented by adding another element to the VIDEOMEMORY structure and setting the starting point just beyond the caches and the ending point just before the 256 KB boundary. Such a heap should be flagged with DDSCAPS\_BACKBUFFER so that it can be skipped over when the heap manager looks for a back buffer. This back buffer heap (the one aligned) would also be marked with DDSCAPS\_OFFSCREENPLAIN to keep sprites and textures from using this heap until no other memory is available in other heaps for off-screen plain surfaces.
48.791667
953
0.748506
eng_Latn
0.993014
3f1e3a7b79dbc4234e9227a2649d2f3c31fd3cf8
239
md
Markdown
node_modules/decentraland-ecs/docs/decentraland-ecs.isystem.active.md
nearnshaw/ECS-fish-in-circles
b37fd3feb9ee006be3645e7062a3ed46ca26f698
[ "Apache-2.0" ]
null
null
null
node_modules/decentraland-ecs/docs/decentraland-ecs.isystem.active.md
nearnshaw/ECS-fish-in-circles
b37fd3feb9ee006be3645e7062a3ed46ca26f698
[ "Apache-2.0" ]
null
null
null
node_modules/decentraland-ecs/docs/decentraland-ecs.isystem.active.md
nearnshaw/ECS-fish-in-circles
b37fd3feb9ee006be3645e7062a3ed46ca26f698
[ "Apache-2.0" ]
null
null
null
[Home](./index) &gt; [decentraland-ecs](./decentraland-ecs.md) &gt; [ISystem](./decentraland-ecs.isystem.md) &gt; [active](./decentraland-ecs.isystem.active.md) # ISystem.active property **Signature:** ```javascript active: boolean ```
23.9
160
0.698745
eng_Latn
0.141389
3f1e5129c63479abb17a4973be2e12fbd1257797
128
md
Markdown
README.md
MuhammadIbrahimUW/Mini-Portfolio-Manager
18b33343e75bab906003657b423084f868934a26
[ "MIT" ]
null
null
null
README.md
MuhammadIbrahimUW/Mini-Portfolio-Manager
18b33343e75bab906003657b423084f868934a26
[ "MIT" ]
null
null
null
README.md
MuhammadIbrahimUW/Mini-Portfolio-Manager
18b33343e75bab906003657b423084f868934a26
[ "MIT" ]
null
null
null
# Mini-Portfolio-Manager Class methods for Trader and Stock's which create a portfolio with a Trader's stock and cash holdings.
42.666667
102
0.804688
eng_Latn
0.998604
3f1fa8cd479ae129670ac7b28d5aef5ad94f1f65
3,965
md
Markdown
tensorflow/README.md
yushulx/barcode-qrcode-images
dcda149c33e5f72325837ea0c90400b91f01e5b6
[ "MIT" ]
5
2021-11-30T14:41:38.000Z
2021-12-31T06:30:11.000Z
tensorflow/README.md
yushulx/barcode-qrcode-images
dcda149c33e5f72325837ea0c90400b91f01e5b6
[ "MIT" ]
1
2022-01-24T08:00:01.000Z
2022-01-24T13:49:32.000Z
tensorflow/README.md
yushulx/barcode-qrcode-images
dcda149c33e5f72325837ea0c90400b91f01e5b6
[ "MIT" ]
null
null
null
## Installation 1. [protobuf](https://github.com/protocolbuffers/protobuf) 2. Object Detection API with TensorFlow 2 ```bash git clone https://github.com/tensorflow/models.git cd models/research # Compile protos. protoc object_detection/protos/*.proto --python_out=. # Install TensorFlow Object Detection API. cp object_detection/packages/tf2/setup.py . python -m pip install --use-feature=2020-resolver . # Test the installation. python object_detection/builders/model_builder_tf2_test.py ``` ## Steps to Train the Qr code Detector with Tensorflow 1. Partition the image set ```bash cd tensorflow python partition_dataset.py -x -i ../images -r 0.1 -o ./ ``` 2. Create `label_map.pbtxt` ```pbtxt item { id: 1 name: 'QR_CODE' } ``` 3. Convert image and XML files to Tensorflow records: ```bash python generate_tfrecord.py -x train -l annotations/label_map.pbtxt -o annotations/train.record python generate_tfrecord.py -x test -l annotations/label_map.pbtxt -o annotations/test.record ``` 3. Download and etract the pre-trained [SSD ResNet50 V1 FPN 640x640](http://download.tensorflow.org/models/object_detection/tf2/20200711/ssd_resnet50_v1_fpn_640x640_coco17_tpu-8.tar.gz) model. 4. Edit `ssd_resnet50_v1_fpn_640x640_coco17_tpu-8/pipeline.config`: ```json num_classes: 1 # We only have one Qr code class batch_size: 32 # Increase/Decrease this value depending on the available memory (Higher values require more memory and vice-versa) fine_tune_checkpoint: "ssd_resnet50_v1_fpn_640x640_coco17_tpu-8/checkpoint/ckpt-0" # Path to checkpoint of pre-trained model fine_tune_checkpoint_type: "detection" # Set this to "detection" since we want to be training the full detection model use_bfloat16: false # Set this to false if you are not training on a TPU train_input_reader { label_map_path: "annotations/label_map.pbtxt" # Path to label map file tf_record_input_reader { input_path: "annotations/train.record" # Path to training TFRecord file } } eval_input_reader { label_map_path: "annotations/label_map.pbtxt" # Path to label map file shuffle: false num_epochs: 1 tf_record_input_reader { input_path: "annotations/test.record" # Path to testing TFRecord } } ``` 5. Train the model. ```bash python model_main_tf2.py --model_dir=models/my_ssd_resnet50_v1_fpn --pipeline_config_path=models/my_ssd_resnet50_v1_fpn/pipeline.config ``` 6. Monitor the training progress: ```bash tensorboard --logdir=models/my_ssd_resnet50_v1_fpn ``` 7. Evaluate the trained model. ```bash python model_main_tf2.py --model_dir=models/my_ssd_resnet50_v1_fpn --pipeline_config_path=models/my_ssd_resnet50_v1_fpn/pipeline.config --checkpoint_dir=models/my_ssd_resnet50_v1_fpn ``` 8. Export the model. ```bash python .\exporter_main_v2.py --input_type image_tensor --pipeline_config_path .\models\my_ssd_resnet50_v1_fpn\pipeline.config --trained_checkpoint_dir .\models\my_ssd_resnet50_v1_fpn\ --output_directory .\exported-models\my_ssd_resnet50_v1_fpn ``` ## References - [https://github.com/tensorflow/models](https://github.com/tensorflow/models) - [https://tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/training.html](https://tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/training.html) - [https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/tf2_detection_zoo.md](https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/tf2_detection_zoo.md) - [https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/tf2_training_and_evaluation.md](https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/tf2_training_and_evaluation.md)
44.055556
247
0.739975
eng_Latn
0.30837
3f1ffe3f79c77ce9e012d9a6f9e4d5fd68211c08
162
md
Markdown
Linux/docker/README.md
xR86/scripts
a28e4b5011d2629805642b63f97038ede7c0b2e5
[ "MIT" ]
1
2022-02-05T06:35:14.000Z
2022-02-05T06:35:14.000Z
Linux/docker/README.md
xR86/scripts
a28e4b5011d2629805642b63f97038ede7c0b2e5
[ "MIT" ]
2
2017-12-30T10:32:54.000Z
2021-02-16T23:12:26.000Z
Linux/docker/README.md
xR86/scripts
a28e4b5011d2629805642b63f97038ede7c0b2e5
[ "MIT" ]
null
null
null
# scripts ## Docker scripts / Dockerfiles Subfolders are docker images. Scripts listed here are tools using [docker-py](https://github.com/docker/docker-py).
23.142857
85
0.753086
eng_Latn
0.545703
3f200461d2fbd62ff4360f9d1d85f8da00d67ae5
3,424
md
Markdown
content/blog/best-practice-reviewing-qq-app/index.md
anandprabhakar0507/engineering-portal
cd4e697db22fbfba2aded67ff6c1128940efa4da
[ "MIT" ]
83
2020-07-09T12:10:37.000Z
2022-02-09T09:55:37.000Z
content/blog/best-practice-reviewing-qq-app/index.md
anandprabhakar0507/engineering-portal
cd4e697db22fbfba2aded67ff6c1128940efa4da
[ "MIT" ]
233
2020-07-06T08:02:50.000Z
2022-03-31T13:46:37.000Z
content/blog/best-practice-reviewing-qq-app/index.md
anandprabhakar0507/engineering-portal
cd4e697db22fbfba2aded67ff6c1128940efa4da
[ "MIT" ]
358
2020-07-09T09:46:18.000Z
2022-03-30T10:16:12.000Z
--- title: "Best practice for reviewing QQ app" date: "2015-08-04" coverImage: "qq-app-review-best-practices.png" author: "Govind Malviya" tags: ["SocialLogin", "QQ"] --- QQ is the most popular ID provider for Chinese people since the 90s, it is always the first choice for websites who want to provide social login functionality for their Chinese users. But similar to other ID providers from China, the app you created needs to be reviewed before actually launching it. Reading Chinese and using Google translate for each line is not that much of fun, and in this tutorial we will go through step by step to figure out how to submit a QQ app for review. Do note: You can always download a Google translate extension for your browser to translate each page to English, it would probably be the easiest way for you, but here I decide to keep it Chinese, Let's go. 1. ### Navigate to [QQ Connect](http://connect.qq.com/) And click the 4th tab (in orange box) ![homepage](Homepage.png) 2. ### Registration After being redirected to [http://connect.qq.com/manage/login](http://connect.qq.com/manage/login), it asks you to fill in your credentials, since I do not have one, I will register for one and feel free to skip this step if you have already got one. Click "register a new account", like shown: ![qq-register-1024x630](qq-register-1024x630.png) It will link you to this page [http://zc.qq.com/en/index.html?from=pt](http://zc.qq.com/en/index.html?from=pt), it is written in English, sweet! I am pretty sure you can register an account by yourself. After filling in the information, it will send a confirmation email to your email box. After your email is verified go back to this page [http://connect.qq.com/manage/login](http://connect.qq.com/manage/login), and use the QQ number you just got to log in with. 3. ### Creating the app Click the big green button on the right side of your screen to create an app, and here we will create a website type app. ![create_app_button](create_app_button.png) ![app_for_website](app_for_website.png) After choosing the type, you need to fill in some basic information for your website, in case if you do not use Google translate to translate the page, I did a little translations for you, there you go. ![form_with_english_translations](form_with_english_translations.png) Here is what I have filled in ![lucius_fillin_info](lucius_fillin_info.png) Please note, when you fill in your website address, it will ask you to verify your website, so you need to copy and paste the javascript code under your website page, and then click the button beside to verify it. ![verify_successfully](verify_successfully.png) Once all the information is filled, then move on to next step, click the blue text link, it asks you to upload different sizes of the images about your company. ![add_assets](add_assets.png) ![upload_different_assets](upload_different_assets.png) Then, it is time to submit by clicking that big green button in the middle. ![app_submit](app_submit.png) Confirm it by clicking the right button again. ![confirm_submit](confirm_submit.png) If everything works well, you will get you app approved in a week, just remember to check it back periodically, good luck!
54.349206
692
0.732185
eng_Latn
0.996485
3f20185b531076f4165c0b4fb9d868f9c394fe34
1,285
markdown
Markdown
content/post/2011-02-18-first-hd-conference-in-asterisk.markdown
leifmadsen/hugo_gh_blog
225bd5d2fd3197cc1a884971c1d0687f6a4a9e56
[ "Apache-2.0" ]
null
null
null
content/post/2011-02-18-first-hd-conference-in-asterisk.markdown
leifmadsen/hugo_gh_blog
225bd5d2fd3197cc1a884971c1d0687f6a4a9e56
[ "Apache-2.0" ]
null
null
null
content/post/2011-02-18-first-hd-conference-in-asterisk.markdown
leifmadsen/hugo_gh_blog
225bd5d2fd3197cc1a884971c1d0687f6a4a9e56
[ "Apache-2.0" ]
null
null
null
--- author: leifmadsen comments: true date: 2011-02-18 17:08:50+00:00 layout: post slug: first-hd-conference-in-asterisk title: First HD Conference In Asterisk! wordpress_id: 283 categories: - Asterisk tags: - Asterisk - ConfBridge - conferencing - g722 - HD - wideband --- Today Russell Bryant and I had the first public HD conference using Asterisk! There had been other testing done by Malcolm Davenport and David Vossel (who is the developer working on this integration) internally, but this was the first public HD enabled conference using Asterisk (as far as I'm aware). It worked really well! People were able to join in, and those who were calling in via G722 were able to hear each other in wideband, while the other people in the conference who were using narrowband codecs like GSM and ulaw didn't hear any difference in the audio from the participants. It's very cool that just because someone joins in a narrowband codec that it doesn't bring the quality of the audio down for all participants. Very nice! This is a feature that is slated to be in Asterisk 1.10, and it's comforting to know just how well this works already. You can check out the team branch where David Vossel is working at http://svn.asterisk.org/svn/asterisk/team/dvossel/fixtheworld_phase2 Enjoy!
47.592593
441
0.787549
eng_Latn
0.999206
3f208bf6e1ee81b30929d9aa89d11e680efc2397
1,711
md
Markdown
README.md
Full-Text-Search-System/IndexingModule
41dd19c3a4fcfebede9a4a9ff35de10e12d93907
[ "MIT" ]
null
null
null
README.md
Full-Text-Search-System/IndexingModule
41dd19c3a4fcfebede9a4a9ff35de10e12d93907
[ "MIT" ]
null
null
null
README.md
Full-Text-Search-System/IndexingModule
41dd19c3a4fcfebede9a4a9ff35de10e12d93907
[ "MIT" ]
null
null
null
# IndexingModule ##Introduction The IndexingModule provides the REST APIs for others if they want to use our indexing and adding functions. The Sphinx indexing results are saved in this module. There are two REST APIs: 1. Search API can be used to search words and phrases in the Sphinx indexing result. In this function, we can set the match mode like match all, match any or match boolean like "key | word". And we also support rank mode like BM25. People can choose the method they want to use. 2. Add API can be used to add files into an remote database and update the Sphinx indexing result in time. In fact, we use RT index and delta-main index to achieve the real-time indexing function. First, we just update the RT index when we add new files. But we set a threshold of RT index, when the number of new files are more than the threshold, we will update the delta index for the new files and merge into main index. And then, the previous RT index will be truncated and rebuild a new one. This can improve the efficency of updating indices and reduce the capacity of RT index. ##Deployment Steps We use Vagrant to deploy the development environment. ###Download and install vagrant Vagrant download link: https://www.vagrantup.com/downloads.html ###Init a Ubuntu 14.04 virtual machine with the required develop envrionment #####We have upload a vagrant box wiht required development envrionment in https://atlas.hashicorp.com/FTS, please download the version 2.0 one If you want to modify the virtual machine, you can ssh to the virtual machine: ``` $ vagrant ssh ``` ##Run the module remember to modify the file name to IndexingModule ``` $cd IndexingModule ``` ``` $vagrant up ```
41.731707
586
0.77031
eng_Latn
0.991551
3f20ade835c12f7f664501e1a8ac90332934712a
8,496
md
Markdown
articles/backup/backup-azure-security-feature.md
anhashia/azure-docs
91daeda3290100efffd247ad62962a8a8d659a67
[ "CC-BY-3.0" ]
null
null
null
articles/backup/backup-azure-security-feature.md
anhashia/azure-docs
91daeda3290100efffd247ad62962a8a8d659a67
[ "CC-BY-3.0" ]
null
null
null
articles/backup/backup-azure-security-feature.md
anhashia/azure-docs
91daeda3290100efffd247ad62962a8a8d659a67
[ "CC-BY-3.0" ]
1
2019-03-31T17:25:38.000Z
2019-03-31T17:25:38.000Z
--- title: Security Features for protecting hybrid backups using Azure Backup | Microsoft Docs description: Learn how to use security features in Azure Backup to make backups more secure services: backup documentationcenter: '' author: JPallavi manager: vijayts editor: '' ms.assetid: 47bc8423-0a08-4191-826d-3f52de0b4cb8 ms.service: backup ms.workload: storage-backup-recovery ms.tgt_pltfrm: na ms.devlang: na ms.topic: article ms.date: 11/24/2016 ms.author: JPallavi --- # Security features for protecting hybrid backups using Azure Backup More and more customers are hit with security issues like malware, ransomware, intrusion etc. These security issues result in data loss and cost per security breach has been ever increasing. To guard against such attacks, Azure Backup now provides Security Features to protect hybrid backups. This article talks about how to enable and leverage these features using Microsoft Azure Recovery Services Agent and Microsoft Azure Backup Server. These features have been built on three pillars of security: 1. **Prevention** - An additional layer of authentication is added whenever a critical operation like Change Passphrase is performed. This validation is to ensure that such operations can be performed only by users having valid Azure credentials. 2. **Alerting** - Email notification is sent to subscription admin whenever a critical operation like Delete Backup data is performed. This email ensures that user is timely notified about such actions. 3. **Recovery** - Deleted backup data is retained for additional 14 days from the date of delete. This ensures recoverability of the data within given time period so there is no data loss even if attack happens. Also, more number of minimum recovery points are maintained to guard against corrupt data. > [!NOTE] > Security Features should be enabled only if you are using: <br/> > * **MAB agent** - minimum agent version 2.0.9052. Once you have enabled these features, you should upgrade to this agent version to perform critical operations like Change Passphrase, Stop backup with Delete data <br/> > * **Azure Backup Server** - minimum MAB agent version 2.0.9052 with Azure Backup Server update 1 <br/> > * **DPM** - Do not enable these features for DPM. These features are coming soon in future URs, so enabling them will not have any impact on existing functioanlity. <br/> > * **IaaS VM Backup** - Do not enable these features for IaaS VM Backup. These features are not yet available for IaaS VM backup, so enabling them will not have any impact on IaaS VM backup. > * Once enabled, you get Security Features for all the Azure Recovery Services Agent (MARS) machines and Azure Backup Servers registered with the vault. <br/> > * Enabling this setting is a one-time action and you cannot disable these features after enabling them. <br/> > * This feature is available only for Recovery Services vault. > > ## Enabling Security features Users creating recovery services vault would be able to avail all the Security Features. For existing recovery services vault, following steps should be used to enable these features: 1. Log in to Azure portal using Azure credentials 2. Type in Recovery Services in the Hub menu to navigate to recovery services list. ![Create Recovery Services Vault step 1](./media/backup-azure-security-feature/browse-to-rs-vaults.png) <br/> The list of recovery services vaults appears. From this list, select a vault. The selected vault dashboard opens. 3. From the list of items that appears under vault, click **Properties** under **Settings**. ![Open vault properties](./media/backup-azure-security-feature/vault-list-properties.png) 4. Click **Update** under **Security Settings**. ![Open security settings](./media/backup-azure-security-feature/security-settings-update.png) Update link opens Security Settings blade, which lets you Enable these features and gives summary of the feature. 5. Select a value from the drop down **Have you configured Azure Multi-Factor Authentication?** to confirm if you have enabled [Azure Multi-Factor Authentication](../multi-factor-authentication/multi-factor-authentication.md). If it is enabled, you are asked to authenticate from another device (e.g. mobile phone) while logging in to Azure portal. As part of Security Features, when critical operations are performed in Azure Backup, you have to enter Security PIN available on Azure portal. Enabling Azure Multi-Factor authentication adds a layer of security, ensuring only authorized users with valid Azure credentials and authenticated from second device can access Azure portal and perform such critical operations. 6. Use the toggle button to **Enable** and click **Save** button on top to save Security Settings as shown in the figure. You can select **Enable** only after you select a value from "Have you configured Azure Multi-Factor Authentication?" drop down. ![Enable security settings](./media/backup-azure-security-feature/enable-security-settings.png) ## Recovering deleted backup data As a security measure, Azure Backup retains deleted backup data for additional 14 days and does not delete it immediately if Stop backup with delete backup data operation is performed. To restore this data in the 14-day period, use the following steps: For **Microsoft Recovery Services Agent (MARS)** users: 1. If the machine where backups were happening is still available, use [Recover data to the same machine](backup-azure-restore-windows-server.md#recover-data-to-the-same-machine) in MARS to recover from all the old recovery points. 2. If the machine mentioned above is not available, use [Recover to an alternate machine](backup-azure-restore-windows-server.md#recover-to-an-alternate-machine) to use another MARS machine to get this data. For **Azure Backup Server** users: 1. If the server where backups were happening is still available, re-protect the deleted data sources and use Recover Data feature to recover from all the old recovery points. 2. If the machine mentioned above is not available, use [Recover data from another Azure Backup Server](backup-azure-alternate-dpm-server.md#recover-data-from-another-azure-backup-server) to use another Azure Backup Server to get this data. ## Preventing attacks As part of this feature, checks have been added to make sure only valid users can perform various operations. ### Authentication to perform critical operations As part of adding extra layer of authentication for critical operations, you would be prompted to enter Security PIN when performing Stop Protection with Delete data and Change Passphrase operations. To receive Security PIN, use the following steps: 1. Log in to Azure portal. 2. Navigate to recovery service vault > Settings > Properties. 3. Click **Generate** under Security PIN. Generate link opens a blade, which contains Security PIN to be entered in Azure Recovery Services Agent UI. This PIN is valid only for 5 minutes and gets generated automatically after that period. ### Maintaining minimum retention range To ensure that there are always a valid number of recovery points available, following checks have been added: 1. For daily retention, minimum **seven** days of retention should be done 2. For weekly retention, minimum **four** weeks of retention should be done 3. For monthly retention, minimum **three** months of retention should be done 4. For yearly retention, minimum **one** year of retention should be done ## Notifications for critical operations Whenever some critical operations are performed, subscription admin would be sent an email notification with details about the operation. If you want to configure additional email ids to receive email notifications, you can use Azure portal to configure them. The Security features mentioned in this article, provide defense mechanisms against targeted attacks preventing attackers to touch the backups. More importantly, these features provide an ability to recover data if at all attack happens. ## Next Steps * [Get started with Azure Recovery Services vault](backup-azure-vms-first-look-arm.md) to enable these features * [Download latest Azure Recovery Services agent](http://aka.ms/azurebackup_agent) to protect Windows machines and guard your backup data against attacks * [Download latest Azure Backup Server](https://aka.ms/latest_azurebackupserver) to protect workloads and guard your backup data against attacks
78.666667
501
0.789548
eng_Latn
0.995886
3f20f0c3f5110e47cb12b75508843197c837dde0
12,861
md
Markdown
_listings/coinmarketcap/v1cryptocurrencylistingslatest-get-postman.md
streamdata-gallery-organizations/coinmarketcap
4d1b85ea234d8620dd7de0fa4d00e77d566788ef
[ "CC-BY-3.0" ]
null
null
null
_listings/coinmarketcap/v1cryptocurrencylistingslatest-get-postman.md
streamdata-gallery-organizations/coinmarketcap
4d1b85ea234d8620dd7de0fa4d00e77d566788ef
[ "CC-BY-3.0" ]
null
null
null
_listings/coinmarketcap/v1cryptocurrencylistingslatest-get-postman.md
streamdata-gallery-organizations/coinmarketcap
4d1b85ea234d8620dd7de0fa4d00e77d566788ef
[ "CC-BY-3.0" ]
null
null
null
{ "info": { "name": "CoinMarketCap List all cryptocurrencies (latest)", "_postman_id": "7a01337c-6fb9-4134-bca3-64d9a0b850b4", "description": "Get a paginated list of all cryptocurrencies with latest market data. You can configure this call to sort by market cap or another market ranking field. Use the \"convert\" option to return market values in multiple fiat and cryptocurrency conversions in the same call. \n\n\nCryptocurrencies are listed by CoinMarketCap Rank by default. You may optionally sort against any of the following:\n**name**: The cryptocurrency name.\n**symbol**: The cryptocurrency symbol.\n**date_added**: Date cryptocurrency was added to the system.\n**market_cap**: market cap (latest trade price x circulating supply).\n**price**: latest average trade price across markets.\n**circulating_supply**: approximate number of coins currently in circulation.\n**total_supply**: approximate total amount of coins in existence right now (minus any coins that have been verifiably burned).\n**max_supply**: our best approximation of the maximum amount of coins that will ever exist in the lifetime of the currency.\n**num_market_pairs**: number of market pairs across all exchanges trading each currency.\n**volume_24h**: 24 hour trading volume for each currency.\n**percent_change_1h**: 1 hour trading price percentage change for each currency.\n**percent_change_24h**: 24 hour trading price percentage change for each currency.\n**percent_change_7d**: 7 day trading price percentage change for each currency.\n\n **This endpoint is available on the following API plans:**\n - Starter\n - Hobbyist\n - Standard\n - Professional\n - Enterprise\n\n**Cache / Update frequency:** Every ~1 minute. \n \n*NOTE: Use this endpoint if you need a sorted and paginated list of cryptocurrencies. If you want to query for market data on a few specific cryptocurrencies use /v1/cryptocurrency/quotes/latest which is optimized for that purpose. The response data between these endpoints is otherwise the same.*", "schema": "https://schema.getpostman.com/json/collection/v2.0.0/" }, "item": [ { "name": "Blockchain", "item": [ { "id": "4b21fe97-bde7-4ce8-960b-281e60ab3caa", "name": "getV1CryptocurrencyInfo", "request": { "url": "http://pro-api.coinmarketcap.com/v1/cryptocurrency/info?id=%7B%7D&symbol=%7B%7D", "method": "GET", "header": [ { "key": "Accept", "value": "*/*", "disabled": false } ], "body": { "mode": "raw" }, "description": "Returns all static metadata for one or more cryptocurrencies including name, symbol, logo, and its various registered URLs.\n\n**This endpoint is available on the following API plans:**\n- Starter\n- Hobbyist\n- Standard\n- Professional\n- Enterprise\n\n**Cache / Update frequency:** Static data is updated only as needed, every 30 seconds." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "a1501cc6-4967-447d-8b61-a0cc0cbaaf89" } ] }, { "id": "8faef015-325e-4c8d-bcd0-b27acf72cbc0", "name": "getV1CryptocurrencyMap", "request": { "url": "http://pro-api.coinmarketcap.com/v1/cryptocurrency/map?limit=%7B%7D&listing_status=%7B%7D&start=%7B%7D&symbol=%7B%7D", "method": "GET", "header": [ { "key": "Accept", "value": "*/*", "disabled": false } ], "body": { "mode": "raw" }, "description": "Returns a paginated list of all cryptocurrencies by CoinMarketCap ID. We recommend using this convenience endpoint to lookup and utilize our unique cryptocurrency `id` across all endpoints as typical identifiers like ticker symbols can match multiple cryptocurrencies and change over time. As a convenience you may pass a comma-separated list of cryptocurrency symbols as `symbol` to filter this list to only those you require.\n\n\n **This endpoint is available on the following API plans:**\n - Starter\n - Hobbyist\n - Standard\n - Professional\n - Enterprise\n\n**Cache / Update frequency:** Mapping data is updated only as needed, every 30 seconds." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "77a3e617-8b42-431b-b3af-e271c223997b" } ] }, { "id": "13835b2c-c25f-413e-a998-ed9b0addaf6b", "name": "getV1ExchangeInfo", "request": { "url": "http://pro-api.coinmarketcap.com/v1/exchange/info?id=%7B%7D&slug=%7B%7D", "method": "GET", "header": [ { "key": "Accept", "value": "*/*", "disabled": false } ], "body": { "mode": "raw" }, "description": "Returns all static metadata for one or more exchanges including logo and homepage URL.\n\n **This endpoint is available on the following API plans:**\n - ~~Starter~~\n - Hobbyist\n - Standard\n - Professional\n - Enterprise\n\n**Cache / Update frequency:** Static data is updated only as needed, every 30 seconds." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "2fcd8ee7-42c9-4d8a-a9d1-f22b920a7b8c" } ] }, { "id": "591026a6-de9e-47c9-9c76-5b5271cb5035", "name": "getV1ExchangeMap", "request": { "url": "http://pro-api.coinmarketcap.com/v1/exchange/map?limit=%7B%7D&listing_status=%7B%7D&slug=%7B%7D&start=%7B%7D", "method": "GET", "header": [ { "key": "Accept", "value": "*/*", "disabled": false } ], "body": { "mode": "raw" }, "description": "Returns a paginated list of all cryptocurrency exchanges by CoinMarketCap ID. We recommend using this convenience endpoint to lookup and utilize our unique exchange `id` across all endpoints as typical exchange identifiers may change over time. As a convenience you may pass a comma-separated list of exchanges by `slug` to filter this list to only those you require.\n\n**This endpoint is available on the following API plans:**\n - ~~Starter~~\n - Hobbyist\n - Standard\n - Professional\n - Enterprise\n\n**Cache / Update frequency:** Mapping data is updated only as needed, every 30 seconds." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "3db5e8e5-196a-49e4-a349-70e657a4321c" } ] }, { "id": "327eb7b9-22e5-4832-a7e7-55e49fc8c0c1", "name": "getV1ToolsPriceconversion", "request": { "url": "http://pro-api.coinmarketcap.com/v1/tools/price-conversion?amount=%7B%7D&convert=%7B%7D&id=%7B%7D&symbol=%7B%7D&time=%7B%7D", "method": "GET", "header": [ { "key": "Accept", "value": "*/*", "disabled": false } ], "body": { "mode": "raw" }, "description": "Convert an amount of one currency into up to 32 other cryptocurrency or fiat currencies at the same time using latest exchange rates. Optionally pass a historical timestamp to convert values based on historic averages.\n\n**Note:** Historical fiat conversions aren't yet available and the latest fiat rates will be used as noted by the `last_updated` timestamp included in the market quote. Historical fiat rates will be coming soon.\n\n**This endpoint is available on the following API plans:**\n- ~~Starter~~\n- Hobbyist\n- Standard\n- Professional\n- Enterprise\n\n**Cache / Update frequency:** Every ~5 minutes. This endpoint will be migrated to ~1 minute updates shortly." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "1236e032-5e4c-40b6-b15b-c69f6b65404f" } ] }, { "id": "d40b1f44-c8d8-41a5-94ac-48d1f7e51f3a", "name": "getV1CryptocurrencyListingsHistorical", "request": { "url": "http://pro-api.coinmarketcap.com/v1/cryptocurrency/listings/historical?convert=%7B%7D&cryptocurrency_type=%7B%7D&limit=%7B%7D&sort=%7B%7D&sort_dir=%7B%7D&start=%7B%7D&timestamp=%7B%7D", "method": "GET", "header": [ { "key": "Accept", "value": "*/*", "disabled": false } ], "body": { "mode": "raw" }, "description": "**This endpoint is not yet available. It is slated for release in Q3 2018.**\n\n\nGet a paginated list of all cryptocurrencies with market data for a given historical time. Use the \"convert\" option to return market values in multiple fiat and cryptocurrency conversions in the same call." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "3aa970a4-c991-4fb5-8476-f53f14606013" } ] }, { "id": "13a4d277-7984-472c-ad36-d5ba161c1c5c", "name": "getV1CryptocurrencyListingsLatest", "request": { "url": "http://pro-api.coinmarketcap.com/v1/cryptocurrency/listings/latest?convert=%7B%7D&cryptocurrency_type=%7B%7D&limit=%7B%7D&sort=%7B%7D&sort_dir=%7B%7D&start=%7B%7D", "method": "GET", "header": [ { "key": "Accept", "value": "*/*", "disabled": false } ], "body": { "mode": "raw" }, "description": "Get a paginated list of all cryptocurrencies with latest market data. You can configure this call to sort by market cap or another market ranking field. Use the \"convert\" option to return market values in multiple fiat and cryptocurrency conversions in the same call. \n\n\nCryptocurrencies are listed by CoinMarketCap Rank by default. You may optionally sort against any of the following:\n**name**: The cryptocurrency name.\n**symbol**: The cryptocurrency symbol.\n**date_added**: Date cryptocurrency was added to the system.\n**market_cap**: market cap (latest trade price x circulating supply).\n**price**: latest average trade price across markets.\n**circulating_supply**: approximate number of coins currently in circulation.\n**total_supply**: approximate total amount of coins in existence right now (minus any coins that have been verifiably burned).\n**max_supply**: our best approximation of the maximum amount of coins that will ever exist in the lifetime of the currency.\n**num_market_pairs**: number of market pairs across all exchanges trading each currency.\n**volume_24h**: 24 hour trading volume for each currency.\n**percent_change_1h**: 1 hour trading price percentage change for each currency.\n**percent_change_24h**: 24 hour trading price percentage change for each currency.\n**percent_change_7d**: 7 day trading price percentage change for each currency.\n\n **This endpoint is available on the following API plans:**\n - Starter\n - Hobbyist\n - Standard\n - Professional\n - Enterprise\n\n**Cache / Update frequency:** Every ~1 minute. \n \n*NOTE: Use this endpoint if you need a sorted and paginated list of cryptocurrencies. If you want to query for market data on a few specific cryptocurrencies use /v1/cryptocurrency/quotes/latest which is optimized for that purpose. The response data between these endpoints is otherwise the same.*" }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "dbcac239-4500-41a6-b5ba-d544c57b91a4" } ] } ] } ] }
63.044118
1,908
0.58378
eng_Latn
0.963019
3f229265b290f0d91cad3610694722b08e3c0dad
2,863
md
Markdown
README.md
nghuyenthevinh2000/virtual-piano-bot-with-soul
f5c3fbf53bd196fa9d1e0d7a52a9787c1f733c4b
[ "Unlicense" ]
null
null
null
README.md
nghuyenthevinh2000/virtual-piano-bot-with-soul
f5c3fbf53bd196fa9d1e0d7a52a9787c1f733c4b
[ "Unlicense" ]
null
null
null
README.md
nghuyenthevinh2000/virtual-piano-bot-with-soul
f5c3fbf53bd196fa9d1e0d7a52a9787c1f733c4b
[ "Unlicense" ]
null
null
null
# virtual-piano-bot-with-soul to give a piano bot a soul "Music is the space between the notes" - Claude DeBussy Cái hồn của âm nhạc không nằm ở việc đánh chính xác từng nốt mà nó nằm ở thời gian đánh các nốt. Cùng một bài hát, tiết tấu nhanh mạnh và tiết tấu chậm nhẹ đem lại các cung bậc cảm xúc khác nhau cho người nghe. Đây là khả năng độc quyền của con người. Bot thì sao? Bot có thể đánh chính xác từng note nhạc và không mắc bất cứ lỗi nào như con người. Đó là một điều tuyệt vời, nhưng chính điều đó ngăn cách Bot và Con Người. Chúng ta mắc sai lầm, chúng ta thể hiện cảm xúc. Tôi muốn bot cũng có thể có được điều đó. Dù chỉ là tái tạo lại sai lầm, tái tạo lại cảm xúc của con người. Mục tiêu này không phải là mục tiêu tối ưu hóa độ chính xác. Mục tiêu này là tái tạo linh hồn cho bot. # I. Cách hoạt động Hoạt động được chia ra làm 2 phần chính: 1. Chức năng đánh đàn 2. Xác định thời gian nghỉ giữa các nốt. 1. Chức năng đánh đàn Đây là phần dễ nhất, 2 tiếng đồng hồ tập trung viết code là ai cũng có thể làm được Tôi sử dụng phần mềm Virtual Piano để đánh đàn Tôi sử dụng phần mềm AutoHotKey để tự động đánh phím Tôi viết code chuyển bản nhạc từ file txt thành các lệnh AutoHotKey hiểu Tất cả bot đánh đàn Virtual Piano trên git hub đều dừng tại bước này. Tôi muốn đi xa hơn nữa trên sứ mệnh đem lại linh hồn cho bot. 2. Xác định thời gian nghỉ giữa các nốt Do hạn chế về kiến thức piano, tôi chỉ phân biệt ra ba loại khoảng thời gian dừng: + Ngắn + Trung Bình: Đây là thời gian dừng mặc định giữa các nốt. + Dài Một chuỗi các đoạn dừng ngắn sẽ tạo ra bài hát có tiết tấu nhanh, dồn dập. Một chuỗi các đoạn dừng dài sẽ tạo ra một bài hát buồn Hiện tại tôi đang set up thời gian dừng bằng tay. Người dùng phải định nghĩa (thời gian dừng ngắn, và thời gian dừng trung bình) thời gian dừng dài sẽ là (thời gian trung bình + thời gian dừng ngắn) Tôi muốn công việc này được thực hiện bằng machine learning. Là sinh viên năm 2 CNTT Bách Khoa, kiến thức của tôi về mảng này còn rất hạn chế và đang được cải thiện dần. Tôi cũng chưa có bất cứ ý tưởng gì cho áp dụng machine learning. Tôi rất mong các ý kiến đóng góp và sự chỉ bảo có thể giúp tôi đem lại linh hồn cho bot. # II. Sử dụng Do tôi tập trung chủ yếu vào phần "xác định thời gian nghỉ giữa các nốt" nên tôi không tạo ra bất cứ GUI nào. Bước 1: cài đặt bộ cài AutoHotKey.exe Bước 2: chuyển bản nhạc muốn tự động chơi vào thư mục "Online piano sheet" dưới định dạng .txt Bước 3: chạy file java TXT2AHK.java bằng cmd hoặc bằng bất cứ IDE nào Bước 4: điền các thông tin mà TXT2AHK.java báo Bước 5: vào thư mục chạy file .ahk tương ứng Bước 6: Bật Virtual Piano trong tệp Virtual Piano Bước 7: Kiểm tra Virtual Piano đã chạy ngon lành bằng cách ấn thử vài nút Bước 8: ấn F1. (Để hiểu hơn về cách đánh đàn Virtual Piano, lên trang https://virtualpiano.net/music-sheets/how-to-play/)
42.731343
113
0.749563
vie_Latn
1.00001
3f2372628d20b8a40a1e8aa5a57969b654c0a646
3,371
md
Markdown
README.md
Diego-r-pereira/Onboarding-Arduino-Library
2107cd8aadee5dec27e5f3d87fb3a97eeb8343a1
[ "MIT" ]
null
null
null
README.md
Diego-r-pereira/Onboarding-Arduino-Library
2107cd8aadee5dec27e5f3d87fb3a97eeb8343a1
[ "MIT" ]
null
null
null
README.md
Diego-r-pereira/Onboarding-Arduino-Library
2107cd8aadee5dec27e5f3d87fb3a97eeb8343a1
[ "MIT" ]
null
null
null
<!-- My first working on Readme shit --> # Onboarding-Arduino-Library Android Library to work on an Onboarding slides, so there is no need to build this from scratch, Thank me later. ___ # Onboarding * *Onboarding es una libreria que te permitira realizar slides entre fragments con el uzo de un adapter.* * Esto consiste en que veras en la **pantalla un fragment al que puedes cambiar** con dos imagenes en la arte inferior para navegar entre las pantallas atras o adelante --- ## Installation > Use the the web page [jitpack](https://jitpack.io/) to use the platform. Lo primero que tienes que hacer es tener listo el proyecto que quieres volver libreria o crear uno desde cero. --- ### Convert an app module to a library module This tutorial is part of [Developer](https://developer.android.com/studio/projects/android-library) site of Android If you have an **existing app module** with all the code you want to reuse, you can **turn it into a library module** as follows: 1. Open the module-level build.gradle file. 1. Delete the line for the applicationId. Only an Android app module can define this. 1. At the top of the file, you should see the following: > apply plugin: 'com.android.application' Change it to the following: > apply plugin: 'com.android.library' Save the file and click File > Sync Project with Gradle Files. --- After that we have to set our proyect in **JITPACK**, to acommplish that our link of the proyect in Github is needed, we paste it on the following space: ![linkJitpack](https://user-images.githubusercontent.com/56709969/68574197-f4b27700-049b-11ea-8727-165f6b313f33.png) _After that let's settle a release_ ![release](https://help.github.com/assets/images/help/releases/releases_description.png) This is for track the version of our repository, which is worth for **JITPACK** ![release2](https://github.blog/wp-content/uploads/2013/07/bd1cb67e-e329-11e2-90d1-3aecee90739f.jpg?resize=1243%2C633) After that we got to push over the button named **Look up** as follow: ![jitpack](https://jitpack.io/docs/img/delete.png) And under that section you can find the way to put this on your own module: ![links](https://miro.medium.com/max/3024/1*yv4gd2JB8wSI0939G_ZjhQ.png) --- ## Now that everything is settle about the configuration is time to use the library I'll show you the main code and you can see the main events to put on your own ```android @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); //initializeComponents _initializeComponents(); //initializeAdapter _initializeFragmentAdapter(); } ``` ```android public void _initializeComponents(){ viewPagerContainer = findViewById(R.id.viewPagerContainer); } ``` ```android public void _initializeFragmentAdapter() { OnboardingAdapter adapter = new OnboardingAdapter(getSupportFragmentManager()); viewPagerContainer.setAdapter(adapter); } ``` ## Contributing Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate. ## License & copyright Lincense by [MIT](https://choosealicense.com/licenses/mit/) open source ## Contributors Rojas Pereira Diego Alejandro
32.413462
168
0.749036
eng_Latn
0.880416
3f23b1074257f29e5c417e177d246e55feba659f
14,582
md
Markdown
README.md
rekaj3773/CrisisLostAndFound
4c420a8e5b195dd10725abdca97c2edd00bc1498
[ "MIT" ]
1
2019-02-17T21:32:56.000Z
2019-02-17T21:32:56.000Z
README.md
rekaj3773/CrisisLostAndFound
4c420a8e5b195dd10725abdca97c2edd00bc1498
[ "MIT" ]
null
null
null
README.md
rekaj3773/CrisisLostAndFound
4c420a8e5b195dd10725abdca97c2edd00bc1498
[ "MIT" ]
null
null
null
# Crisis Lost And Found ## Organize Lost and Found during a Crisis <img src="lostAndFoundImages/lostWeddingPicture.jpg" alt="Lost Wedding Picture" width="400" /> *Another terrible story is unfolding of loss and grief.* *You click off the news.* *You close your eyes.* *You see mementos showing up miles away.* *You open your eyes and decide you are going to help.* You can **wade** into a tragedy, **walk** into the tragedy or **DIVE** into the tragedy ### Starting a Lost and Found after a Crisis. Use it as a 'How-to' guideline if you want to set up your own Lost and Found and help. If you really want to, you can manage it from your couch. #### Disclaimer I am just your average guy. I don't know everything, just have put some thoughts towards this topic. If you have items to add, please create a pull request and add them! <img src="lostAndFoundImages/lostDogPicture.jpg" alt="Lost Dog Picture" width="400" /> #### The Big Questions ##### Big question 1: Are you sure about this? This commitment can take a lot of time. And it's a ton of work. Perhaps worse than trying to be helpful is being half helpful. If you are invested, you have to be all in. Committing to a Lost and Found is not an opportunity for a photoshoot and pull out. ##### Big question 2: Are you going to travel to the location? If you have been blessed with a schedule and situation that allows you to travel, consider it. A central hub for lost and found is oftentimes the most useful tool. Consider that at all major festivals you see a tent for Lost and Found. That said, you CAN organize a successful effort remotely. ##### Big question 3: How will you store items? Alluded to above, you may need to decide whether you will have a central location (like at a festival booth) a distributed model (like craigslist meetups all around the country) If you are using a decentralized model, how will you ensure a transaction has been made? Are you using scouts honor? Are you asking that the receiver or giver contact you to confirm a success or failed transaction? ##### Big question 4: How will you track transactions? In essense, you are bootstrapping together a sort of bank. Do you want to track transactions on a yellow notepad? Probably not. But you don't need an enterprise database either. Lucky for us, there is a tool that uses entries, sorts and organizes data that we use all the time. It will work just fine. It's called a spreadsheet. I use Microsoft Excel. If you don't have a Microsoft paid license, you can use the free tools LibreOffice Calc or Apache OpenOffice Calc. I have used both in the past. Both LibreOffice and OpenOffice each have a small learning curve, but are free and will work just fine. Pro note: Most spreadsheets like excel have a row limit. Excel is 2 million rows. ##### Big question 5: Who is on your team? Is it just you? You might be in for more work than you expected. And what do you do when you need a break but the show must go on? Is it a team? A team is helpful, but now you are a manager, adding in a whole new wrinkle. <img src="lostAndFoundImages/lostTeamPicture.jpg" alt="Lost Team Picture" width="400" /> #### Rules and Best Practices ##### Start with Actual Laws. Now, we aren't lawyers here, so please do not take this as legal advice from law professionals. Take any specific questions up with someone who has practiced law. That aside, assuming you are in the US, the following is my best attempt to paraphrase and summarize the US federal laws: >There exist three major categories of items; *misplaced*, *abandoned* or **lost**. *Note: It is likely that noone is purposefully abandoning an item in crisis, and it is equally unlikley we have anyone placing an item down purposefully but forgetting the item. Thus, for ease of assumption, we will consider all items in the 'lost' category. * >If an item is lost, the finder may make a claim to item that is only overruled by the true owner. The goal is that a finder will give a reasonable effort to find a true owner. Wikipedia gives a [good summary of the different types and history of the laws:](https://en.wikipedia.org/wiki/Lost,_mislaid,_and_abandoned_property) Individual states are different. Make sure you know what your state will require you to do. Some states themselves have further laws on top of federal law. Make sure to check on your State law to see any further codes. *E.g. Michican adds additional rule such as further breaks down item types to include (collectible currency, hazardous materials, etc.) and adds requirement to post on public forum any lost item in attempt to contact true owner before ownership is taken.* Some states (e.g. Florida) require that everything be reported to the local law enforcement. Make sure you know your laws. if you're not in the US. Please make sure you consult your national and local laws regarding this. Here's a [good summary article for Canada](https://www.lawnow.org/all-is-not-lost-law-lost-and-found/) <img src="lostAndFoundImages/glovesAndNecklace.jpg" alt="Lost Gloves and Necklace" width="400" /> *Now the best practices.* ### Best Practices: How to make it even better - Let the local authorities know what you are doing. In some cases this is required. In all cases this is a good idea to foster a good relationship and promote co-operation. They may even ask for your help. You want the proper permissions and permits if physically setting up shop, too. - There will be spikes of activity. Here are a few times your lost and found will get hit hard: - After state of emergency is lifted (and people return to their homes for the first time) - After Electric is turned back on - After mobile tower service is restored **Where to set up:** - **Traveling to the affected location:** - Secure a location to store items in relative safety and security without breaking the bank. Renting a box truck similar to one of these will suffice. Dry, locks at night. Scale as needed. ![Wikipedia Box Truck](https://github.com/rekaj3773/CrisisLostAndFound/blob/master/boxtruckwikipedia.jpg) - *Note: sometimes local storage companies are also inclined to help or partner. They might offer you some steep discounts on storage trucks as a donation. If so, take them up on their kindness and don't forget to mention their donation at every opportunity.* - Secure a location to set up shop. - Think twice about a spot before setting up shop. - You don't want to move lost and found as you might become part of what has gone missing. - Secure a shelter from the weather. - A good pop up tent will do just fine. Adjust for weather patterns in your area. ![Wikipedia Pop Up Tent](https://github.com/rekaj3773/CrisisLostAndFound/blob/master/popuptentwikipedia.jpg) - Secure a table and comfortable chairs. - If all goes according to plan, you're going to be there for some time so get comfortable. - Consider lodgings. - Are you in a cot at the Lost and Found site? Probably not. And please don't sleep in the truck. The police and neighbors will get upset after a day or two of this. - Your enthusiam for leading and continuing this Lost and Found effort must remain at a high. Try to find lodgings nearby to sleep comfortably. - Important note: This may be VERY hard to come by as lodgings typically grow scarce during crisis. Plan accordingly. (I don't mind asking to borrow a camper and set up shop ) - Consider having some water and/or other offerings donated. - Many people have been through quite a lot, and even if you do not have their missing item, a gesture or water can go a long way in unmeasurable comforting. - Consider getting postage donated - You might be able to send out some items to people who have been displaced or traveled out of driving range - **And/Or Setting up online:** - *Note: There are likely hundreds of acceptable ways to set up an online lost and found.* - You may want to balance ease of use/start up with cost. - A simple, clean, highly accessible mechanism is using Facebook. - Create a group on Facebook and have the Lost and Found Staff monitor and administer the page. - Encourage communication and requests. Use this as your central communications hub. - Feel free to advertise using low cost (like some Facebook advertising if you have the budget) or no cost mechanisms (like Craigslist posts) to point people to your Facebook page. - Create pictures of FOUND items. Create postings of LOST items. - Encourage friends to share. - *Note: We discovered that sometimes multiple digital lost and Founds can bring out less noble motives of the organizers and they fight over credit instead of focusing on collaboration. If you are collaborating with other organizations creating a Lost and Found, choose wisely.* - Determining what items to display: - If you have a digital area to display items, digital space is usually not an issue. - If you have a physical space, you may have contraints on the amount of items you can display at a lost and found table. - Either way, you might carefully consider which items you wish to display. It's probably not a good idea to post a picture of a lost hundred dollar bill. - Guideline: - Look at each item. Ballpark the item's value. Greater than 50 dollars should be kept off a physical table and in locked storage. - Having a strategy for 'high ticket' items online will also reduce malicious claims. - Not sharing that you have an items of high value might miss an opportunity to find an owner. But sharing might invite trouble. - A good middle ground is to post or notate that you "Also have addition items of higher value. Ask about them if you are missing something." - Make sure to get their identification and acceptable description of the item. - It's a big, old painting (bad description, low percentage legitimacy). It's a big painting with golden wood trim. Not sure who painted it but it's of a park bench next to a stream" (good description, high percentage legitimacy) - *Note: Asking for a valid identification is one last deterrant if the person is trying to be malicious and the item is not theirs.* - Remember, not everyone is a saint but try not to assume the worst. - Truth is, at some point you will get something wrong and give away the wrong thing to the wrong person. In general, sentimental things are often not targeted. That means, reducing <img src="lostAndFoundImages/lostring.jpg" alt="Lost Ring" width="400" /> - Finders' claims: - You will sometimes find a person who requests to keep the item in the case no owner is found. This happens especially with cash or items of high monetary value. - Don't side eye them. This is a perfectly fine request and encourages items to be turned in instead of pocketed unethically. - Make sure to account for local laws about how long to keep an item before it is considered forfeit. (and perhaps add a little extra time for prosperity) - Once the time has elapsed, you may log the requestor as the new owner, log the transactions and return it to them as new owner. - Guideline of basic data to capture - When you get an item (item found) "I've found this": 1. Name of item 2. Description 3. Location found 4. approximate time found 5. Finder contact phone (optional) 6. Finder contact email (optional) - When you get a request (add new lost item to DB) "I'm looking for this" 1. Description of item. 2. Approximate location thought to be lost. 3. Reward offered? (x amount or anonymous) 4. Finder contact phone (optional) 5. Finder contact email (optional) This seemingly simple interaction can get rather complicated. It may be easiest to view it on a diagram. ![Flowchart](https://github.com/rekaj3773/CrisisLostAndFound/blob/master/flowchartV1.png) <img src="lostAndFoundImages/photos.jpg" alt="Lost Photos" width="400" /> - Consider a disposal strategy. - Look at everything twice. Some things you get will be trash. Other items may look like trash to you but may be a very special something for someone else. - Having a guideline such as "Dispose of items as follows: Agreed by 2 or more staff as rubbish or unrepairable. Estimated value at less than one dollar. Quality, poor." - You may be tempted to immediately throw some things away. Believe it or not, tragedies like a hurricane obliterate people's lives. Sometimes what seems like junk to you (such as a torn book) is heartbreakingly important to return to someone. - If you feel an item should be marked for disposal (say estimated value of less than one dollar and in poor quality), place those items in a bag and store them for a certain period of time (30 days), then dispose as necessary. - Consider your end strategy. - At some point, you will need to leave. You may get burnt out, you may have used up your vacation days at work or you may notice that the crisis is clearning. - You may feel bad. But time well spent is worth the effort. Time does help heal the hurt. It's time to discuss your exit game. - Find a sponsor who will take the remaining items after you leave(even if you don't have one when you get started) - Usually a written request and permission can be granted by a local civic organization such as YMCA. - They may allow for any uncollected items to be held for extended duration, after you leave, before being donated or trashed. <img src="lostAndFoundImages/americanFlag.jpg" alt="Lost American Flag" width="400" /> #### Credits I could not have done this without the encouragement of Jeannie Esti. She created For Shore Her sharing details and lost and found ideas she implemented successfully for hurricane Sandy has been crucial to this project! Her success story returned over 7000 pieces and inspired me to create this framework. Check out [For Shore](https://www.facebook.com/forshorephotos) on Facebook. > When a place you love, that you carry in your heart no matter where you live, gets struck by tragedy life stops. > My family was blessed to have limited impact compared to the people around us in the Jersey Shore community we love. > Being a part of the reconciliation of peoples' belongings no matter how big or how small was an honor, > a labor of love and a source of community healing. - Jeannie Esti <img src="lostAndFoundImages/mermaid.jpg" alt="Lost Mermaid" width="400" />
71.131707
385
0.75456
eng_Latn
0.999659
3f246f885ac5975ffb0ef1409ea8f302be011644
82
md
Markdown
RELEASE_NOTES.md
cannorin/FSharp.Span.Utils
44be8dae95a3cf7d1d451b244387278e5495cb4b
[ "MIT" ]
33
2019-03-08T01:24:29.000Z
2021-06-16T15:45:44.000Z
RELEASE_NOTES.md
cannorin/FSharp.Span.Utils
44be8dae95a3cf7d1d451b244387278e5495cb4b
[ "MIT" ]
null
null
null
RELEASE_NOTES.md
cannorin/FSharp.Span.Utils
44be8dae95a3cf7d1d451b244387278e5495cb4b
[ "MIT" ]
1
2021-12-17T02:37:48.000Z
2021-12-17T02:37:48.000Z
* 1.1.* - Change the argument of Span.ofPtr to curried * 1.0.* - Initial release
20.5
54
0.670732
eng_Latn
0.995532
3f25e21e614a999ba5a3dc9beb46f9729081bfa1
47
md
Markdown
README.md
madsynn/LaraMaker
c1636981022230f9beab452666f8e04ae8fe9316
[ "MIT" ]
null
null
null
README.md
madsynn/LaraMaker
c1636981022230f9beab452666f8e04ae8fe9316
[ "MIT" ]
null
null
null
README.md
madsynn/LaraMaker
c1636981022230f9beab452666f8e04ae8fe9316
[ "MIT" ]
null
null
null
# LaraMaker ### Custom Laravel App / Site Maker
23.5
35
0.723404
deu_Latn
0.175934
3f26ee75e1dd41e7d5b38ff7c5d16c0e730572db
11,131
md
Markdown
README.md
Unity-Technologies/puppetlabs-concat
c99670fdeb33dd568d1ccf8a507fbeb9a759ee3c
[ "Apache-2.0" ]
null
null
null
README.md
Unity-Technologies/puppetlabs-concat
c99670fdeb33dd568d1ccf8a507fbeb9a759ee3c
[ "Apache-2.0" ]
null
null
null
README.md
Unity-Technologies/puppetlabs-concat
c99670fdeb33dd568d1ccf8a507fbeb9a759ee3c
[ "Apache-2.0" ]
null
null
null
#Concat [![Build Status](https://travis-ci.org/puppetlabs/puppetlabs-concat.png?branch=master)](https://travis-ci.org/puppetlabs/puppetlabs-concat) ####Table of Contents 1. [Overview](#overview) 2. [Module Description - What the module does and why it is useful](#module-description) 3. [Setup - The basics of getting started with concat](#setup) * [What concat affects](#what-concat-affects) * [Setup requirements](#setup-requirements) * [Beginning with concat](#beginning-with-concat) 4. [Usage - Configuration options and additional functionality](#usage) * [API _deprecations_](#api-deprecations) 5. [Reference - An under-the-hood peek at what the module is doing and how](#reference) 5. [Limitations - OS compatibility, etc.](#limitations) 6. [Development - Guide for contributing to the module](#development) ##Overview This module constructs files from multiple fragments in an ordered way. ##Module Description This module lets you use many concat::fragment{} resources throughout your modules to construct a single file at the end. It does this through a shell (or ruby) script and a temporary holding space for the fragments. ##Setup ###What concat affects * Installs concatfragments.[sh|rb] based on platform. * Adds a concat/ directory into Puppets `vardir`. ###Beginning with concat To start using concat you need to create: * A concat{} resource for the final file. * One or more concat::fragment{}'s. A minimal example might be: ```puppet concat { '/tmp/file': ensure => present, } concat::fragment { 'tmpfile': target => '/tmp/file' content => 'test contents', order => '01' } ``` ##Usage Please be aware that there have been a number of [API _deprecations_](#api-deprecations). If you wanted a /etc/motd file that listed all the major modules on the machine. And that would be maintained automatically even if you just remove the include lines for other modules you could use code like below, a sample /etc/motd would be: <pre> Puppet modules on this server: -- Apache -- MySQL </pre> Local sysadmins can also append to the file by just editing /etc/motd.local their changes will be incorporated into the puppet managed motd. ```puppet class motd { $motd = '/etc/motd' concat { $motd: owner => 'root', group => 'root', mode => '0644' } concat::fragment{ 'motd_header': target => $motd, content => "\nPuppet modules on this server:\n\n", order => '01' } # local users on the machine can append to motd by just creating # /etc/motd.local concat::fragment{ 'motd_local': target => $motd, source => '/etc/motd.local', order => '15' } } # used by other modules to register themselves in the motd define motd::register($content="", $order='10') { if $content == "" { $body = $name } else { $body = $content } concat::fragment{ "motd_fragment_$name": target => '/etc/motd', order => $order, content => " -- $body\n" } } ``` To use this you'd then do something like: ```puppet class apache { include apache::install, apache::config, apache::service motd::register{ 'Apache': } } ``` ##Reference ###Classes ####Public classes ####Private classes * `concat::setup`: Sets up the concat script/directories. ###Parameters ###Defines ####concat #####`ensure` Controls if the combined file is present or absent. ######Example - ensure => present - ensure => absent #####`path` Controls the destination of the file to create. ######Example - path => '/tmp/filename' #####`owner` Set the owner of the combined file. ######Example - owner => 'root' #####`group` Set the group of the combined file. ######Example - group => 'root' #####`mode` Set the mode of the combined file. ######Example - mode => '0644' #####`warn` Determine if a warning message should be added at the top of the file to let users know it was autogenerated by Puppet. ######Example - warn => true - warn => false #####`warn_message` Set the contents of the warning message. ######Example - warn_message => 'This file is autogenerated!' #####`force` Determine if empty files are allowed when no fragments were added. ######Example - force => true - force => false #####`backup` Controls the filebucket behavior used for the file. ######Example - backup => 'puppet' #####`replace` Controls if Puppet should replace the destination file if it already exists. ######Example - replace => true - replace => false #####`order` Controls the way in which the shell script chooses to sort the files. It's rare you'll need to adjust this. ######Allowed Values - order => 'alpha' - order => 'numeric' #####`ensure_newline` Ensure there's a newline at the end of the fragments. ######Example - ensure_newline => true - ensure_newline => false ####concat::fragment #####`target` Choose the destination file of the fragment. ######Example - target => '/tmp/testfile' #####`content` Create the content of the fragment. ######Example - content => 'test file contents' #####`source` Find the sources within Puppet of the fragment. ######Example - source => 'puppet:///modules/test/testfile' - source => ['puppet:///modules/test/1', 'puppet:///modules/test/2'] #####`order` Order the fragments. ######Example - order => '01' Best practice is to pass a string to this parameter but integer values are accepted. #####`ensure` Control the file of fragment created. ######Example - ensure => 'present' - ensure => 'absent' - ensure => 'file' - ensure => 'directory' #####`mode` Set the mode of the fragment. ######Example - mode => '0644' #####`owner` Set the owner of the fragment. ######Example - owner => 'root' #####`group` Set the group of the fragment. ######Example - group => 'root' #####`backup` Control the filebucket behavior for the fragment. ######Example - backup => 'puppet' ### API _deprecations_ #### Since version `1.0.0` ##### `concat{}` `warn` parameter ```puppet concat { '/tmp/file': ensure => present, warn => 'true', # generates stringified boolean value warning } ``` Using stringified Boolean values as the `warn` parameter to `concat` is deprecated, generates a catalog compile time warning, and will be silently treated as the concatenated file header/warning message in a future release. The following strings are considered a stringified Boolean value: * `'true'` * `'yes'` * `'on'` * `'false'` * `'no'` * `'off'` Please migrate to using the Puppet DSL's native [Boolean data type](http://docs.puppetlabs.com/puppet/3/reference/lang_datatypes.html#booleans). ##### `concat{}` `gnu` parameter ```puppet concat { '/tmp/file': ensure => present, gnu => $foo, # generates deprecation warning } ``` The `gnu` parameter to `concat` is deprecated, generates a catalog compile time warning, and has no effect. This parameter will be removed in a future release. Note that this parameter was silently ignored in the `1.0.0` release. ##### `concat::fragment{}` `ensure` parameter ```puppet concat::fragment { 'cpuinfo': ensure => '/proc/cpuinfo', # generates deprecation warning target => '/tmp/file', } ``` Passing a value other than `'present'` or `'absent'` as the `ensure` parameter to `concat::fragment` is deprecated and generates a catalog compile time warning. The warning will become a catalog compilation failure in a future release. This type emulates the Puppet core `file` type's disfavored [`ensure` semantics](http://docs.puppetlabs.com/references/latest/type.html#file-attribute-ensure) of treating a file path as a directive to create a symlink. This feature is problematic in several ways. It copies an API semantic of another type that is both frowned upon and not generally well known. It's behavior may be surprising in that the target concatenated file will not be a symlink nor is there any common file system that has a concept of a section of a plain file being symbolically linked to another file. Additionally, the behavior is generally inconsistent with most Puppet types in that a missing source file will be silently ignored. If you want to use the content of a file as a fragment please use the `source` parameter. ##### `concat::fragment{}` `mode/owner/group` parameters ```puppet concat::fragment { 'foo': target => '/tmp/file', content => 'foo', mode => $mode, # generates deprecation warning owner => $owner, # generates deprecation warning group => $group, # generates deprecation warning } ``` The `mode` parameter to `concat::fragment` is deprecated, generates a catalog compile time warning, and has no effect. The `owner` parameter to `concat::fragment` is deprecated, generates a catalog compile time warning, and has no effect. The `group` parameter to `concat::fragment` is deprecated, generates a catalog compile time warning, and has no effect. These parameters had no user visible effect in version `1.0.0` and will be removed in a future release. ##### `concat::fragment{}` `backup` parameter ```puppet concat::fragment { 'foo': target => '/tmp/file', content => 'foo', backup => 'bar', # generates deprecation warning } ``` The `backup` parameter to `concat::fragment` is deprecated, generates a catalog compile time warning, and has no effect. It will be removed in a future release. In the `1.0.0` release this parameter controlled file bucketing of the file fragment. Bucketting the fragment(s) is redundant with bucketting the final concatenated file and this feature has been removed. ##### `class { 'concat::setup': }` ```puppet include concat::setup # generates deprecation warning class { 'concat::setup: } # generates deprecation warning ``` The `concat::setup` class is deprecated as a public API of this module and should no longer be directly included in the manifest. This class may be removed in a future release. ##### Parameter validation While not an API depreciation, users should be aware that all public parameters in this module are now validated for at least variable type. This may cause validation errors in a manifest that was previously silently misbehaving. ##Limitations This module has been tested on: * RedHat Enterprise Linux (and Centos) 5/6 * Debian 6/7 * Ubuntu 12.04 Testing on other platforms has been light and cannot be guaranteed. #Development Puppet Labs modules on the Puppet Forge are open projects, and community contributions are essential for keeping them great. We can’t access the huge number of platforms and myriad of hardware, software, and deployment configurations that Puppet is intended to serve. We want to keep it as easy as possible to contribute changes so that our modules work in your environment. There are a few guidelines that we need contributors to follow so that we can have a chance of keeping on top of things. You can read the complete module contribution guide [on the Puppet Labs wiki.](http://projects.puppetlabs.com/projects/module-site/wiki/Module_contributing) ###Contributors The list of contributors can be found at: https://github.com/puppetlabs/puppetlabs-concat/graphs/contributors
25.06982
156
0.705148
eng_Latn
0.990705
3f27ddb1892287fef1860f3f5c093d11e84f5b34
55
md
Markdown
README.md
ISofT1ch/hibikini-bot
8b8705b98fad796bc46d2c08932c252d5c9d28d0
[ "Apache-2.0" ]
null
null
null
README.md
ISofT1ch/hibikini-bot
8b8705b98fad796bc46d2c08932c252d5c9d28d0
[ "Apache-2.0" ]
null
null
null
README.md
ISofT1ch/hibikini-bot
8b8705b98fad796bc46d2c08932c252d5c9d28d0
[ "Apache-2.0" ]
null
null
null
# hibikini-bot Game bot for social network VK, node.js
18.333333
39
0.763636
eng_Latn
0.644276
3f27f56daff39bb8f2bcbc9d389325b7f71c6780
1,804
md
Markdown
includes/virtual-machines-common-sizes-storage.md
bospoort/azure-docs
3e7fc7f45dc5c69f9aa7c85beb3ad7206e485507
[ "CC-BY-4.0", "MIT" ]
null
null
null
includes/virtual-machines-common-sizes-storage.md
bospoort/azure-docs
3e7fc7f45dc5c69f9aa7c85beb3ad7206e485507
[ "CC-BY-4.0", "MIT" ]
null
null
null
includes/virtual-machines-common-sizes-storage.md
bospoort/azure-docs
3e7fc7f45dc5c69f9aa7c85beb3ad7206e485507
[ "CC-BY-4.0", "MIT" ]
null
null
null
Storage optimized VM sizes offer high disk throughput and IO, and are ideal for Big Data, SQL, and NoSQL databases. This article provides information about the number of vCPUs, data disks and NICs as well as storage throughput and network bandwidth for each size in this grouping. The Ls-series offers up to 32 vCPUs, using the [Intel® Xeon® processor E5 v3 family](http://www.intel.com/content/www/us/en/processors/xeon/xeon-e5-solutions.html). The Ls-series gets the same CPU performance as the G/GS-Series and comes with 8 GiB of memory per vCPU. ## Ls-series ACU: 180-240 | Size | vCPU | Memory: GiB | Temp storage (SSD) GiB | Max data disks | Max temp storage throughput: IOPS / MBps | Max uncached disk throughput: IOPS / MBps | Max NICs / Expected network bandwidth (Mbps) | |---------------|-----------|-------------|--------------------------|----------------|-------------------------------------------------------------|-------------------------------------------|------------------------------| | Standard_L4s | 4 | 32 | 678 | 8 | 20,000 / 200 | 10,000 / 250 | 2 / 4,000 | | Standard_L8s | 8 | 64 | 1,388 | 16 | 40,000 / 400 | 20,000 / 500 | 4 / 8,000 | | Standard_L16s | 16 | 128 | 2,807 | 32 | 80,000 / 800 | 40,000 / 1,000 | 8 / 6,000 - 16,000 &#8224; | | Standard_L32s* | 32 | 256 | 5,630 | 64 | 160,000 / 1,600 | 80,000 / 2,000 | 8 / 20,000 | The maximum disk throughput possible with Ls-series VMs may be limited by the number, size, and striping of any attached disks. For details, see [Premium Storage: High-performance storage for Azure virtual machine workloads](../articles/virtual-machines/windows/premium-storage.md). *Instance is isolated to hardware dedicated to a single customer.
85.904762
284
0.591463
eng_Latn
0.897145
3f28a5cba0e452e411ebeb46240c9a718bd66d24
38
md
Markdown
README.md
bolludevivaraprasad/vara-python
aa7a040aa74c885c2e056d8cef9cb258e19302f4
[ "MIT" ]
null
null
null
README.md
bolludevivaraprasad/vara-python
aa7a040aa74c885c2e056d8cef9cb258e19302f4
[ "MIT" ]
null
null
null
README.md
bolludevivaraprasad/vara-python
aa7a040aa74c885c2e056d8cef9cb258e19302f4
[ "MIT" ]
null
null
null
# vara-python python notes for batch
12.666667
23
0.763158
eng_Latn
0.961761
3f2914f20411f01878c13a7e78a395325cf7e249
3,500
md
Markdown
dev/server-setup.md
simplynail/speckle-docs
558192f67444555f063b5addfd20b22236988a87
[ "Apache-2.0" ]
20
2021-01-07T01:44:03.000Z
2021-12-15T18:11:40.000Z
dev/server-setup.md
simplynail/speckle-docs
558192f67444555f063b5addfd20b22236988a87
[ "Apache-2.0" ]
112
2021-01-18T15:00:59.000Z
2022-03-29T13:29:36.000Z
dev/server-setup.md
simplynail/speckle-docs
558192f67444555f063b5addfd20b22236988a87
[ "Apache-2.0" ]
14
2021-03-31T18:57:18.000Z
2022-03-15T08:14:36.000Z
# Deploying a Server - DigitalOcean Marketplace App To ease new deployments, we are maintaining [an app on the DigitalOcean Marketplace](https://marketplace.digitalocean.com/apps/speckle-server?refcode=947a2b5d7dc1). ::: tip IMPORTANT This setup is not recommended for use in production for a few reasons, namely: - application level updates: we tend to move quite fast, and if things get busy, blink twice and you’re on an outdated server. this has security implications too. - guaranteed uptime: from our experience, vm’s tend to restart now and then (they need updates and reboots too), which results in downtime. - database backups - again this is up to you mostly on what’s your risk appetite when it comes to dealing with live data. We’re a bit more on the paranoid side, so we’ve set up replication, failover nodes and PITR. - automatic scalability: for example, the preview service can be quite a monster; that setup can eat up all a vm’s resources, and starve other processes causing general system wide instability. If you need help deploying a production server, [we can help](https://speckle.systems/getstarted/)! ::: ## Prerequisites - [Required] A [DigitalOcean](https://www.digitalocean.com/) account - [Optional] A domain name (to use https encryption) - [Optional] An email service provider account of your choice (to allow the server to send emails) ## Step 1: Create the droplet - Go to your DigitalOcean dashboard and create a new Droplet: ![image](./img/oneclick/01_create_droplet.png) - When prompted to select the image for the droplet, go to `Marketplace` and look for the `Speckle Server` app: ![image](./img/oneclick/02_speckle_marketplace.png) - Configure other options for your droplet, make sure to set up an authentication method, and click the `Create Droplet` button. After the droplet is created and initialized, you should see it in your list of droplets: ![image](./img/oneclick/03_droplet_ready.png) ## Step 2: Configure your Server - Login with `ssh` into the droplet to configure it. When you log in you should see the following greeting, prompting you to enter the configuration values: ![image](./img/oneclick/04_ssh_login.png) - Fill in the requested fields: - `Domain name` (optional, but providing a domain name will use HTTPS to encrypt your data when you send/receive from your Speckle Server) - `Enable emails` + email provider details (optional, but enabling emails will enable extra features like sending invites) - If you entered a domain name, you will also configure the LetsEncrypt tool that generates HTTPS certificates and keeps them up to date (you should enter your email to receive important notifications about the certificates) - You should see something like this: ![image](./img/oneclick/05_configure.png) - After configuration is done, you should see this success message: ![image](./img/oneclick/06_configuration_done.png) ## Step 3: Create an account on your Server After you configure the server, you should open the url in your browser and `Register` a first user. The first user that registers will be the administrator account for that server. ![image](./img/oneclick/07_register.png) ## That's it You have deployed a Speckle Server that you have full control over. To reconfigure the server, you can run this ssh command: ```shell /opt/speckle-server/setup.py ``` If you encounter any issue, have any question or just want to say hi, reach out in [our forum](https://speckle.community/).
50
226
0.769714
eng_Latn
0.995066
3f2978b045b0667f170fb340418f8361dd7194b3
10,064
md
Markdown
_posts/2014-04-28-text-speech-ios-avspeechsynthesizer-tutorial.md
nsobadzhiev/nsobadzhiev.github.io
ce27f6f33dcd46015d6f98259f0ea9f8e4729407
[ "MIT" ]
null
null
null
_posts/2014-04-28-text-speech-ios-avspeechsynthesizer-tutorial.md
nsobadzhiev/nsobadzhiev.github.io
ce27f6f33dcd46015d6f98259f0ea9f8e4729407
[ "MIT" ]
null
null
null
_posts/2014-04-28-text-speech-ios-avspeechsynthesizer-tutorial.md
nsobadzhiev/nsobadzhiev.github.io
ce27f6f33dcd46015d6f98259f0ea9f8e4729407
[ "MIT" ]
null
null
null
--- id: 202 title: 'Text to speech in iOS - AVSpeechSynthesizer tutorial' date: 2014-04-28T11:21:13+00:00 author: n.sobadjiev@gmail.com layout: post guid: http://devmonologue.com/ios/?p=202 permalink: /tutorials/text-speech-ios-avspeechsynthesizer-tutorial/ categories: - Tutorials tags: - AVSpeechSynthesizer - AVSpeechUtterance - ios - ObjC - Objective-C - text to speech --- # Text to speech in iOS Did you know that there is a speech synthesis API available to iOS developers? I certainly didn't. But there is! Starting with iOS7 the [AVSpeechSynthesizer][Apple docs on AVSpeechSynthesizer] class provides functionality for converting text into audio. Text to speech in iOS is not something new. In fact, it has always been a part of the iPhone's accessibility options, under the name [VoiceOver][Apple docs on VoiceOver]. ![Screenshot displaying the VoiceOver options in the Settings application]({{ site.url }}/images/2014/04/voiceoversettings.png "VoiceOver settings") Additionally, voice recognition has been on iOS for a while. Just tapping on the microphone icon on the keyboard allows you to dictate instead of typing text. However, up until now we, as developers, had little access to those powerful features. ![Screenshot showing the voice recognition button in UIKeyboard]({{ site.url }}/images/2014/04/voicerecognitioninuikeyboard.png "Voice recognition in UIKeyboard") Using text to speech with [AVSpeechSynthesizer][Apple docs on AVSpeechSynthesizer], you will hear the familiar voice that Siri uses. But unlike Siri, your speech synthesizing will be available even when your device is not connected to the internet, which can be really useful. Now, I don't know about you, but I feel that speech generated by Siri might sound a little better. It is just a bit unnatural to me. I know that text to speech is an inherently difficult problem to solve, and it will improve over time, but I think Apple could have done a little better. # [AVSpeechUtterance][Apple docs on AVSpeechUtterance] The AVSpeechUtterance class takes a central position in Apple's text to speech API. _Btw, utterance means "spoken word, statement, or vocal sound", if you are wondering_. So, an AVSpeechUtterance instance encapsulates all data needed in order for iOS to speak some text. This includes: * [`speechString`] The actual text data as `NSString` * [`rate`] The speed (rate) at which the text is spoken * [`pitchMultiplier`] The pitch of the voice * [`voice`] The voice to be used (American, British English, Australian, Japaneese etc.) * [`volume`] Volume * Post [`postUtteranceDelay`] and pre [`preUtteranceDelay`] utterance delay Though most of these properties don't seem that important, in my experience, some of them require some calibration. For instance, the `rate` property that configures the speed of the speech just doesn't work very well with it's default value. The possible values are between `0.0f` and `1.0f` with the default value being `0.5`. In my opinion, this is a bit too fast. It sound artificial and difficult to listen to. So I'd probably prefer a value around `0.15` or so. Additionally, modifying the `pitchMultiplier` property might give you very different results when it comes to the voice used for the output. Values are between `0.5f` and `2.0f` with `1.0f` as the default. You might want to experiment with those property and figure out what works best for you. # [AVSpeechSynthesizer][Apple docs on AVSpeechSynthesizer] AVSpeechSynthesizer is the class that does the actual text to speech conversion. Basically, you feed it AVSpeechUtterance instances and it speaks them for you. There is not much more to it than that. It provides an interface for pausing and stopping playback and it also queues utterances. This means that if you add another text while the current is still playing, it will wait until it's done with the first one and continue with the second. An interesting feature of AVSpeechSynthesizer is that you can customize how speech is paused. The actual pausing is done using the ```objc - (BOOL)pauseSpeakingAtBoundary:(AVSpeechBoundary)boundary ``` method. By using the `boundary` parameter, you can tell AVSpeechSynthesizer to either stop speaking immediately, or wait until it's done saying a word to avoid the audio cutting in the middle of it. # [AVSpeechSynthesizerDelegate][Apple docs on AVSpeechSynthesizerDelegate] As any other serious Objective-C class, AVSpeechSynthesizer has a delegate. Using that, your classes can get notified whenever the text to speech starts, stops and pauses. The following methods are available: * `– speechSynthesizer:didCancelSpeechUtterance:` * `– speechSynthesizer:didContinueSpeechUtterance:` * `– speechSynthesizer:didFinishSpeechUtterance:` * `– speechSynthesizer:didPauseSpeechUtterance:` * `– speechSynthesizer:didStartSpeechUtterance:` * `– speechSynthesizer:willSpeakRangeOfSpeechString:utterance:` These are all optional and should be fairly easy to understand. The only thing that, I feel, needs a little more discussion is the last one. It will fire everytime the text to speech algorithm goes to the next unit. And by "unit" I mean "word" mostly. This can be really useful if you want to provide feedback regarding the current position that is being synthesized. For instance, you might want to hightlight that particular portion of the paragraph in your UI or simulate a conventional music player and indicated the current position within the audio file. # AVSpeechSynthesizer example I've created a [sample application][SpeechSynthesizerDemo link] for you that showcases some of the aspects of using AVSpeechSynthesizer. It is rather minimalistic and has some issues, but it should be enough for you to see this class in action. It contains a text view where you can type the text you want AVSpeechSynthesizer to speak and a couple of slider you can use to change the pitch and rate. It should look something like this: ![Screenshot of the SpeechSynthesizerDemo application]({{ site.url }}/images/2014/04/speechsynthesizerdemo.png "SpeechSynthesizerDemo in action") # AVSpeechSynthesizer alternatives There are many reasons that might make you consider an alternative to AVSpeechSynthesizer. For one thing, there are services that offer a greater quality when it comes to voices and synthesizing human speech. Or maybe you need to save the audio in the file system. The point is that the text to speech in iOS is not always the best solution given the circumstances. In my research, I found several services that are worth mentioning. _This list is, by no means, complete. These are just services I found in my search for text to speech in iOS. If you have something to add, please let me know in the comment section._ 1. [iSpeech][iSpeech website] iSpeech is a commercial text to speech service that, in my opinion, offers the best audio generation quality. The voices sound very natural. Well, there is definitely a difference between a real human voice and iSpeech's synthesized speech, but that's a good as it gets with the technology we have nowadays. iSpeech has an iOS framework (among other platforms) that provides an API similar to AVSpeechSynthesizer. It's drawback is that it does not allow you to save an audio file containing the generated speech, which might be a problem considering that iSpeech requires an internet connection. Also, it is a paid service, and while I think that they are very flexible when it comes to pricing, it still means that your application will probably not be free. 2. [Voice RSS][voiceRSS website] Voice RSS is also an internet text to speech service. It requires you to have a network connection in order to convert text, but at least it allows you to save the audio in a file. It combines words seamlessly and has overall high synthesizing quality, but it provides you with audio formats with low bitrate. This means that whereas the speech sounds relatively natural, the quality of the audio itself suffers. 3. [OpenEars][openEars website] OpenEars is an opensource library for speech recognition and synthesis on iOS. It's major advantage is that it does text to speech locally and does not rely on the network as any point. The bad news is that since it has to store everything locally, it is around 50 MB in size. This can be too much for a small iOS application. Also, you might want to run the sample project beforehand in order to determine if the level of quality and accuracy is enough for your needs, because it is certainly not as advanced as the services mentioned above. Despite that, if you need an offline text to speech solution and you need to support iOS versions below 7, OpenEars can be the way to go for you. I hope you found this article useful and please share in the comment section below how you plan to use text to speech in your iOS applications. It is an exciting topic and I **know** you can come up with some great ideas for it. Thanks for reading! [Apple docs on AVSpeechSynthesizer]: https://developer.apple.com/library/ios/documentation/AVFoundation/Reference/AVSpeechSynthesizer_Ref/Reference/Reference.html#//apple_ref/occ/cl/AVSpeechSynthesizer [Apple docs on VoiceOver]: https://www.apple.com/accessibility/ios/voiceover/ [Apple docs on AVSpeechUtterance]: https://developer.apple.com/library/ios/documentation/AVFoundation/Reference/AVSpeechUtterance_Ref/Reference/Reference.html#//apple_ref/occ/cl/AVSpeechUtterance [Apple docs on AVSpeechSynthesizerDelegate]: https://developer.apple.com/library/ios/documentation/AVFoundation/Reference/AVSpeechSynthesizerDelegate_Ref/Reference/Reference.html#//apple_ref/occ/intfm/AVSpeechSynthesizerDelegate/speechSynthesizer:willSpeakRangeOfSpeechString:utterance: [iSpeech website]: http://www.ispeech.org [voiceRSS website]: http://www.voicerss.org [openEars website]: http://www.politepix.com/openears/ [SpeechSynthesizerDemo link]: {{ site.url }}/images/2014/04/SpeechSynthesizerDemo.zip
89.857143
690
0.789845
eng_Latn
0.995871
3f29c82c6436f5350ea645d252b74772dd3a638f
467
md
Markdown
RELEASE_NOTES.md
mstade/address
6145b4337f61271a3ada3036860c431f2c632d0a
[ "MIT" ]
null
null
null
RELEASE_NOTES.md
mstade/address
6145b4337f61271a3ada3036860c431f2c632d0a
[ "MIT" ]
2
2018-01-22T16:04:00.000Z
2018-03-12T20:12:35.000Z
RELEASE_NOTES.md
mstade/address
6145b4337f61271a3ada3036860c431f2c632d0a
[ "MIT" ]
2
2017-12-04T04:08:41.000Z
2018-03-01T12:54:41.000Z
#1.3.0 ## New features * `address(path).origin(node).navigate()`: New api to specify the DOM element from which a request originates. This allows multiple roots on the same browser window. #1.1.0 ## Bug fixes * This version fixes a known issue where a DOM node would not be cleared when a different resource was addressed into it. ## New features * A new `CustomEvent “resourcewillchange”` is now dispatched by the DOM node before it is cleared by am-address.
29.1875
165
0.749465
eng_Latn
0.999438
3f2a4bb5bae745e9421d39155b7b2890d543ad1b
908
md
Markdown
_posts/2015-07-14-better-know-a-language-kotlin.md
tfausak/tfausak.github.io
b62fcd11938320c3837faf9555a2f06b33152933
[ "CC-BY-4.0" ]
17
2015-01-02T22:03:11.000Z
2021-12-12T21:33:12.000Z
_posts/2015-07-14-better-know-a-language-kotlin.md
tfausak/tfausak.github.io
b62fcd11938320c3837faf9555a2f06b33152933
[ "CC-BY-4.0" ]
66
2015-01-09T23:53:44.000Z
2021-11-17T13:58:24.000Z
_posts/2015-07-14-better-know-a-language-kotlin.md
tfausak/tfausak.github.io
b62fcd11938320c3837faf9555a2f06b33152933
[ "CC-BY-4.0" ]
8
2015-11-03T21:23:11.000Z
2022-01-27T09:57:29.000Z
--- title: 'Better know a language: Kotlin' --- ![Kotlin's logo][1] At [OrgSync][2], we sometimes present things that interest us to the rest of the team. We usually give these talks over lunch, so we call them "Lunch & Learns". A common topic for Lunch & Learns is programming languages. We call these our "Better Know a Language" series. Today I presented my Lunch & Learn, *Better Know a Language: Kotlin*. It covered [Kotlin][3], an object-oriented programming language for the JVM and JavaScript. For the first time ever, we broadcast our Lunch & Learn live as a Hangout on Air. The presentation is now available as [a YouTube video][5]. Also [the slides][6] are available on this site. [1]: /static/images/2015/07/14/kotlin.svg [2]: http://www.orgsync.com [3]: https://kotlinlang.org [5]: https://www.youtube.com/watch?v=GIFD1AcNv-Q [6]: /static/pages/2015-07-14-better-know-a-language-kotlin.html
39.478261
78
0.736784
eng_Latn
0.949377
3f2c98f6c378dac528faa24d8338cf06cceaaeac
153
md
Markdown
README.md
xhloi/pvp-checklist
ffbe766fb729d2171fbf3638b939b4718dc52177
[ "MIT" ]
null
null
null
README.md
xhloi/pvp-checklist
ffbe766fb729d2171fbf3638b939b4718dc52177
[ "MIT" ]
null
null
null
README.md
xhloi/pvp-checklist
ffbe766fb729d2171fbf3638b939b4718dc52177
[ "MIT" ]
null
null
null
# Dark Souls PvP Checklist A checklist for setting up new Dark Souls PvP characters. To view the checklist, [click here](https://checklist.xhloi.com).
25.5
65
0.764706
kor_Hang
0.59816
3f2d1ed47ed5ab275fde75d5092cdf249b1dbd21
48
md
Markdown
README.md
PinGwynn/openkilda-k8s
8b8143816e4eeede0a9573ae903526bf9c2091a4
[ "MIT" ]
null
null
null
README.md
PinGwynn/openkilda-k8s
8b8143816e4eeede0a9573ae903526bf9c2091a4
[ "MIT" ]
null
null
null
README.md
PinGwynn/openkilda-k8s
8b8143816e4eeede0a9573ae903526bf9c2091a4
[ "MIT" ]
null
null
null
# openkilda-k8s openkilda kubernetes deployment
16
31
0.854167
lit_Latn
0.673724
3f2d72a9a8d614ae9431cf0da3647d6935b93922
16,273
md
Markdown
_posts/Computer Vision/2020-02-21-ComputerVision2.md
nippleshot/nippleshot.github.io
a44554c63164cf3da7c52a6db3e0fccddf3a8072
[ "MIT" ]
null
null
null
_posts/Computer Vision/2020-02-21-ComputerVision2.md
nippleshot/nippleshot.github.io
a44554c63164cf3da7c52a6db3e0fccddf3a8072
[ "MIT" ]
null
null
null
_posts/Computer Vision/2020-02-21-ComputerVision2.md
nippleshot/nippleshot.github.io
a44554c63164cf3da7c52a6db3e0fccddf3a8072
[ "MIT" ]
null
null
null
--- layout: article title: 02. CS231N 요약 (CNN) author: J_宋 tags: ComputerVision CS231n 한글 mathjax: true key: ComputerVision02 --- #### Convolutional Neural Network ##### CNN의 소개 - 간략한 역사 : <a href="https://youtu.be/5t1E3LZ3FDY?list=PL1Kb3QTCLIVtyOuMgyVgT-OeW0PYXl3j5&t=2139">Youtube</a> - Terminology - Localization : 하나의 이미지 내에서 하나의 Object를 찾아내는 것 - Detection : 하나의 이미지 내에서 여러개의 Object를 찾아내는 것 - Segmentation : Object의 형태를 따내는 것 ##### CNN architecture <img src="/assets/images/计视/myNote/pic02/cnn_architectures-03.png" alt="cnn_architectures-03" style="zoom:50%;" /> ##### Convolution Layer - 동작 과정 및 설명 (👇 Stride = 2, Padding = 1时) <img src="/assets/images/计视/myNote/gif/CNN.gif" alt="CNN" style="zoom:100%;" /> - Filter - 반드시 input과 같은 depth를 가져야됨 - 간단히 설명하자면 Filter의 역할은 feature 식별용임 <img src="/assets/images/计视/myNote/pic02/Screen Shot 2021-07-30 at 2.01.40 PM.png" alt="Screen Shot 2021-07-30 at 2.01.40 PM" style="zoom:30%;" /> - Convolution operation - filter가 image(= Input volume) 위로 이동하면서, dot product 계산 - Convolution Layer에서는 *x*개의 filter 가 Convolution Layer의 input위에서 Convolution operation를 진행하면 *x*개의 Activation map들을 생성함 <img src="/assets/images/计视/myNote/pic02/Screen Shot 2021-08-04 at 1.02.10 PM.png" alt="Screen Shot 2021-08-04 at 1.02.10 PM" style="zoom:40%;" /> - 참고 : Filter가 1 × 1 × input depth 이라도 의미가 있음 <img src="/assets/images/计视/myNote/pic02/cs231n18-13screenshot.png" alt="cs231n18-13screenshot" style="zoom:25%;" /> - But Input이 2차원 ( ex. 6×6×1 ) 일 경우 stride 1로 1×1×1 인 Filter 취하는건 아무런 의미 없음 <img src="/assets/images/计视/myNote/pic02/Screen Shot 2021-07-30 at 2.09.16 PM.png" alt="Screen Shot 2021-07-30 at 2.09.16 PM" style="zoom:30%;" /> - Zero-Padding - Zero-Padding를 사용하지 않으면 Activation map이 몇개의 layer 만 거치게 되면 size가 0으로 소멸됨 - Zero-Padding를 사용하여 Activation map 크기를 보존해주되 그래도 size를 점차 줄여주기 위해 pooling layer가 필요 - *计算公式1* : 적합한 Zero-Padding 수 구하기 $$ {\text{ Filter Width or Height size } - 1 \over 2 } $$ - 생성된 Activation map들은 다음 Convolution Layer의 input으로 전달됨 - *计算公式2* :1개 Activation map의 Width or Height size 구하기 :warning: total Activation map depth = filter 개수 $$ {\text{ Input Width or Height size } - \text{ Filter Width or Height size } \over \text{ Stride }} + 1 $$ - ***Example*** : <img src="/assets/images/计视/myNote/pic02/cs231n15-48screenshot.png" alt="cs231n15-48screenshot" style="zoom:23%;" /> *Q1 : 그럼 Activation map size는?* $$ \text{ Input size (with pad)} = 36 \times 36 \times 3 \\ \text{ 1 Activation map size } = {36 - 5 \over 1} + 1 = 32 \\ \text{ Total Activation map size } = 32 \times 32 \times \color{red}{10} $$ *Q2 : 이 layer의 parameter수는 ?* $$ \text{ Amount of 1 Filter's parameter (with bias)} = (5 \times 5 \times 3 ) + 1 = 76 \\ \text{ Total amount of 10 Filter's parameter (with bias)} = 76 \times 10 = 760 $$ ##### Pooling Layer - 각 Activation map을 좀 더 작게, 좀 더 관리할 수 있게 만들어 주는 역할 <img src="/assets/images/计视/myNote/pic02/cs231n23-52screenshot.png" alt="cs231n23-52screenshot" style="zoom:33%;" /> - Pooling 방법 : 方法1 :**Max Pooling** : - Hyperparameters : - Filter size (일반적으론 2 설정) - Stride (일반적으론 2 설정) <img src="/assets/images/计视/myNote/pic02/cs231n26-3screenshot.png" alt="cs231n26-3screenshot" style="zoom:25%;" /> - *计算公式3* :Max Pooling통해 나온 Activation map의 Width or Height size 구하기 :warning: total Activation map depth = Input depth $$ {\text{ Input Width or Height size } - \text{ Filter Width or Height size } \over \text{ Stride }} + 1 $$ ##### Classification Layer - Flattened Layer - used to convert the n-dimensional vector into a mono-dimensional vector - Fully Connected Layer - compute the class scores - resulting a vector, where each of the numbers correspond to a class score #### CNN Case Study ##### LeNet-5 (LeCun at al. 1998) <img src="/assets/images/计视/myNote/pic02/cs231n31-48screenshot.png" alt="cs231n31-48screenshot" style="zoom:50%;" /> - Detail : <a href="https://blog.naver.com/laonple/220648539191">Blog</a> ##### AlexNet (Krizhevsky et al. 2012) <img src="/assets/images/计视/myNote/pic02/AlexNet-1.png" alt="AlexNet-1" style="zoom:67%;" /> - input size : 227×227×3 - 2개의 GPU로 병렬연산을 수행하기 위해서 병렬적인 구조로 설계됨 - 첫번째 Layer : Convolution Layer - 96개의 11x11x3 사이즈 Filter로 input을 Convolution operation 해줌, Stride=4 - 즉, parameter 개수 = (11x11x3) x 96 = 34,848 - 병렬연산을 수행하기 위해 Filter를 48개 48개로 나눔 - 두번째 Layer : Pooling Layer - 3x3 사이즈 Filter, Stride=2 적용 - parameter 개수 = 0, (**parameter는 Convolution Layer때만 있는 것!**) - 전체 Layer 구조 : <img src="/assets/images/计视/myNote/pic02/Screen Shot 2021-07-30 at 3.28.05 PM.png" alt="Screen Shot 2021-07-30 at 3.28.05 PM" style="zoom:25%;" /> - 통용적으로 Classifier 직전에 있는 Fully Connected Layer를 "<span style="color:orange">FC7</span>" 라고도 한다 - :warning: <span style="color:green">Normalization Layer</span> : 지금은 효용이 별로 없어서 더이상 사용되지 않는다고 함 - 특징 : - 최초로 ReLU를 사용한 모델 - Data augmentation을 많이 사용함 - Fully Connected Layer에서 Dropout = 0.5 - Batch size = 128 - 7가지 CNN 모델을 앙상블해서 error rate를 2.8%정도 줄였음 - Learning rate = 0.01 (1e-2) ##### ZFNet (Zeiler and Fergus, 2013) - AlexNet과 유사 <img src="/assets/images/计视/myNote/pic02/remotesensing-12-01667-g005 copy.png" alt="remotesensing-12-01667-g005 copy" style="zoom:20%;" /> - 대신 첫번째 Layer의 11x11 Filter, Stride=4 를 7x7 Filter, Stride=2로 줄임 - 3,4,5번재 Layer의 Filter 개수를 늘림 - Detail : <a href="https://blog.naver.com/laonple/220673615573">Blog</a> ##### VGGNet (Simonyan and Zisserman, 2014) <img src="/assets/images/计视/myNote/pic02/clip_image001.png" alt="clip_image001" style="zoom: 50%;" /> - 모든 Convolution Layer에는 오직 3x3 Filter , Stride=1, Padding=1를 사용 - 모든 Max Pooling Layer에는 오직 2x2 Filter , Stride=2 를 사용 - 전체 Layer <img src="/assets/images/计视/myNote/pic02/cs231n 41-0screenshot.png" alt="cs231n 41-0screenshot" style="zoom:50%;" /> - 위에서 보이듯이 Fully Connected를 사용하는 건 효율적이지 못해 average pooling를 사용할 수 있음 <img src="/assets/images/计视/myNote/pic02/Screen Shot 2021-07-30 at 4.07.16 PM.png" alt="Screen Shot 2021-07-30 at 4.07.16 PM" style="zoom:23%;" /> ##### GoogLeNet (Szegedy et al. 2014) <img src="/assets/images/计视/myNote/pic02/35002702-d5dccb60-fb2d-11e7-88ac-e29d0319f32b.png" alt="35002702-d5dccb60-fb2d-11e7-88ac-e29d0319f32b" style="zoom:50%;" /> - Inception 모듈이 연속적으로 연결된 형태 - Inception module <img src="/assets/images/计视/myNote/pic02/cs231n41-59screenshot.png" alt="cs231n41-59screenshot" style="zoom:43%;" /> - Fully Connected Layer를 아예 제거하고 average pooling을 사용함 - 모델의 Parameter 수를 다 합치면 약 500만개 밖에 안됨! - AlexNet과 비교했을 때, - GoogLeNet 은 AlexNet의 1/12 수준의 parameter를 가짐 - 연산은 2배이상 빠름 - Top-5 Error는 약 10% 감소됨 ##### ResNet (He et al. 2015) - 모델들의 발전 <img src="/assets/images/计视/myNote/pic02/cs231n45-1screenshot.png" alt="cs231n45-1screenshot" style="zoom:40%;" /> - Error rate는 점점 :arrow_heading_down: , Layer의 크기는 :arrow_heading_up: - ResNet의 주장 <img src="/assets/images/计视/myNote/pic02/cs231n45-58screenshot.png" alt="cs231n45-58screenshot" style="zoom:50%;" /> - 기존의 Net들은 Layer가 많아짐에 따라 Error rate가 커지는 현상이 나옴으로써 최적화에 실패해 있다고 함 - ResNet의 경우 Layer가 많아짐에 따라 Error rate는 줄어듬 - 특징 - 8개의 GPU machine에서 2-3주 동안 train을 시킴 - test (runtime) 할 때는 비록 VGGNet 보다 8배 더 많은 Layer를 가지고 있지만 성능은 더 빠름. How? - 첫번째 Convolution Layer다음 바로 Pooling을 통해 size를 56x56으로 줄여 이후 150개 Layer들은 이 size 기반으로 진행됨 - Skip Connection <img src="/assets/images/计视/myNote/pic02/cs231n47-43screenshot.png" alt="cs231n47-43screenshot" style="zoom:50%;" /> - Plue 연산을 추가해서 Backpropagation이 진행될 때, 과정을 건너뛰고 앞쪽 Convolution Layer로 넘어갈 수 있음 :warning: 参考 : <img src="/assets/images/计视/myNote/pic02/Screen Shot 2021-07-31 at 10.24.45 AM.png" alt="Screen Shot 2021-07-31 at 10.24.45 AM" style="zoom:30%;" /> - 모든 Convolution Layer 다음 Batch Normalization을 사용함 - Xavier/2 Weight Initialization을 사용함 (He et al. 이 만든거임) - Learning rate = 0.1, validation set error가 정체 되면 10으로 나눴음 - dropout을 아예 사용하지 않음 ##### DeepMind's AlphaGo <img src="/assets/images/计视/myNote/pic02/Screen Shot 2021-07-30 at 4.51.14 PM.png" alt="Screen Shot 2021-07-30 at 4.51.14 PM" style="zoom:50%;" /> - Input size : 19x19x48 - Output size : 19x19 (19x19 인 바둑판의 어디에 두어야하는지에 대한 확률) #### 최근 Trend - 더 작은 Filter 사용 - 더 깊은 Layer의 architecure 사용 - Pooling Layer, Fully Connected Layer를 점차 사용하지 않음 - 그냥 Convolution Layer만 사용 : Stride를 활용하여 spacial reduction하는 방식으로 - Fully Connected Layer의 문제점 : 1. 연산량 매우 많음 2. classification에 영향을 끼친 feature가 어느 부분에서 추출되었는지 (위치 정보) 도 알 수 없음 3. input 의 크기 또한 제한된다 ##### Global Average Pooling (GAP) - Fully Connected Layer의 대안으로 제시된 것 <img src="/assets/images/计视/myNote/pic02/Screen Shot 2021-08-01 at 9.22.52 PM.png" alt="Screen Shot 2021-08-01 at 9.22.52 PM" style="zoom:50%;" /> - GAP는 각각의 feature map(= Activation map)에서 대표값(average)을 추출해 바로 각 class에 대한 score로 구성된 vector로 나타남 <img src="/assets/images/计视/myNote/pic02/Screen Shot 2021-08-01 at 9.18.51 PM.png" alt="Screen Shot 2021-08-01 at 9.18.51 PM" style="zoom:35%;" /> - GAP의 특징 : - 이전 feature map들이 가지고 있는 위치 정보를 유지하면서 class category로 직접 연관시키는 역할 - 별도의 parameter optimization 을 필요로 하지 않기 때문에 연산량이 적음 - overfitting 문제도 차단할 수 있음 #### Adversarial examples - Input 이미지에 대한 최적화를 함으로써 우리는 어떤 Class에 Score라도 maximize할 수 있음 - 이런 방법을 사용해서 CNN를 속일 수 도 있음 <img src="/assets/images/计视/myNote/pic02/Screen Shot 2021-08-02 at 4.58.25 PM.png" alt="Screen Shot 2021-08-02 at 4.58.25 PM" style="zoom:30%;" /> - EXPLAINING AND HARNESSING ADVERSARIAL EXAMPLES [Goodfellow, Shlens & Szegedy, 2014] - "Neural Network이 Adversarial attack에 취약한 것은 Linear 한 성질 때문이다" ***Example.*** Binary linear classifier를 속여보기 <img src="/assets/images/计视/myNote/pic02/Screen Shot 2021-08-02 at 5.04.18 PM.png" alt="Screen Shot 2021-08-02 at 5.04.18 PM" style="zoom:40%;" /> ​ 👉 class 1과 class 0의 확률을 합하면 1.0 이 나옴, 그래서 class 1 확률 = 1.0 - class 0의 확률 <img src="/assets/images/计视/myNote/pic02/Screen Shot 2021-08-02 at 5.06.55 PM.png" alt="Screen Shot 2021-08-02 at 5.06.55 PM" style="zoom:30%;" /> 💁🏻 이제 Adversarial한 x를 만들어보자 (즉 결과가 classifier가 class 1이 나오도록 x를 조정해보자) - 대응하는 w가 양수 일 경우 x를 크게 만들고, w가 음수 일 경우 x를 작게 만들자 - 대신 Adversarial한 x를 원래 x와 유사하게 보여야되기 때문에 약간의 변형만 준다 (한 0.5정도) <img src="/assets/images/计视/myNote/pic02/Screen Shot 2021-08-02 at 5.12.46 PM.png" alt="Screen Shot 2021-08-02 at 5.12.46 PM" style="zoom:30%;" /> - image *x* 같은 경우 큰 차원(ex. 224x224)을 가지고 있기 때문에 더 약간의 변화만 주더라도 매우 쉽게 Adversarial한 *x*를 만들 수 있음 - 그래서 Linear regression은 어떤 변화를 줘야하는지 정확히 파악하고 있는 경우라면 아주 작은 변화라도 크게 변경을 시킬 수 있음 - 사실 이런 문제들은 image에서만 국한되는 것이 아니라, speak recognition 등 여러 방면들에서 발생할 수 있음 #### Data Augmentation - 데이터의 label은 변함없이 Pixel을 고침 그리고 이 변경된 데이터를 학습함 - 방법들 : 1. 반대로 filp하는 방법 2. 랜덤하게 자르고 스케일도 다양하게 하는 방법 3. 색을 jittering 하기 - 복잡한 방법 : [1] 이미지의 R,G,B에 대해 <a href="https://excelsior-cjh.tistory.com/167">PCA</a>를 적용함 [2] 그럼 각 R,G,B에 대해서 Principal componet direction (color가 변화해 나가는 방향성)을 따라서 color의 offset을 sampling 해줌 [3] 이 offset을 모든 pixel에 더해줌 and more ... - 작은 데이터셋의 경우 매우 유용 #### All About Convolutions ##### Small Filter 다음 방식들을 활용하면 CNN의 parameter 수가 줄어들어 연산량이 줄고 CNN가 더 non-linearity하게 됨 1. ***큰 filter 사용을 피하고 작은 filter를 사용하는 방식으로 대체하자*** <img src="/assets/images/计视/myNote/pic04/Screen Shot 2021-08-04 at 4.27.54 PM.png" alt="Screen Shot 2021-08-04 at 4.27.54 PM" style="zoom:30%;" /> - 3개의 conv. layer가 있고 각 layer에는 3x3 filter (stride=1)를 사용한다하자 - 직관적으로 봤을 때, 3번째 conv. layer을 통과한 Activation map의 한 뉴런은 input layer의 7x7 영역 (Receptive field) 을 보게되는 셈임 - 즉, 7x7 filter (stride=1)를 지닌 conv. layer 1개를 통과 시킨 것과 같은 영향을 보이는 셈이다 <img src="/assets/images/计视/myNote/pic04/Screen Shot 2021-08-04 at 4.37.41 PM.png" alt="Screen Shot 2021-08-04 at 4.37.41 PM" style="zoom:30%;" /> - 그럼 위에 두 상황에서 parameter 수량과 연산횟수를 계산해보면 작은 filter를 사용하는 방식이 두 방면 모두 더 적다는 걸 알 수 있다. <img src="/assets/images/计视/myNote/pic04/21-57screenshot.png" alt="cs231n 11강 CNNs in practice 21-57 screenshot" style="zoom:25%;" /> - 그리고 더 층을 쌓을 수로 그만큼 activation function도 쌓아지기 때문에 non-linearity가 더 강화된다 2. ***1x1 "bottleneck" convolution도 매우 효과적임*** <img src="/assets/images/计视/myNote/pic04/Screen Shot 2021-08-04 at 4.58.21 PM.png" alt="Screen Shot 2021-08-04 at 4.58.21 PM" style="zoom:30%;" /> - Parameter 수량 계산 (bias 제외) | | Bottleneck | | Single | | -------------------------- | ---------------- | -------------------- | ----------- | | **C/2개 1x1xC filter ** | 1xCx(C/2) 개 | **C개 3x3xC filter** | 9xCxC 개 | | **C/2개 3x3x(C/2) filter** | 9x(C/2)x(C/2) 개 | | | | **C개 1x1x(C/2) filter ** | 1x(C/2)x(C) 개 | | | | **Total (Sum)** | *3.25 x (C^2)* | **Total (Sum)** | *9 x (C^2)* | 💁🏻 즉 Bottleneck 모델의 Parameter 수량이 더 적고 이로 인해 연산량도 더 적을 것임! (+ 더 깊은 층으로 인한 non-linearity 강화) 3. ***NxN convolution의 경우 1xN 그리고 Nx1의 두 개의 layer로 나누자*** <img src="/assets/images/计视/myNote/pic04/Screen Shot 2021-08-04 at 5.13.46 PM.png" alt="Screen Shot 2021-08-04 at 5.13.46 PM" style="zoom:30%;" /> 💁🏻 위에서 보이다 싶이 Parameter 수량이 더 적어져 연산이 가벼워짐 (+ 더 깊은 층으로 인한 non-linearity 강화) - 사용된 사례 : GoogLeNet <img src="/assets/images/计视/myNote/pic04/Screen Shot 2021-08-04 at 5.16.12 PM.png" alt="Screen Shot 2021-08-04 at 5.16.12 PM" style="zoom:40%;" /> ##### Computing Convolutions ###### im2col - 다차원의 데이터를 행렬로 변환하여 행렬 연산을 하도록 해주는 함수 - 다차원 데이터의 합성곱(convolution) 결과 == im2col을 통해 행렬로 변환된 데이터의 내적 결과 1. 입력 데이터(4x4x3)를 행렬로 변환 <img src="/assets/images/计视/myNote/gif/im2col.gif" alt="im2col" style="zoom:40%;" /> 2. 2개 filter(2x2x3)도 행렬로 변환 <img src="/assets/images/计视/myNote/pic04/im2col2.png" alt="im2col2" style="zoom:43%;" /> 3. 변환한 두 행렬의 곱 <img src="/assets/images/计视/myNote/gif/im2colMul.gif" alt="im2colMul" style="zoom:60%;" /> 4. 행렬로 변환한 입력 데이터와 필터의 행렬 연산 이후, 우리는 출력된 데이터(행렬)를 다시 원래의 데이터(3차원)로 변환해주는 작업을 해야됨 <img src="/assets/images/计视/myNote/gif/col2im.gif" alt="col2im" style="zoom: 60%;" /> - im2col를 사용하면 연산 속도는 빠르다. - 하지만 연산해야하는 데이터 수가 늘어났기 때문에 연산 메모리가 증가한다는 단점도 존재한다. ###### Fast Fourier Transform (FFT) <img src="/assets/images/计视/myNote/pic04/32-42screenshot.png" alt="32-42screenshot" style="zoom:33%;" /> - Filter가 클 경우(7x7) 효과가 상당히 있지만 Filter가 작을 경우(3x3) 효과가 그다지 크지 않음 ###### Fast Algorithms - Strassen's Algoritm을 사용하여 matrix multiplication 복잡도를 줄임 - Details : <a href="https://arxiv.org/abs/1509.09308">Paper</a> ##### Floating point precision - 일반적으로 프로그래밍에서는 64bit (double precision)가 default - 성능 향상을 위해 32bit (single precision)를 사용할 수 있음 - 요즘 16bit (half precision)도 지원하는 library 도 있음 - 하지만 Floating point precision 문제가 발생할 수 있음 - 16bit (half precision)로 Training과 Testing를 할 경우 error률이 발산함 - Stochastic rounding 방법 : parameter 와 activation을 모두 16bit로 일단 생성한 다음 곱셉연산이 일어나는 경우에 더 높은 bit로 잠시 올려 줬다가 곱셉연산이 끝나면 다시 낮추는 방식 - Stochastic rounding 를 적용했을 때 error률이 수렴하는데 성공을 함 - 2016년에는 parameter 와 activation을 모두 1bit로 학습을 시키는 모델을 제안함 (BinaryNet) - 모든 parameter 와 activation는 +1 또는 -1 로 설정 - 단, gradient는 좀 더 높은 precision을 사용함 - Bitwise XNOR 연산을 활용해서 빠른 곱셉을 수행함 *** 《Reference》 1. <a href="https://www.youtube.com/watch?v=5t1E3LZ3FDY&list=PL1Kb3QTCLIVtyOuMgyVgT-OeW0PYXl3j5&index=6">Youtube</a> 2. <a href="https://vision4me.tistory.com/5">Blog - GAP</a> 3. <a href="https://cs231n.github.io/">Course Site</a> 4. <a href="https://developer.qualcomm.com/software/qualcomm-neural-processing-sdk/learning-resources/cnn-architectures/deep-learning-convolutional-neural-networks-computer-vision">Qualcomm explanation</a> 5. <a href="https://poloclub.github.io/cnn-explainer/">CNN Workflow Visualization</a> 6. <a href="https://hackmd.io/@bouteille/B1Cmns09I#II-Backward-propagation">Blog - im2col</a> ***
31.475822
205
0.662693
kor_Hang
0.9992
3f2dca08a50b8ef886b3fcc173a9ec7383fba672
4,616
md
Markdown
docs/pasqal/devices.md
lilies/Cirq
519b8b70ba4d2d92d1c034c398161ebdbd23e2e7
[ "Apache-2.0" ]
3,326
2018-07-18T23:17:21.000Z
2022-03-29T22:28:24.000Z
docs/pasqal/devices.md
lilies/Cirq
519b8b70ba4d2d92d1c034c398161ebdbd23e2e7
[ "Apache-2.0" ]
3,443
2018-07-18T21:07:28.000Z
2022-03-31T20:23:21.000Z
docs/pasqal/devices.md
lilies/Cirq
519b8b70ba4d2d92d1c034c398161ebdbd23e2e7
[ "Apache-2.0" ]
865
2018-07-18T23:30:24.000Z
2022-03-30T11:43:23.000Z
# Pasqal Devices This section describes the devices in Cirq for Pasqal hardware devices and their usage. While our hardware is currently under development, this information should provide a better understanding of the capabilities of future Pasqal devices, where neutral atoms are controlled by lasers. Please contact Pasqal to obtain the latest information on devices that you plan to use. Currently, there are two devices to choose from: `cirq.pasqal.PasqalDevice` and `cirq.pasqal.PasqalVirtualDevice`. Let us look at the role each of them plays. ## `PasqalDevice` The `cirq.pasqal.PasqalDevice` class represents the most general of Pasqal devices, enforcing only restrictions expected to be shared by all future devices. ### Gate set One of the restrictions is on the supported gate set, which is composed of the following gates (all present in the `cirq.ops` module): * Single-qubit gates: * `IdentityGate` * `MeasurementGate` * `PhasedXPowGate` * `XPowGate` * `YPowGate` * `ZPowGate` * `HPowGate(exponent=1)` * Multi-qubit gates * `CNotPowGate(exponent=1)` * `CZPowGate(exponent=1)` * `CCXPowGate(exponent=1)` * `CCZPowGate(exponent=1)` Any gate appended to a `cirq.Circuit` associated with `PasqalDevice` that is not within this gate set will be, whenever possible, decomposed by Cirq's decomposer or otherwise rejected. ### Measurement limitation The other restriction is on the measurement operation, which has to occur only once, at the end of the circuit, and simultaneously on all the qubits of interest. It can correspond to a single `cirq.ops.GateOperation` with a `cirq.ops.MeasurementGate` applied on all the qubits of interest (recommended) or multiple measurement operations, as long as they are all in the same moment. ### Usage The `PasqalDevice` is intended to serve as the parent class of future Pasqal devices' classes. However, it can also be used as the host of a nearly unconstrained quantum circuit. When using the `PasqalDevice` class as the device itself, the qubits have to be of the type `cirq.NamedQubit` and assumed to be all connected, the idea behind it being that after submission, all optimization and transpilation necessary for its execution on the specified device are handled internally by Pasqal. Therefore, when a `PasqalDevice` hosts a circuit, the user submits a quantum circuit that is intentionally unaffected by the physical limitations of the device, leaving it up to Pasqal's compiler to adapt it so that it can be executed. ## `PasqalVirtualDevice` Contrary to `PasqalDevice`, `PasqalVirtualDevice` allows the user to create a circuit that is then executed without modification on a physical device. It achieves this by imposing the expected restrictions that come with designing a quantum circuit for execution on a physical device. The added restrictions are imposed throughout the creation of a circuit so that, at any point, it could be executed without any changes. ### Qubit placement and connectivity Qubits on Pasqal devices can be in arbitrary positions, either in 1D, 2D or 3D, and can be created via the `cirq.pasqal.ThreeDQubit`, `cirq.pasqal.TwoDQubit`, `cirq.GridQubit` or `cirq.LineQubit` classes. ```python from cirq.pasqal import TwoDQubit # An array of 9 Pasqal qubits on a square lattice in 2D p_qubits = [TwoDQubit(i, j) for i in range(3) for j in range(3)] # Equivalently, using one of Pasqal's qubit classes' static methods for qubit register creation p_qubits = TwoDQubit.square(3) # Initializes qubits in a square grid of side 3 ``` Connectivity is limited to qubits that are closer than a control radius. In the current version, the control radius can be chosen by the user and passed as a parameter of the `cirq.pasqal.PasqalVirtualDevice`; it is constrained to be at most three times the minimum distance between all qubits in the layout. ```python from cirq.pasqal import PasqalVirtualDevice # A PasqalVirtualDevice with a control radius of 2.0 times the lattice spacing. p_device = PasqalVirtualDevice(control_radius=2.0, qubits=p_qubits) ``` ### Gate set restrictions To the gate set allowed by `PasqalDevice`, `PasqalVirtualDevice` removes the `CNotPowGate`, `CCXPowGate` and `CCZPowGate(exponent=1)`, which are not expected to be available in the first generation of devices. ### Timing restrictions Currently, no parallelization is allowed by `PasqalVirtualDevice`, which means that each gate is forced to be the only one in its `Moment` (except for Measurement gates on different qubits, which have to coexist in the final `Moment` of the circuit).
51.288889
421
0.77838
eng_Latn
0.998103
3f2e39fee8c3740dcae0b1511f352e233fb5d9ef
3,067
md
Markdown
wiki/translations/ro/PartDesign_SubtractiveEllipsoid.md
dwhr-pi/FreeCAD-documentation
0c889672d80e7969dcabe83f5ddf503e72a4f5bb
[ "CC0-1.0" ]
null
null
null
wiki/translations/ro/PartDesign_SubtractiveEllipsoid.md
dwhr-pi/FreeCAD-documentation
0c889672d80e7969dcabe83f5ddf503e72a4f5bb
[ "CC0-1.0" ]
null
null
null
wiki/translations/ro/PartDesign_SubtractiveEllipsoid.md
dwhr-pi/FreeCAD-documentation
0c889672d80e7969dcabe83f5ddf503e72a4f5bb
[ "CC0-1.0" ]
null
null
null
# PartDesign SubtractiveEllipsoid/ro --- - GuiCommand: Name:PartDesign SubtractiveEllipsoid Workbenches:[MenuLocation:Part Design → Create an subtractive primitive → Subtractive Ellipsoid Shortcut:None SeeAlso:[[PartDesign CompPrimitiveSubtractive](PartDesign_Workbench___PartDesign]].md)--- </div> ## Descriere Inserează un elipsoid substractiv în corpul activ. Forma lui este extrasă din solidul existent. ![](images/PartDesign_SubtractiveEllipsoid_example.svg ) *În partea stângă: corpul activ (A) afișat în gri și elipsoidul substractiv (B) afișat în roșu transparent; rezultatul în partea dreaptă.* <div class="mw-translate-fuzzy"> ## Cum se folosește </div> <div class="mw-translate-fuzzy"> 1. Apăsați mai întâi butonul **<img src="images/PartDesign_SubtractiveEllipsoid.png" width=24px> '''Subtractive Ellipsoid'''** . **Notă**: Elipsoidul Subtractiv face parte dintr-un meniu cu pictograme etichetat *Create an additive primitive*. După lansarea FreeCAD, Subtractiv Elipsoid este printe cele afișate în toolbar. Pentru a obține butonul Ellipsoid, click pe săgeata în jos alături de iconița vizibilă și selectați Ellipsoid in meniu. 2. Definiți parametrii Primitivei geometrice și [Attachment](Part_EditAttachment.md). 3. Click pe **OK**. 4. O funcție(onalitate) Ellipsoid apare sub Copul activ. </div> ## Opţiuni <div class="mw-translate-fuzzy"> Elipsoidul poate fi editat după crearea sa în două moduri: - Double-clicking pe el în arborescența Model, sau right-clicking și selectați **Edit primitive** in meniul contextual; acest lucru deschide parametrii Primitivei geometrice. - Via [Property editor](Property_editor.md). </div> ## Proprietăți <div class="mw-translate-fuzzy"> - **Attachment**: definește modul de atașament ca și Attachment Offset. A se vedea [Part EditAttachment](Part_EditAttachment.md). - **Label**: label given to the Ellipsoid object. Change to suit your needs. - **Radius1**: the radius value along the ellipsoid\'s vertical axis; by default, parallel to the Z-axis. - **Radius2**: the radius value along the ellipsoid\'s length; by default, parallel to the X-axis. - **Radius2**: the radius value along the ellipsoid\'s width; by default, parallel to the Y-axis. At the default value of zero, the ellipsoid forms an [oblate spheroid](http://en.wikipedia.org/wiki/Oblate_spheroid). - **Angle1**: (labelled *V parameter* in the Primitive parameters) lower truncation of the ellipsoid, parallel to the circular cross section (-90 degrees in a full spheroid) - **Angle2**: (unlabelled in the Primitive parameters) upper truncation of the ellipsoid, parallel to the circular cross section (90 degrees in a full spheroid). - **Angle3**: (etichetat cu parametrul \"U\" în parametrii Primitive) unghiul de rotație a secțiunii eliptice (360 de grade într-un sferoid complet). </div> {{PartDesign Tools navi }} --- ![](images/Right_arrow.png) [documentation index](../README.md) > [PartDesign](PartDesign_Workbench.md) > PartDesign SubtractiveEllipsoid/ro
36.511905
443
0.754809
ron_Latn
0.949978
3f2e59fd18506c99f1336a2b3d75892aa80c1604
2,106
md
Markdown
50_Pow(x, n).md
OneSizeFitsQuorum/myLeetcodeDailyRecord
fe9f3d41192d90e3dec41885d5294802bf715f73
[ "MIT" ]
null
null
null
50_Pow(x, n).md
OneSizeFitsQuorum/myLeetcodeDailyRecord
fe9f3d41192d90e3dec41885d5294802bf715f73
[ "MIT" ]
null
null
null
50_Pow(x, n).md
OneSizeFitsQuorum/myLeetcodeDailyRecord
fe9f3d41192d90e3dec41885d5294802bf715f73
[ "MIT" ]
1
2022-03-10T13:26:46.000Z
2022-03-10T13:26:46.000Z
## 题目 实现 pow(x, n) ,即计算 x 的 n 次幂函数。 **示例 1** ``` 输入:2.00000, 10 输出:1024.00000 ``` **示例 2** ``` 输入:2.10000, 3 输出:9.26100 ``` **示例 3** ``` 输入:2.00000, -2 输出:0.25000 解释:2-2 = 1/22 = 1/4 = 0.25 ``` **说明** * -100.0 < x < 100.0 * 是 32 位有符号整数,其数值范围是 [−2^31, 2^31 − 1] 。 ## 代码(暴力) ```JAVA class Solution { public double myPow(double x, int n) { if (n < 0){ return 1 / fastPow(x, 0L - n); } return fastPow(x, n); } public double fastPow(double x, long n){ double res = 1; for(int i = 0;i < n;i++){ res *= x; } return res; } } ``` ## 代码(递归快速幂算法) ```Java class Solution { public double myPow(double x, int n) { if (n < 0){ return 1 / fastPow(x, 0L - n); } return fastPow(x, n); } public double fastPow(double x, long n){ if(n == 0) { return 1; } double result = fastPow(x, n / 2); result *= result; if(n % 2 == 1){ result *= x; } return result; } } ``` ## 代码(迭代快速幂算法) ```Java class Solution { public double myPow(double x, int n) { if (n < 0){ return 1 / fastPow(x, 0L - n); } return fastPow(x, n); } public double fastPow(double x, long n){ double result = 1; double current = x; for(long i = n; i > 0; i >>= 1){ if (i % 2 == 1){ result *= current; } current *= current; } return result; } } ``` ## 思路 ### 解法 1 这题最简单的就是暴力算法,将 x 连乘 n 次,如果 n < 0,我们可以用 1 / x,-n 来替换 x,n。另外我们需关注边界条件,尤其是正整数和负整数的不同范围限制,建议直接转换为 long。这种做法的时间复杂度是`O(n)`,肯定不是一个好做法。 ### 解法 2 其实也可以用快速幂算法,假定我们已经得到了 x ^ (n / 2) 的结果,并且我们现在想得到 x ^ n 的结果。我们令 A 是 x ^ (n / 2) 的结果,我们可以根据 n 的奇偶性来分别讨论 x ^ n 的值。 * 如果 n 为偶数,我们可以用公式 (x ^ n) ^ 2 = x ^ (2 * n) 来得到 x ^ n = A * A * 如果 n 为奇数,那么 A * A = x ^ (n - 1)。直观上看,我们需要再乘一次 x ,即 x ^ n = A * A * x,即 n=A∗A∗x。该方法可以很方便的使用递归实现。我们称这种方法为 "快速幂"。 * 时间复杂度:`O(lgn)` * 空间复杂度:`O(lgn)` ### 解法 3 ![](static/50.png) * 时间复杂度:`O(lgn)` * 空间复杂度:`O(1)`
19.145455
127
0.469136
yue_Hant
0.561154
3f2ff70f0ca30103ecd7efba8be59a67e02a1f02
3,774
md
Markdown
docs/FuturesOrder.md
stevenstc/api-gate-io
535c6c9076bb8e9a8f7c68efc1b9af76b5a9a235
[ "MIT" ]
1
2021-12-12T07:25:48.000Z
2021-12-12T07:25:48.000Z
docs/FuturesOrder.md
stevenstc/api-gate-io
535c6c9076bb8e9a8f7c68efc1b9af76b5a9a235
[ "MIT" ]
null
null
null
docs/FuturesOrder.md
stevenstc/api-gate-io
535c6c9076bb8e9a8f7c68efc1b9af76b5a9a235
[ "MIT" ]
null
null
null
# FuturesOrder ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **number** | Futures order ID | [optional] [readonly] [default to undefined] **user** | **number** | User ID | [optional] [readonly] [default to undefined] **createTime** | **number** | Order creation time | [optional] [readonly] [default to undefined] **finishTime** | **number** | Order finished time. Not returned if order is open | [optional] [readonly] [default to undefined] **finishAs** | **string** | How the order is finished. - filled: all filled - cancelled: manually cancelled - liquidated: cancelled because of liquidation - ioc: time in force is &#x60;IOC&#x60;, finish immediately - auto_deleveraged: finished by ADL - reduce_only: cancelled because of increasing position while &#x60;reduce-only&#x60; set | [optional] [readonly] [default to undefined] **status** | **string** | Order status - &#x60;open&#x60;: waiting to be traded - &#x60;finished&#x60;: finished | [optional] [readonly] [default to undefined] **contract** | **string** | Futures contract | [default to undefined] **size** | **number** | Order size. Specify positive number to make a bid, and negative number to ask | [default to undefined] **iceberg** | **number** | Display size for iceberg order. 0 for non-iceberg. Note that you would pay the taker fee for the hidden size | [optional] [default to undefined] **price** | **string** | Order price. 0 for market order with &#x60;tif&#x60; set as &#x60;ioc&#x60; | [optional] [default to undefined] **close** | **boolean** | Set as &#x60;true&#x60; to close the position, with &#x60;size&#x60; set to 0 | [optional] [default to undefined] **isClose** | **boolean** | Is the order to close position | [optional] [readonly] [default to undefined] **reduceOnly** | **boolean** | Set as &#x60;true&#x60; to be reduce-only order | [optional] [default to undefined] **isReduceOnly** | **boolean** | Is the order reduce-only | [optional] [readonly] [default to undefined] **isLiq** | **boolean** | Is the order for liquidation | [optional] [readonly] [default to undefined] **tif** | **string** | Time in force - gtc: GoodTillCancelled - ioc: ImmediateOrCancelled, taker only - poc: PendingOrCancelled, reduce-only | [optional] [default to &#39;gtc&#39;] **left** | **number** | Size left to be traded | [optional] [readonly] [default to undefined] **fillPrice** | **string** | Fill price of the order | [optional] [readonly] [default to undefined] **text** | **string** | User defined information. If not empty, must follow the rules below: 1. prefixed with &#x60;t-&#x60; 2. no longer than 28 bytes without &#x60;t-&#x60; prefix 3. can only include 0-9, A-Z, a-z, underscore(_), hyphen(-) or dot(.) Besides user defined information, reserved contents are listed below, denoting how the order is created: - web: from web - api: from API - app: from mobile phones - auto_deleveraging: from ADL - liquidation: from liquidation - insurance: from insurance | [optional] [default to undefined] **tkfr** | **string** | Taker fee | [optional] [readonly] [default to undefined] **mkfr** | **string** | Maker fee | [optional] [readonly] [default to undefined] **refu** | **number** | Reference user ID | [optional] [readonly] [default to undefined] ## Enum: FuturesOrder.FinishAs * `Filled` (value: `'filled'`) * `Cancelled` (value: `'cancelled'`) * `Liquidated` (value: `'liquidated'`) * `Ioc` (value: `'ioc'`) * `AutoDeleveraged` (value: `'auto_deleveraged'`) * `ReduceOnly` (value: `'reduce_only'`) ## Enum: FuturesOrder.Status * `Open` (value: `'open'`) * `Finished` (value: `'finished'`) ## Enum: FuturesOrder.Tif * `Gtc` (value: `'gtc'`) * `Ioc` (value: `'ioc'`) * `Poc` (value: `'poc'`)
61.868852
543
0.668786
eng_Latn
0.903838
3f3061aa9cb45305e8a9ebfea2785e68a5535f13
5,103
md
Markdown
relnotes/v1.12.0.md
dvandersluis/rubocop
783cb69643ab9a40fee9e8917aa557299be5b59a
[ "MIT" ]
6,297
2015-01-01T13:32:27.000Z
2018-05-31T06:19:46.000Z
relnotes/v1.12.0.md
dvandersluis/rubocop
783cb69643ab9a40fee9e8917aa557299be5b59a
[ "MIT" ]
3,984
2015-01-01T15:31:51.000Z
2018-05-31T00:02:58.000Z
relnotes/v1.12.0.md
dvandersluis/rubocop
783cb69643ab9a40fee9e8917aa557299be5b59a
[ "MIT" ]
1,943
2015-01-02T11:16:59.000Z
2018-05-29T08:57:15.000Z
### New features * [#9615](https://github.com/rubocop/rubocop/pull/9615): Add new `Style/StringChars` cop. ([@koic][]) * [#9629](https://github.com/rubocop/rubocop/issues/9629): Add `AllowParenthesesInStringInterpolation` configuration to `Style/MethodCallWithArgsParentheses` to allow parenthesized calls in string interpolation. ([@gsamokovarov][]) * [#9219](https://github.com/rubocop/rubocop/pull/9219): Allow excluding some constants from Style/Documentation. ([@fsateler][]) * Add `AllowNil` option for `Lint/SuppressedException` to allow/disallow `rescue nil`. ([@corroded][]) ### Bug fixes * [#9560](https://github.com/rubocop/rubocop/pull/9560): Fix an error for `Lint/ClassMethodsDefinitions` when defining class methods with `class << self` with comment only body. ([@koic][]) * [#9551](https://github.com/rubocop/rubocop/issues/9551): Fix a false positive for `Style/UnlessLogicalOperators` when using `||` operator and invoked method name includes "or" in the conditional branch. ([@koic][]) * [#9620](https://github.com/rubocop/rubocop/pull/9620): Allow parentheses in operator methods calls for `Style/MethodCallWithArgsParentheses` `EnforcedStyle: omit_parentheses`. ([@gsamokovarov][]) * [#9622](https://github.com/rubocop/rubocop/issues/9622): Fixed `Style/BisectedAttrAccessor` autocorrection to handle multiple bisected attrs in the same macro. ([@dvandersluis][]) * [#9606](https://github.com/rubocop/rubocop/issues/9606): Fix an error for `Layout/IndentationConsistency` when using access modifier at the top level. ([@koic][]) * [#9619](https://github.com/rubocop/rubocop/pull/9619): Fix infinite loop between `Layout/IndentationWidth` and `Layout/RescueEnsureAlignment` autocorrection. ([@dvandersluis][]) * [#9633](https://github.com/rubocop/rubocop/pull/9633): Fix an incorrect auto-correct for `Lint/NumberConversion` when `to_i` method in symbol form. ([@koic][]) * [#9616](https://github.com/rubocop/rubocop/pull/9616): Fix an incorrect auto-correct for `Style/EvalWithLocation` when using `#instance_eval` with a string argument in parentheses. ([@koic][]) * [#9429](https://github.com/rubocop/rubocop/issues/9429): Fix `Style/NegatedIfElseCondition` autocorrect to keep comments in correct branch. ([@tejasbubane][]) * [#9631](https://github.com/rubocop/rubocop/issues/9631): Fix an incorrect auto-correct for `Style/RedundantReturn` when using `return` with splat argument. ([@koic][]) * [#9627](https://github.com/rubocop/rubocop/issues/9627): Fix an incorrect auto-correct for `Style/StructInheritance` when extending instance of Struct without `do` ... `end` and class body is empty. ([@koic][]) * [#5953](https://github.com/rubocop/rubocop/issues/5953): Fix a false positive for `Style/AccessModifierDeclarations` when using `module_function` with symbol. ([@koic][]) * [#9593](https://github.com/rubocop/rubocop/issues/9593): Fix an error when processing a directory is named `{}`. ([@koic][]) * [#9599](https://github.com/rubocop/rubocop/issues/9599): Fix an error for `Style/CaseLikeIf` when using `include?` without a receiver. ([@koic][]) * [#9582](https://github.com/rubocop/rubocop/issues/9582): Fix incorrect auto-correct for `Style/ClassEqualityComparison` when comparing `Module#name` for equality. ([@koic][]) * [#9603](https://github.com/rubocop/rubocop/issues/9603): Fix a false positive for `Style/SoleNestedConditional` when using nested modifier on value assigned in condition. ([@koic][]) * [#9598](https://github.com/rubocop/rubocop/pull/9598): Fix RuboCop::MagicComment#valid_shareable_constant_value?. ([@kachick][]) * [#9625](https://github.com/rubocop/rubocop/pull/9625): Allow parentheses in yield arguments with `Style/MethodCallWithArgsParentheses` `EnforcedStyle: omit_parentheses` to fix invalid Ruby auto-correction. ([@gsamokovarov][]) * [#9558](https://github.com/rubocop/rubocop/issues/9558): Fix inconsistency when dealing with URIs that are wrapped in single quotes vs double quotes. ([@dvandersluis][]) * [#9613](https://github.com/rubocop/rubocop/issues/9613): Fix a false positive for `Style/RedundantSelf` when a self receiver on an lvalue of mlhs arguments. ([@koic][]) * [#9586](https://github.com/rubocop/rubocop/issues/9586): Update `Naming/RescuedExceptionsVariableName` to not register on inner rescues when nested. ([@dvandersluis][]) ### Changes * [#9487](https://github.com/rubocop/rubocop/issues/9487): Mark Naming/MemoizedInstanceVariableName as unsafe. ([@marcandre][]) * [#9601](https://github.com/rubocop/rubocop/issues/9601): Make `Style/RedundantBegin` aware of redundant `begin`/`end` blocks around memoization. ([@koic][]) * [#9617](https://github.com/rubocop/rubocop/issues/9617): Disable suggested extensions when using the `--stdin` option. ([@dvandersluis][]) [@koic]: https://github.com/koic [@gsamokovarov]: https://github.com/gsamokovarov [@fsateler]: https://github.com/fsateler [@corroded]: https://github.com/corroded [@dvandersluis]: https://github.com/dvandersluis [@tejasbubane]: https://github.com/tejasbubane [@kachick]: https://github.com/kachick [@marcandre]: https://github.com/marcandre
110.934783
231
0.749755
eng_Latn
0.361109
3f30b9d2f4f87d583d6445732d147fc9167bb759
9,096
md
Markdown
articles/notification-hubs/notification-hubs-templates-cross-platform-push-messages.md
BaherAbdullah/azure-docs
65d82440dd3209697fdb983ef456b0a2293e270a
[ "CC-BY-4.0", "MIT" ]
7,073
2017-06-27T08:58:22.000Z
2022-03-30T23:19:23.000Z
articles/notification-hubs/notification-hubs-templates-cross-platform-push-messages.md
BaherAbdullah/azure-docs
65d82440dd3209697fdb983ef456b0a2293e270a
[ "CC-BY-4.0", "MIT" ]
87,608
2017-06-26T22:11:41.000Z
2022-03-31T23:57:29.000Z
articles/notification-hubs/notification-hubs-templates-cross-platform-push-messages.md
BaherAbdullah/azure-docs
65d82440dd3209697fdb983ef456b0a2293e270a
[ "CC-BY-4.0", "MIT" ]
17,093
2017-06-27T03:28:18.000Z
2022-03-31T20:46:38.000Z
--- title: Azure Notification Hubs templates description: Learn about using templates for Azure Notification Hubs. services: notification-hubs documentationcenter: .net author: sethmanheim manager: femila ms.service: notification-hubs ms.workload: mobile ms.tgt_pltfrm: mobile-multiple ms.devlang: multiple ms.topic: article ms.date: 02/16/2021 ms.author: sethm ms.reviewer: thsomasu ms.lastreviewed: 01/04/2019 --- # Notification Hubs templates Templates enable a client application to specify the exact format of the notifications it wants to receive. Using templates, an app can realize several different benefits, including the following: - A platform-agnostic backend - Personalized notifications - Client-version independence - Easy localization This section provides two in-depth examples of how to use templates to send platform-agnostic notifications targeting all your devices across platforms, and to personalize broadcast notifications to each device. ## Using templates cross-platform The standard way to send push notifications is to send, for each notification that is to be sent, a specific payload to platform notification services (WNS, APNS). For example, to send an alert to APNS, the payload is a JSON object of the following form: ```json {"aps": {"alert" : "Hello!" }} ``` To send a similar toast message on a Windows Store application, the XML payload is as follows: ```xml <toast> <visual> <binding template=\"ToastText01\"> <text id=\"1\">Hello!</text> </binding> </visual> </toast> ``` You can create similar payloads for MPNS (Windows Phone) and FCM (Android) platforms. This requirement forces the app backend to produce different payloads for each platform, and effectively makes the backend responsible for part of the presentation layer of the app. Some concerns include localization and graphical layouts (especially for Windows Store apps that include notifications for various types of tiles). The Notification Hubs template feature enables a client app to create special registrations, called template registrations, which include, in addition to the set of tags, a template. The Notification Hubs template feature enables a client app to associate devices with templates whether you are working with installations (preferred) or registrations. Given the preceding payload examples, the only platform-independent information is the actual alert message (**Hello!**). A template is a set of instructions for the notification hub on how to format a platform-independent message for the registration of that specific client app. In the preceding example, the platform-independent message is a single property: `message = Hello!`. The following figure illustrates the process: ![Diagram showing the process for using templates cross-platform](./media/notification-hubs-templates/notification-hubs-hello.png) The template for the iOS client app registration is as follows: ```json {"aps": {"alert": "$(message)"}} ``` The corresponding template for the Windows Store client app is: ```xml <toast> <visual> <binding template=\"ToastText01\"> <text id=\"1\">$(message)</text> </binding> </visual> </toast> ``` Notice that the actual message is substituted for the expression `$(message)`. This expression instructs the notification hub, whenever it sends a message to this particular registration, to build a message that follows it and inserts the common value. If you are working with the installation model, the installation "templates" key holds a JSON of multiple templates. If you are working with the registration model, the client application can create multiple registrations in order to use multiple templates; for example, a template for alert messages and a template for tile updates. Client applications can also mix native registrations (registrations with no template) and template registrations. The notification hub sends one notification for each template without considering whether they belong to the same client app. This behavior can be used to translate platform-independent notifications into more notifications. For example, the same platform-independent message to the notification hub can be seamlessly translated in a toast alert and a tile update, without requiring the backend to be aware of it. Some platforms (for example, iOS) might collapse multiple notifications to the same device if they are sent within a short period of time. ## Using templates for personalization Another advantage to using templates is the ability to use Notification Hubs to perform per-registration personalization of notifications. For example, consider a weather app that displays a tile with the weather conditions in a specific location. A user can choose between Celsius or Fahrenheit degrees, and a single or five-day forecast. Using templates, each client app installation can register for the format required (1-day Celsius, 1-day Fahrenheit, 5-days Celsius, 5-days Fahrenheit), and have the backend send a single message that contains all the information required to fill those templates (for example, a five-day forecast with Celsius and Fahrenheit degrees). The template for the one-day forecast with Celsius temperatures is as follows: ```xml <tile> <visual> <binding template="TileWideSmallImageAndText04"> <image id="1" src="$(day1_image)" alt="alt text"/> <text id="1">Seattle, WA</text> <text id="2">$(day1_tempC)</text> </binding> </visual> </tile> ``` The message sent to the notification hub contains all the following properties: | day1_image | day2_image | day3_image | day4_image | day5_image | |------------|------------|------------|------------|------------| | day1_tempC | day2_tempC | day3_tempC | day4_tempC | day5_tempC | | day1_tempF | day2_tempF | day3_tempF | day4_tempF | day5_tempF | By using this pattern, the backend only sends a single message without having to store specific personalization options for the app users. The following figure illustrates this scenario: ![Diagram showing how the backend only sends a single message to each platform.](./media/notification-hubs-templates/notification-hubs-registration-specific.png) ## How to register templates To register with templates using the installation model (preferred), or the registration model, see [Registration management](notification-hubs-push-notification-registration-management.md). ## Template expression language Templates are limited to XML or JSON document formats. Also, you can only place expressions in specific places; for example, node attributes or values for XML, string property values for JSON. The following table shows the language allowed in templates: | Expression | Description | | ---------------- | --- | | $(prop) | Reference to an event property with the given name. Property names are not case-sensitive. This expression resolves into the property’s text value or into an empty string if the property is not present. | |$(prop, n) | As above, but the text is explicitly clipped at n characters, for example $(title, 20) clips the contents of the title property at 20 characters. | | .(prop, n) | As above, but the text is suffixed with three dots as it is clipped. The total size of the clipped string and the suffix does not exceed n characters.(title, 20) with an input property of “This is the title line” results in **This is the title...** | | %(prop) | Similar to $(name) except that the output is URI-encoded. | | #(prop) | Used in JSON templates (for example, for iOS and Android templates).<br><br>This function works exactly the same as '$(prop)' previously specified, except when used in JSON templates (for example, Apple templates). In this case, if this function is not surrounded by "{','}" (for example, 'myJsonProperty' : '#(name)'), and it evaluates to a number in JavaScript format, for example, regexp: (0&#124;(&#91;1-9&#93;&#91;0-9&#93;*))(\.&#91;0-9&#93;+)?((e&#124;E)(+&#124;-)?&#91;0-9&#93;+)?, then the output JSON is a number.<br><br>For example, 'badge: '#(name)' becomes 'badge' : 40 (and not '40'). | | 'text' or "text" | A literal. Literals contain arbitrary text enclosed in single or double quotes. | | expr1 + expr2 | The concatenation operator joining two expressions into a single string. | The expressions can be any of the preceding forms. When using concatenation, the entire expression must be surrounded with `{}`. For example, `{$(prop) + ‘ - ’ + $(prop2)}`. For example, the following template is not a valid XML template: ```xml <tile> <visual> <binding $(property)> <text id="1">Seattle, WA</text> </binding> </visual> </tile> ``` As explained earlier, when using concatenation, expressions must be wrapped in curly brackets. For example: ```xml <tile> <visual> <binding template="ToastText01"> <text id="1">{'Hi, ' + $(name)}</text> </binding> </visual> </tile> ``` ## Next steps [Learn about Azure Notification Hubs](notification-hubs-push-notification-overview.md)
55.127273
733
0.74923
eng_Latn
0.994399
3f30fe46ca3a7151b9d9921cf5143cbf3b0cdbd3
126
md
Markdown
docs/description/path-declarations-must-exist.md
codacy/codacy-spectral
9afeb749c3dc1f80f99095d53c0e01a811e23220
[ "Apache-2.0" ]
null
null
null
docs/description/path-declarations-must-exist.md
codacy/codacy-spectral
9afeb749c3dc1f80f99095d53c0e01a811e23220
[ "Apache-2.0" ]
null
null
null
docs/description/path-declarations-must-exist.md
codacy/codacy-spectral
9afeb749c3dc1f80f99095d53c0e01a811e23220
[ "Apache-2.0" ]
null
null
null
# path-declarations-must-exist Path parameter declarations cannot be empty, ex.`/given/{}` is invalid. **Recommended:** Yes
21
71
0.738095
eng_Latn
0.898946
3f316acda14422c0f1c8632fd5afd78188921ed3
78,736
md
Markdown
vendor/bundle/jruby/1.9/gems/twitter-5.15.0/CHANGELOG.md
michaelkeevildown/logstash-document-lookup
d2401fb466a071041ba525fe2d73ed111844b8bf
[ "Apache-2.0" ]
4
2017-03-07T07:55:14.000Z
2018-08-07T04:52:39.000Z
vendor/bundle/jruby/1.9/gems/twitter-5.15.0/CHANGELOG.md
michaelkeevildown/logstash-document-lookup
d2401fb466a071041ba525fe2d73ed111844b8bf
[ "Apache-2.0" ]
null
null
null
vendor/bundle/jruby/1.9/gems/twitter-5.15.0/CHANGELOG.md
michaelkeevildown/logstash-document-lookup
d2401fb466a071041ba525fe2d73ed111844b8bf
[ "Apache-2.0" ]
1
2018-08-07T04:53:04.000Z
2018-08-07T04:53:04.000Z
5.15.0 ------ * [`NullObject#as_json` returns 'null'](https://github.com/sferik/twitter/commit/2979e703c09a45f012cb2c5b2d6663bf1f4d3351) ([@lukevmorris](https://twitter.com/lukevmorris)) * [Add methods to get to parameters of quoted tweet](https://github.com/sferik/twitter/commit/afd41a3e36cc94194a2110ba9adce13486ced9fd) ([@couhie](https://twitter.com/couhie)) * [Add additional mime_types for multi-part upload](https://github.com/sferik/twitter/commit/947fcdc9f7348f267d74933ffa43d191cf248a9c) * [Fix bug where flat_pmap can return nil](https://github.com/sferik/twitter/commit/e22a5601ec702632510b3e983e50929ceb334b95) * [Add new error codes](https://github.com/sferik/twitter/commit/1ce6b2f02d0f5f78435ee898e8f5b6d3db18d6f1) 5.14.0 ------ * [Add `Twitter::NullObject#respond_to?`](https://github.com/sferik/twitter/commit/438e311d93f382960650e20898203c880ade6b25) * [Add `Twitter::Media::Video`, `Twitter::Media::VideoInfo`, and `Twitter::Media::Variant`](https://github.com/sferik/twitter/commit/158193f85843ebac7b3188bbad26d73907577f6a) * [Add `Twitter::Media::AnimatedGif` media entity](https://github.com/sferik/twitter/commit/76cb6645a54969edc7c9195e9e27e3728f5fd683) ([@nidev](https://twitter.com/nidev)) 5.13.0 ------ * [Deprecate `Twitter::REST::Client#get` and `Twitter::REST::Client#post`](https://github.com/sferik/twitter/commit/65773c7d741098490f4164fae9e4433365cd4292) * [Rename `Twitter::REST::Client::URL_PREFIX` to `Twitter::REST::Client::BASE_URL`](https://github.com/sferik/twitter/commit/73e2b9be19acf1403f324e5be48a550d3756d822) * [Extract `Twitter::Headers` class](https://github.com/sferik/twitter/commit/e0d4c36bade95253b98b3ee657af409bfeadbbb6) * [Move `Twitter::Request` to `Twitter::REST::Request`](https://github.com/sferik/twitter/commit/a46d9f21067724c437d40c7cb9c609f6cd304df1) * [Add `Twitter::REST::Request#rate_limit`](https://github.com/sferik/twitter/commit/0c9f9d6a15835a0260a5a56a8aaffdc3f3e39eed) * [Rename `Twitter::REST::Utils` methods](https://github.com/sferik/twitter/commit/2b1cceca0d37a038d3afd0b5763f2308b3db1b2d) * [Update default `User-Agent` to comply with Section 5.5.3 of RFC 7231](https://github.com/sferik/twitter/commit/e5eb8d451d8be2d2751e6dda132c65039e5c879c) 5.12.0 ------ * [Rescue `Twitter::Error::NotFound` for safe `#favorite` and `#retweet`](https://github.com/sferik/twitter/commit/5e6223df20217fd6b0ac78b44b0defdb46d1e018) * [Make `Twitter::User#profile_background_image_uri` methods return a URI](https://github.com/sferik/twitter/commit/d96194c0c3b17076e48faed1b05cd48d043a6778) * [Un-deprecate `Twitter::Base#to_hash`](https://github.com/sferik/twitter/commit/f45ce597408ab2bae2b55db6456543bf6d9ea081) * [Add `Twitter::Tweet#possibly_sensitive?`](https://github.com/sferik/twitter/commit/917e8f14f7707eb646e8057827ed0ba9d1766eeb) * [Namespace registered Faraday middleware](https://github.com/sferik/twitter/commit/a96931171e32c142f36318547f2cffa6ccd5c199) ([@godfoca](https://twitter.com/godfoca)) * [Fix test failures on Ruby 2.2.0-preview1](https://github.com/sferik/twitter/commit/74fb2e676f5882c62a6d4f07d7bbf8ca1f469fe2) * [Make Twitter::NullObject Comparable](https://github.com/sferik/twitter/commit/9635db5128708525f3368800f11c519d6b14b1e4) 5.11.0 ------ * [Return a Twitter::NullObject for empty attributes](https://github.com/sferik/twitter/commit/bca179eefb1c157f19b882a88ba608f6817b76bb) * [Add `iso_language_code` attribute to `Twitter::Metadata`](https://github.com/sferik/twitter/commit/7bf3a1b6ad0c35dc608b03ba2b3321b594e4da1c) 5.10.0 ------ * [Add support for extended entities](https://github.com/sferik/twitter/commit/ed7c708e4208de1df27d141678c14e23422504a0) * [Add `Twitter::REST::Client#upload`](https://github.com/sferik/twitter/commit/f5a747b53c4866bb378d6022f309d6176620122e) 5.9.0 ----- * [Use expanded URIs when available](https://github.com/sferik/twitter/commit/f1d5d1f4c0ea75ebeaf9e7eb760b9efd245a5df2) * [Deprecate `Twitter::REST::Client#middleware=` and `#connection_options`](https://github.com/sferik/twitter/commit/71b0a38670102841fda9642de586e6cb67d33083) * [Ensure predicate methods return `false` for `Twitter::NullObject`](https://github.com/sferik/twitter/commit/f1b42bf82440f2dc0ba61761fc8f12460e20aadf) * [Make `Twitter::Place#id` attribute accessible](https://github.com/sferik/twitter/commit/a4fa4739283a325886d44f97b2648e3b00f933b1) * [Enable injection of custom TCP/SSL socket classes](https://github.com/sferik/twitter/commit/3629a1edfbc6b35099d4b0fc165b938a67c02d86) ([@neektza](https://twitter.com/neektza)) * [Deprecate predicate methods without question marks](https://github.com/sferik/twitter/commit/0305a8535357b6114be73e6b94744eed6b6d3bb5) * [Deprecate `Twitter::Base#[]`](https://github.com/sferik/twitter/commit/2ab6c0d546b7c1d3635ac9c319fb5c2aa2514da0) * [Remove statement that TweetStream is not 2.0.0-compatible](https://github.com/sferik/twitter/pull/553) ([@melaniegilman](https://twitter.com/melaniegilman)) * [Dont allow unacceptable IO objects in `Twitter::REST::Client#update_with_media`](https://github.com/sferik/twitter/commit/f22f1e2efd29200f157af041a470678cd4ef637a) ([@tim_linquist](https://twitter.com/tim_linquist)) * [Add support for new REST API endpoint for bulk lookup of Tweets by ID](https://github.com/sferik/twitter/commit/0d23c5ed65a7e7728cd096d611e5edeecdbc6e79) * [Make the streaming API raise exceptions for status codes](https://github.com/sferik/twitter/commit/b571e03ed18cd63ec1d1a57c03e5744b284111d6) ([@eroberts](https://twitter.com/eroberts)) * [Call GET users/show if screen name has already been fetched](https://github.com/sferik/twitter/commit/0691a62ca5b43d33aa2f7b63aeb039d9155a24ed) * [Add the ability to set user_agent and proxy](https://github.com/sferik/twitter/commit/e72185e1b0299221448650760b91c74ff1bec3e7) * [Use (immutable) user ID instead of (mutable) screen name](https://github.com/sferik/twitter/commit/ceeccb08bbc7cc65c3e6eddaf408b236b8a98677) * [Implement mute functionality](https://github.com/sferik/twitter/commit/dfe206cae5f2189ce2b5cd5db6307d5d5e8af4ef) 5.8.0 ----- * [Alias `Twitter::Tweet#reply?` to `Twitter::Tweet#in_reply_to_user_id?`](https://github.com/sferik/twitter/commit/57147287d25e21a5e740ee69c3e9aeec6abd1b06) * [Add `Twitter::Error::SSL_REQUIRED` error code](https://github.com/sferik/twitter/commit/0cb7e6c132b73766bc978ccb45dd8d9cba43f660) * [`Twitter::Tweet#retweeted_status` always returns the original tweet, not the retweet](https://github.com/sferik/twitter/commit/70fede7fa09a87b7e1cba5b8b4be82127c9eaf51) ([@IanChoiJugnoo](https://twitter.com/IanChoiJugnoo)) 5.7.1 ----- * [Only warn if entities are not included](https://github.com/sferik/twitter/commit/82ed19e69c03ccaccc366744421b3bb3ee444625) ([@matthewrudy](https://twitter.com/matthewrudy)) * [Fix typos in documentation](https://github.com/sferik/twitter/pull/531) ([@attilaolah](https://twitter.com/attilaolah)) 5.7.0 ----- * [Remove `Twitter::Base.from_response` method](https://github.com/sferik/twitter/commit/6f9a352adaa5eee0611fa8d2e45fc7349b5cecae) * [Remove `Twitter::REST::API` namespace](https://github.com/sferik/twitter/commit/f9c4e8214bfe0e4cbd13681a6454956f2c6ac21b) * [Remove `descendants_tracker`](https://github.com/sferik/twitter/commit/4cbcb0fc58c55b84b642bc7c66085bb581e9b20a) * [Remove unused `HTTP_STATUS_CODE` constants](https://github.com/sferik/twitter/commit/b45d89bc96f11079b31976f14ade4f89d50b4dc9) * [Remove `Twitter::Error#cause`](https://github.com/sferik/twitter/commit/a5748b925aa3220e7388311bd0228a62d45d09a4) 5.6.0 ----- * [Replace custom `Twitter::NullObject` with `Naught`](https://github.com/sferik/twitter/commit/bc3990e3588f889569f1c92e465c329c508ce32e) * [Use `URI` and `CGI` to convert query string into a hash](https://github.com/sferik/twitter/commit/6dd9d97aaef3917868b870e01896ab937cbacfbb) * [Increase default timeout values](https://github.com/sferik/twitter/commit/350536926d1c2c0656fdc79948c5f543e306e14e) * [Add `Twitter::Error::RequestTimeout`](https://github.com/sferik/twitter/commit/3179537af41b2e2f85c0bc74be799faea0817e48) * [Remove unused methods `#put` and `#delete` in `Twitter::REST::Client`](https://github.com/sferik/twitter/commit/eaaf234b84a6e2e1f7695f73befaf11f30664f4a) * [Deprecate `retweeters_count` in favor of `retweet_count`](https://github.com/sferik/twitter/commit/ea39bd013364dc24f02e9a1eb25b4b48b99a5480) * [Deprecate `favorites_count`/`favoriters_count` in favor of `favorite_count`](https://github.com/sferik/twitter/commit/ea39bd013364dc24f02e9a1eb25b4b48b99a5480) * [Deprecate `to_hsh` in favor of `to_hash` or `attrs`](https://github.com/sferik/twitter/commit/63e2cdd693aece2912564988d06786cd23a2cad5) * [Deprecate `oauth_token` and `oauth_token_secret` accessors](https://github.com/sferik/twitter/commit/ac246717557ea02565a1d93b3f9a975e7fd39874) 5.5.1 ----- * [Fix bug where `Twitter::Error::AlreadyFavorited` would never be raised](https://github.com/sferik/twitter/issues/512) ([@polestarw](https://twitter.com/polestarw)) * [Fix bug where `Twitter::Error::AlreadyPosted` would never be raised](https://github.com/sferik/twitter/commit/e6b37b930c056a88d8ee1477246635caf579111d) * [Restore `Twitter::Entities#entities?` as a public method](https://github.com/sferik/twitter/commit/234a9e3134eeee072bd511e1c1f1823ceb1531a2) 5.5.0 ----- * [Add entities to `Twitter::DirectMessage`](https://github.com/sferik/twitter/commit/d911deb456cb2da6e14d0b3c69ba4d068ca85868) * [Add conversion methods to `Twitter::NullObject`](https://github.com/sferik/twitter/commit/4900fee474feaa1514c06d459a9da6d52c45a60e) 5.4.1 ----- * [Default to maximum number of tweets per request](https://github.com/sferik/twitter/commit/1e41b5d4dde8678f5968b57dafe9da63b092646c) 5.4.0 ----- * [Fix enumerable search interface](https://github.com/sferik/twitter/commit/e14cc3391ebe8229184e9e83806c870df3baa24c) 5.3.1 ----- * [Add `Twitter::Utils` module](https://github.com/sferik/twitter/commit/a1f47fbf19b859c8e680a0a92eff5e225a015090) ([@charliesome](https://twitter.com/charliesome)) * [Remove `Enumerable` monkey patch](https://github.com/sferik/twitter/commit/818b28d1621e843c0c6f9ef471076f4125623e52) ([@charliesome](https://twitter.com/charliesome)) * [Don't spawning a new thread if there's only one element](https://github.com/sferik/twitter/commit/c01ea8309c16eb77eeb368452df1dadd1e405532) * [Introduce meaningful constant names](https://github.com/sferik/twitter/commit/215c80890d702535de83d8f849885a95ec153920) ([@futuresanta](https://twitter.com/futuresanta)) * [Automatically flatten `Twitter::Arguments`](https://github.com/sferik/twitter/commit/a556028ace04cb00c3c2b9cb8f72f792a86f04d6) 5.3.0 ----- * [Add `UNABLE_TO_VERIFY_CREDENTIALS` error code](https://github.com/sferik/twitter/commit/6a47e715ef7935cd36a2f78ed877deb3c09af162) * [Don't suppress `Twitter::Error::Forbidden` in #follow and #follow!](https://github.com/sferik/twitter/commit/b949c0400dabc6774419025e7b131d0a18447c3a) * [Update memoizable dependency to ~> 0.3.1](https://github.com/sferik/twitter/pull/501) 5.2.0 ----- * [Replace `URI` with `adressable`](https://github.com/sferik/twitter/commit/7ea2f5390dc7456950f55c90aa4e48f29dcd4604) * [Make `Twitter::Streaming::FriendList` an array](https://github.com/sferik/twitter/commit/1a38e5e8182823c3060fc59c270ef754bd49a179) * [Add `Twitter::Streaming::DeletedTweet`](https://github.com/sferik/twitter/commit/084025b5e348bd33b4c29c6b9e40565c0e77319c) * [Add `Twitter::Streaming::StallWarning`](https://github.com/sferik/twitter/commit/b07ac50552f5063ee43a490fa40da8b6889df772) * [Add error code for "User is over daily status update limit"](https://github.com/sferik/twitter/commit/76c088d38e594703ee391f2a524142aa357b0972) * [`Twitter::Streaming::Client#site` can take a `String` or `Twitter::User`](https://github.com/sferik/twitter/commit/e3ad4f2da1f8fc82e1d3febbc2602f626bced8a8) * [Update `http_parser.rb` dependency to `~> 0.6.0`](https://github.com/sferik/twitter/commit/6d2f81bfc5bd469d558868a0f65356f30ca9f5e7) 5.1.1 ----- * [Custom equalizer for `Twitter::Place`](https://github.com/sferik/twitter/commit/79c76a9bed4f0170c8c09fe38ad4f0ee6aa4505e) 5.1.0 ----- * [Use `Addressable::URI` everywhere](https://github.com/sferik/twitter/commit/97d7c68900c9974a1f6841f6eed2706df9030d64) ([@matthewrudy](https://twitter.com/matthewrudy)) * [Allow use of `Twitter::Place` instead of `place_id`](https://github.com/sferik/twitter/commit/c2b31dd2385fefa30a9ddccf15415a713cf5953a) * [Allow use of `Twitter::Tweet` instead of `in_reply_to_status_id`](https://github.com/sferik/twitter/commit/6b7d6c2b637a074c348a56a51fb1e02252482fb2) 5.0.1 ----- * [Fix `buftok` delimiter handling](https://github.com/sferik/twitter/pull/484) * [Started handling streaming deletes](https://github.com/sferik/twitter/commit/8860b97bce4bc36086116f380a2771af3c199ea2) 5.0.0 ----- * [Remove `Twitter::API::Undocumented#status_activity` and `#statuses_activity`](https://github.com/sferik/twitter/commit/7f970810af251b2fe80c38b30c54485c55bd2034) * [Remove `Twitter::Tweet#favoriters`, `#repliers`, `#repliers_count`, and `#retweeters`](https://github.com/sferik/twitter/commit/77cc963381a68e8299ef6c6b7a306b440666d792) * [Remove identity map](https://github.com/sferik/twitter/commit/ec7c2df78a200e2b0b1cd3a40983c6ce9dee552d) * [Remove `Twitter::Cursor#all`](https://github.com/sferik/twitter/commit/72be4148b973153c6d3044c406b768ad832555ff) * [Remove `Twitter::Cursor#collection`](https://github.com/sferik/twitter/commit/9ae4621610ba6c26950e6b77f950f698cdfc8dac) * [Remove `Twitter#from_user`](https://github.com/sferik/twitter/commit/d2ae9f1cc1f5224bcdff06cda65fabdf9e7fbcb3) * [Remove `ClientError`, `ServerError`, and `ParserError`](https://github.com/sferik/twitter/commit/72843948d8a6f66345adc254fa91cf1097592b22) * [Remove global configuration](https://github.com/sferik/twitter/commit/239c5a8462fabb8c8ef9ec6a4cdded34561d572d) * [Remove ability to configure client with environment variables](https://github.com/sferik/twitter/commit/17e958579f65abf8932841f20058a5989abb994f) * [Remove Brittish English aliases](https://github.com/sferik/twitter/commit/572813b373a1c3001ff6c1bb729f092434d17bab) * [Replace `multi_json` with `json`](https://github.com/sferik/twitter/commit/e5fc292fee078567664acf6be4ed31a8ad077780) * [Rename `oauth_token` to `access_token`](https://github.com/sferik/twitter/commit/d360f8015c487c4599460abd0dd0bc7e59a522a3) * [Move `Twitter::Arguments` out of `REST::API` namespace](https://github.com/sferik/twitter/commit/8faa15309d906dd46fccc1b914ea4aa7a5da7c2d) * [Move `Twitter::Client` into `REST` namespace](https://github.com/sferik/twitter/commit/5b8c3fd243227888fc0886b0bf864ecd3a018f99) * [Add `Twitter::Streaming::Client`](https://github.com/sferik/twitter/commit/23afe90aa494229a4389c3e51f753102b34fc551) * [Add `Twitter::Error::AlreadyPosted`](https://github.com/sferik/twitter/commit/e11d2a27dd0dfbbe16c812a81b9c2ab2852a7790) * [Add `Twitter::REST::Client#reverse_token`](https://github.com/sferik/twitter/commit/39139c4df35b54b86fae29d1ac83a08f4aa293cd) * [Add `#url` methods to `Twitter::List`, `Twitter::Tweet`, and `Twitter::User`](https://github.com/sferik/twitter/commit/a89ec0f4e81097cc303b6c204e0375eb57ffd614) * [Add `Twitter::Place#contained_within` and `#contained_within?`](https://github.com/sferik/twitter/commit/23cc247bd20001ecbafa544bfb4546bdfc630429) * [Add `Twitter::GeoResults`](https://github.com/sferik/twitter/commit/be1a0a1425a6700267aae0f94a8835bff24dad56) * [Add `NullObject`](https://github.com/sferik/twitter/commit/17880f491726cee77c1cbcf914887e95d5e6ae7e) * [Add predicate methods for any possible `NullObject`](https://github.com/sferik/twitter/commit/eac5522edededacfc2a22d6f6879da43b8136d41) * [Always return `URI` instead of `String`](https://github.com/sferik/twitter/commit/341f68d1a46667a820754d30ffa6ec2f50034afc) * [Allow `URI` as argument](https://github.com/sferik/twitter/commit/c207567e674f108e4074e12c9e7343fb74e8a97c) * [Allow `String` in addition to `URI` objects](https://github.com/sferik/twitter/commit/89a46fbd3560109da87d5f87262dcf6bd2a336c6) * [Collection caching](https://github.com/sferik/twitter/commit/d484d7d7d7a0956f9b4fa6791a911ed7c9522cba) * [Implement `Twitter::Cursor#each` without making an extra HTTP request](https://github.com/sferik/twitter/commit/8eeff57f5c6d6ca0a6f1ff5ebc31e652a71fc150) * [Make `Twitter::SearchResults` enumerable](https://github.com/sferik/twitter/commit/d5ce8537164912e79dffc5a054ecd9ae6ecb8075) * [Make `Twitter::Base` objects immutable](https://github.com/sferik/twitter/commit/69b1ef7edad32398b778c8449bc3605739a6c59a) * [Missing key now raises `KeyError`, not `ArgumentError`](https://github.com/sferik/twitter/commit/f56698caff608527b9f3c2c3dd4c18306589cb3b) * [Use `equalizer` instead of manually overwriting #==](https://github.com/sferik/twitter/commit/a7ddf718b119e9c5fc8b87e6784e8c3304707a72) * [Give methods more natural names](https://github.com/sferik/twitter/commit/e593194fb7bd689fca561e6334db1e6af622590a) * [Fix `Twitter::SearchResults#rpp` return value](https://github.com/sferik/twitter/commit/28d73200490ac2755c3e68d8d273fbc64a8d7066) 4.8.1 ----- * [Ignore case of profile image extension](https://github.com/sferik/twitter/commit/73760610e959ae868de23de3da661d237fbcb106) * [Allow use of Twitter::Token in place of bearer token string](https://github.com/sferik/twitter/commit/13596bc60db36ecaf5a1df09ecb322d85d8c2922) * [Add Twitter::API::Undocumented#tweet_count](https://github.com/sferik/twitter/commit/795458a25ec7b143a995e7f2f2043e523c11961c) * [Add missing dependencies](https://github.com/sferik/twitter/commit/e07e034472df8b7aa44c779371cf1e25d8caa77d) ([@tmatilai](https://twitter.com/tmatilai)) 4.8.0 ----- * [Add `Twitter::SearchResults#refresh_url`](https://github.com/sferik/twitter/commit/6bf08c008de139aad3ec173461e8633bfa5a3bd8) ([@mustafaturan](https://twitter.com/mustafaturan)) * [Fix issue with wrong signature being generated when multipart data is posted](https://github.com/sferik/twitter/commit/65ab90a6d51755e5901434a3568f8163ca3e262f) ([@mustafaturan](https://twitter.com/mustafaturan)) * [Restore compatibility with Ruby 1.8.7](https://github.com/sferik/twitter/commit/fb63970c1bd19792955d092a38b6adf53b558ec7) * [Remove undocumented methods, retired in the APIpocalypse](https://github.com/sferik/twitter/commit/cf6a91f8df833dce5bffc7a0292402860e7d4da7) 4.7.0 ----- * [Add support for application-only authentication](https://github.com/sferik/twitter/pull/387) ([@paracycle](https://twitter.com/paracycle)) * [Add support for `Twitter::Entity::Symbol` entities](https://github.com/sferik/twitter/commit/a14a0cdc57ad5d7760392f71a280c7100a5b5936) ([@anno](https://twitter.com/anno)) * [Add `Twitter::API::OAuth#invalidate_token`](https://github.com/sferik/twitter/pull/372) ([@terenceponce](https://twitter.com/terenceponce)) * [Add `Twitter::API::Lists#lists_owned` method](https://github.com/sferik/twitter/commit/9e97b51c20aabf4485a91ae7db697ee3be131a89) * [Add `Twitter::API::Tweets#retweeters_ids` method](https://github.com/sferik/twitter/commit/8cf5b2ddf3d2647084496c7c3f205b2468d84cbe) * [Add `Twitter::SearchResults#next_results`](https://github.com/sferik/twitter/pull/365) ([@KentonWhite](https://twitter.com/KentonWhite)) * [Make consumer_key readable](https://github.com/sferik/twitter/commit/a318869c4827d6add781730cfb67fd2bdca5c584) * [Loosen required_rubygems_version for compatibility with Ubuntu 10.04](https://github.com/sferik/twitter/commit/41bd5655c2e7eca813807d742cb7fdec8f0bb027) * [Remove default SSL configuration options and override](https://github.com/sferik/twitter/commit/113b14bc05a9f8e513245fda057e7f16f8965357) 4.6.2 ----- * [Fix `SystemStackError: stack level too deep` when converting to JSON](https://github.com/sferik/twitter/issues/368) * [Add `Twitter::Tweet#favorite_count`](https://github.com/sferik/twitter/commit/de8a356d0d5e757bfe383b58744efa1c2d842b79) * [Add `Twitter::SearchResults#next_results?`](https://github.com/sferik/twitter/commit/d951db4bdaa1ef72383f2026ec6236a289ee9074) ([@KentonWhite](https://twitter.com/KentonWhite)) 4.6.1 ----- * [Convert nested classes in `Twitter::Base#attrs`](https://github.com/sferik/twitter/commit/e56c34c640189eb8b25a16994676a5e82b783cb3) ([@anno](https://twitter.com/anno)) 4.6.0 ----- * [Make `Twitter::Base#attrs` call methods if they exist](https://github.com/sferik/twitter/commit/ff4f2daccd1acdfddcea7139d4dd6490b55129db) * [Allow `Twitter::API::Tweets#oembed` and `Twitter::API::Tweets#oembeds` to take a URL](https://github.com/sferik/twitter/commit/0d986fa4b0c254e8c816bce086c3f6648d8fd3d7) ([@bshelton229](https://twitter.com/bshelton229)) * [Add `Twitter::Tweet#filter_level` and `Twitter::Tweet#lang` attribute readers](https://github.com/sferik/twitter/commit/283aafbe1219e55f19a76517d9edce497001fca2) * [Add "Quick Start Guide" to the `README`](https://github.com/sferik/twitter/commit/afc24ee1bd07f19ef7fb8fd6b85aede34f3ab156) ([@coreyhaines](https://twitter.com/coreyhaines)) 4.5.0 ----- * [Add no_retweet_ids](https://github.com/sferik/twitter/commit/cab8d6ebf3afdbd24463932262798a132d70a6f1) ([@tibbon](https://twitter.com/tibbon)) 4.4.4 ----- * [Fix documentation bugs](https://github.com/sferik/twitter/commit/45213d16efda0bd78e8c4c3c80892b824393e37c) * [Relax `multi_json` dependency](https://github.com/sferik/twitter/commit/46327e740a03ec783cb62863d40eef5efa68c0cb) 4.4.3 ----- * [Add `Twitter::API::Arguments` class; remove `extract_options!` helper method](https://github.com/sferik/twitter/commit/65972c599ced8da27fbbfa72aeead92464355583) * [Ensure credentials set via `Twitter.configure` are of a valid type](https://github.com/sferik/twitter/commit/fc152dbe56b99639896bcaaf7fe158659e8c50b9) * [Delegate `Twitter::Tweet#profile_image_url` and `Twitter::Tweet#profile_image_url_https` to `Twitter::Tweet#user`](https://github.com/sferik/twitter/commit/7bd6f8f589a91a8c82363d07da77ec012890c6cb) * [Fix timeout bug; lock `faraday` dependency to version < 0.10](https://github.com/sferik/twitter/commit/01e2781e4a78137ca4e5e6d3e4faf2552ee9ec76) 4.4.2 ----- * [Fix to `Twitter::API::FriendsAndFollowers#friends` and `Twitter::API::FriendsAndFollowers#followers`](https://github.com/sferik/twitter/commit/d97438f5de89a1a15ad8ff5e67e8e0c7d412911f) ([@nbraem](https://twitter.com/nbraem)) * [Alias `Twitter::DirectMessage#text` to `Twitter::DirectMessage#full_text`](https://github.com/sferik/twitter/commit/dde92816beac5076507b3c0fb5b036222e2a4889) * [Remove `Kernel#calling_method`](https://github.com/sferik/twitter/commit/045d6e17178520641509f884ed4ce4e4f2f765fb) 4.4.1 ----- * [Do not modify `Thread.abort_on_exception`](https://github.com/sferik/twitter/commit/6de998ced1f3dce97a24e500ecf2348192ae9316) 4.4.0 ----- * [Add `Twitter::API::FriendsAndFollowers#friends` and `Twitter::API::FriendsAndFollowers#followers`](https://github.com/sferik/twitter/commit/03e1512a8e5e589771414aaf46db34718f1469ce) ([@tibbon](https://twitter.com/tibbon)) * [Add `method` parameter to `Twitter::API::Users#users`](https://github.com/sferik/twitter/commit/4885c8df5f36fcbe39bd435ef12b6e0bed06dcb5) ([@thomasjklemm](https://twitter.com/thomasjklemm)) * [Correct endpoint of `Twitter::Client#report_spam` method](https://github.com/sferik/twitter/commit/e59c0c4c31a9f7eed3d202c276628a3ea0df6d28) ([@uasi](https://twitter.com/uasi)) * [Refactor `Twitter::Request` class](https://github.com/sferik/twitter/commit/2d70b64674bdc204c85c47327afa571f9641e545) * [Remove `Array` core extensions](https://github.com/sferik/twitter/commit/2d00f99f4ac43e13e24bf90fcc813252175273f2) * [Remove `String` core extensions](https://github.com/sferik/twitter/commit/5a9144c3f5104a7ee13b4c50f32cf71151004023) * [Remove `Hash` core extensions](https://github.com/sferik/twitter/commit/0a8591efce268119e29623317382a1f2de2d0aa6) * [Do not `require 'identity_map'` by default](https://github.com/sferik/twitter/commit/da38eec199222ae2292650313ce153e2b3986369) * [Automatically define inquirer methods](https://github.com/sferik/twitter/commit/a6da19baf82656af118a4ec27e845b46c22a3d7e) 4.3.0 ----- * [Add Twitter::API#profile_banner](https://github.com/sferik/twitter/commit/5879ef3fcc486ac3849426ef0d44ee0288ed9599) 4.2.0 ----- * [Use new resource for `Twitter::API#retweets_of_me`](https://github.com/sferik/twitter/commit/d88ca1e91af06e748c31dcda287326028cf28258) * [`Twitter::API#favorite` no longer raises `Twitter::Error::Forbidden`](https://github.com/sferik/twitter/commit/65c01133a96106a6b0c61bc16cb2ffec38fa5e25) * [`Twitter::API#retweet` no longer raises `Twitter::Error::Forbidden`](https://github.com/sferik/twitter/commit/f1322ab12c573229ea3dc8decda2e2ea8b36fc31) * [Add `Twitter::Error::AlreadyFavorited`](https://github.com/sferik/twitter/commit/34710927e00d4dc5abc049bfc198bdd337fba1bd) * [Add `Twitter::Error::AlreadyRetweeted`](https://github.com/sferik/twitter/commit/2a231a0888dcd65dbef2dc92571e06d50f845cca) 4.1.2 ----- * [Add abort_on_exception to `Enumerable#threaded_map`](https://github.com/sferik/twitter/commit/15c9a7c221f24226c1003b76b287d2b2ed9306cb) ([@aheaven87](https://twitter.com/aheaven87)) 4.1.1 ----- * [Fix bug in `Twitter::Tweet#full_text`](https://github.com/sferik/twitter/commit/9646a5bed6d2d119b1cc1d5757113988de2516d6) * [Add `Twitter::Tweet#favouriters`, `Twitter::User#favoriters_count`, and `Twitter::User#favouriters_count` aliases](https://github.com/sferik/twitter/commit/60fce1ea0cdf8239262ca46588b4fe766f07288e) 4.1.0 ----- * [Handle new API v1.1 list response format](https://github.com/sferik/twitter/commit/2aace25fcf946de995e5ce1788f24ad35bc79438) 4.0.0 ----- * [Update all endpoints to Twitter API v1.1](https://github.com/sferik/twitter/commit/f55471a03dd0a428d5c0aa57a3c34809dbfde5cf) * [Replace `per_page` parameter with `count`](https://github.com/sferik/twitter/commit/e112ce6f779ca2a204a86caf71a11125a65de961) * [Use HTTP POST for `users/lookup`](https://github.com/sferik/twitter/commit/ff68ff81a8586d70fa021afaed6ff261d2a4b178) * [Add error classes for new Twitter API v1.1 response codes](https://github.com/sferik/twitter/commit/154b00f8c0cbbcf9177d367f19a90ef256d5b6a4) * [Cache `screen name` in an instance variable to avoid API calls](https://github.com/sferik/twitter/commit/dfc5641511bd99da857bf524af8449afb1843f8e) * [Update `Twitter::RateLimit` class for API v1.1](https://github.com/sferik/twitter/commit/540cbb2d90f3b2c53f09a9727cbad1d2489e3fae) * [Remove search endpoint](https://github.com/sferik/twitter/commit/37610fe6d54686238aedaee53914e70e67040d59) * [Remove media endpoint](https://github.com/sferik/twitter/commit/e4a70152b1a6f00299d3b659497c02adb791c18f) * [Disable identity map by default](https://github.com/sferik/twitter/commit/c6c5960bea998abdc3e82cbb8dd68766a2df52e1) * [Remove deprecated `RateLimit.instance` method](https://github.com/sferik/twitter/commit/bf08485942428c26ba595c4e092dcdac1ec823ff) * [Removed deprecated `Twitter::Tweet#oembed` method](https://github.com/sferik/twitter/commit/16f09cf7053f2109a740ea43461e89b504335c50) * [Rename resources for v1.1](https://github.com/sferik/twitter/commit/03c4c143082fc1e7b2355d77d98da77f401fddd4) * [Remove notification methods; use `Twitter::API#friendship_update` instead](https://github.com/sferik/twitter/commit/3b2d2b86599b4d054e7daa0d69b5e088cd776450) * [Remove `Twitter::API#end_session`](https://github.com/sferik/twitter/commit/23668bc68209a032e9193ade1cdf6d8462980954) * [Add `Twitter::Tweet#retweet?` method and `Twitter::Tweet#retweet` alias](https://github.com/sferik/twitter/commit/1e6ad051f488cae7bf18a45eea8008b448323fe4) * [Major changes for Twitter API v1.1](https://github.com/sferik/twitter/commit/eab13be653c1b54aa679dbf16f252a2b6977b80e) * [Remove `Twitter::API#no_retweet_ids`](https://github.com/sferik/twitter/commit/e179ab6d81c1c4931b67940463f414693671fb96) * [Remove `Twitter::API#retweeted_to_user`](https://github.com/sferik/twitter/commit/e179ab6d81c1c4931b67940463f414693671fb96) * [Remove `Twitter::API#trends_daily`](https://github.com/sferik/twitter/commit/e179ab6d81c1c4931b67940463f414693671fb96) * [Remove `Twitter::API#trends_weekly`](https://github.com/sferik/twitter/commit/e179ab6d81c1c4931b67940463f414693671fb96) * [Remove `Twitter::API#rate_limited?`](https://github.com/sferik/twitter/commit/b2ec0107bc1a2a73bd6b004348f1e6413822845c) * [Remove `Twitter::Client#rate_limit`](https://github.com/sferik/twitter/commit/3a4be52a50ad20875b1cf48871f7754944593c95) * [Remove `Twitter::API#rate_limit_status`](https://github.com/sferik/twitter/commit/ffebee6638875d5cc8363599fcfab2058bf1baf9) * [Remove `Twitter::API#accept`](https://github.com/sferik/twitter/commit/e4bcec169faafb78772e60d6cdeb5583a40f32e3) * [Remove `Twitter::API#deny`](https://github.com/sferik/twitter/commit/e4bcec169faafb78772e60d6cdeb5583a40f32e3) * [Remove `Twitter::API#related_results`](https://github.com/sferik/twitter/commit/e4bcec169faafb78772e60d6cdeb5583a40f32e3) * [Remove `Twitter::API#recommendations`](https://github.com/sferik/twitter/commit/e4bcec169faafb78772e60d6cdeb5583a40f32e3) * [Remove `Twitter::API#network_timeline`](https://github.com/sferik/twitter/commit/93c65f25eafb3051a86140ab7e980d03431040f1) 3.8.0 ----- * [Do not attempt to parse redirects](https://github.com/sferik/twitter/commit/30ee1c733cfea091f60b18a51d01eab1d0cc6f30) ([@twoism](https://twitter.com/twoism)) * [Add profile banner methods to `Twitter::User` class](https://github.com/sferik/twitter/commit/d0200d72e71639ad3e7f7e2b7243889f2f39e8b3) * [Add `Twitter::Error::UnprocessableEntity`](https://github.com/sferik/twitter/commit/fca4d174e8237655c82992edf67fcc846497fd54) * [Add `Twitter::API#update_profile_banner` and `Twitter::API#remove_profile_banner`](https://github.com/sferik/twitter/commit/74b17f58549b06885ab49c56271cb571886e67f0) * [Add `Twitter::Tweet#reply?`](https://github.com/sferik/twitter/commit/029d815815c99a7921a9b396c6c45b9f4cbd8fc3) 3.7.0 ----- * [Remove support for `IO` hash syntax](https://github.com/sferik/twitter/commit/bfe842d714a77b8edda90d0e2b547be434dc0148) * [Allow `Tempfile` to be passed to `Twitter::API#update_with_media`](https://github.com/sferik/twitter/commit/79dc8197250f0416a9a44524be0aaea9d3f31d83) * [Set `Content-Type` header to `multipart/form-data` when uploading a file](https://github.com/sferik/twitter/commit/24f759b7a128de2bceff27ee0e4699e8d927e5a5) * [Do not attempt to parse bodies that only contain spaces](https://github.com/sferik/twitter/commit/2a191ea051b20a492a3325413dcdca11b593ba50) * [Add `Twitter::Tweet#entities?` method](https://github.com/sferik/twitter/commit/43221b1d5fc1a3333a4718c79fd95f9ad42f143e) * [Add `Twitter::User#status?` method](https://github.com/sferik/twitter/commit/255dc305ed886ac1e062b96001cb09484e5ad98d) 3.6.0 ----- * [Rename Twitter::Status to Twitter::Tweet](https://github.com/sferik/twitter/commit/6d25887ecd371b9deaf4b70bc2f2ee1e6bff98bc) * [Make Twitter::Cursor an Enumerable](https://github.com/sferik/twitter/commit/2582f2ed3518a11bcad150778da18618dd9a0d37) * [Always define respond_to_missing? when overriding method_missing](https://github.com/sferik/twitter/commit/23cfaf9dec4bc58fd9b3fd8366fb0e087c7f1e51) 3.5.0 ----- * [Add `Twitter::API#related_results`](https://github.com/sferik/twitter/commit/15fb81202dde3bbf4d64407cb79163095603cdbe) * [Alias `Twitter::API#status_destroy` to `Twitter::API#tweet_destroy`](https://github.com/sferik/twitter/commit/ec16ed28538b2cf828183999df90da1942b7bcd6) * [Alias `Twitter::API#status_activity` to `Twitter::API#tweet_activity`](https://github.com/sferik/twitter/commit/ccbdc6776a6780277e6ec813d3ed579f42440631) * [Move `IdentityMapKeyError` under `Twitter::Error` namespace](https://github.com/sferik/twitter/commit/f1491d2fe1827140ea42b2618d0a25dc03110394) 3.4.1 ----- * [Prevent MultiJson::DecodeError error from bubbling up](https://github.com/sferik/twitter/commit/d870b7b8605e48bb0cd40e4b60684705ec06a846) * [Add British aliases for "favorite" methods on `Twitter::Status`](https://github.com/sferik/twitter/commit/07b1f410a8865ea3736d53d637fb513b4731a3ec) * [Correctly handle `nil` response body](https://github.com/sferik/twitter/commit/7fc785fa2ad43187fee2ba4808ffb3d09e8533dc) 3.4.0 ----- * [Refactor retweeted_to and retweeted_by into multiple methods](https://github.com/sferik/twitter/commit/7600cc3d529599cefc8d9c715e5f308ac4ca7319) 3.3.1 ----- * [Fix authentication bug](https://github.com/sferik/twitter/commit/b1fc6eac21293f2f87df9ca6684c30ef8155137f) 3.3.0 ----- * [Refactor `Twitter::RateLimit` class to be non-global](https://github.com/sferik/twitter/commit/6e9da0d0b8ae61e077eb631514922635a78951a7) * [Combine `Twitter::RateLimit#retry_after` and `Twitter::RateLimit#reset_in` into a single method](https://github.com/sferik/twitter/commit/1702f05a60016013c198626339c57d53031cb17d) * [Create proper interface for `Twitter::IdentityMap`](https://github.com/sferik/twitter/commit/8996c37a17484dd8ffe0d6a0ab278eb0b4e5e1ca) * [Move `Twitter::Point` and `Twitter::Polygon` classes under `Twitter::Geo` namespace](https://github.com/sferik/twitter/commit/059cc5545195f99ba1b484e8359b7246f29be37e) * [Move `Twitter::Photo` class under `Twitter::Media` namespace](https://github.com/sferik/twitter/commit/979ed718c6c31140a5698cbb6c7bd311b799f39e) 3.2.0 ----- * [Make identity map configurable](https://github.com/sferik/twitter/pull/288) * [Decouple identity map from object instantiation](https://github.com/sferik/twitter/pull/286) * [Make `IdentityMapKeyError` inherit from `IndexError`](https://github.com/sferik/twitter/commit/5503704c8601fa533299e22b49040cd073b85a6a) * [Break up `Twitter::User` class into `Twitter::BasicUser`, `Twitter::SourceUser`, `Twitter::TargetUser`, and `Twitter::User`](https://github.com/sferik/twitter/commit/9d4f1e5dc4001adb124d07584f64322555e0e73c) 3.1.0 ----- * [Add size option to `Twitter::User#profile_image_url` and `Twitter::User#profile_image_url_https`](https://github.com/sferik/twitter/commit/bd4c63c327308572f2d4b7ae266216d50ee35beb) * [Make object equality more strict](https://github.com/sferik/twitter/commit/537a5463d568e9a07ef5de5ce4dcad701b068ff3) * [Pass options from Twitter::Client.user to Twitter::Client.verify_credentials](https://github.com/sferik/twitter/commit/8d99cfdbc7614690769c1682664cbe8cd9ea9c93) 3.0.0 ----- * [All returned hashes now use `Symbol` keys instead of `String` keys](https://github.com/sferik/twitter/commit/d5b5d8788dc0c0cef6f2c28e6fa2dc6ffcf389eb) * [`Twitter::Client` methods now allow multiple arguments and return an `Array`](https://github.com/sferik/twitter/commit/78adf3833ebfcafda48d31dee7befdcfa76f2971) * [`Twitter::Client#users` can now return more than 100 `Twitter::User` objects](https://github.com/sferik/twitter/commit/296a8847aa9bea0881369649a91e38fc2e9b3076) * [`Twitter::Client#search` now returns a `Twitter::SearchResult` object instead of an array of `Twitter::Status` objects](https://github.com/sferik/twitter/pull/261/files) ([@wjlroe](https://twitter.com/wjlroe)) * [`Twitter::Client#follow` now checks to make sure a user is not already being followed before following](https://github.com/sferik/twitter/commit/24ffbca370f6957bc9a6c43cb6a1ee55cade7bb8) * [Add `Twitter::Client#follow!` to follow a user without checking whether they are already being followed](https://github.com/sferik/twitter/commit/24ffbca370f6957bc9a6c43cb6a1ee55cade7bb8) * [Add an identity map](https://github.com/sferik/twitter/commit/218479f71c861db79ccce8e12c4cb59d0a63cc77) * [Attempt to pull credentials from the environment when not specified](https://github.com/sferik/twitter/commit/32e3fde7ccc7aea15b24159302d7c0fd934a6a0a) * [Add default timeout options](https://github.com/sferik/twitter/commit/bb8a15d60e930233050e96964823b2f569e0943f) * [Middleware is now specified as a `Faraday::Builder`](https://github.com/sferik/twitter/commit/2bd5010fc38b235ee9cc09b75e1ae89f23409f94) * [Faraday errors are now captured and re-raised as a `Twitter::Error::ClientError`](https://github.com/sferik/twitter/commit/ccf3ddeb4cae937fdf3335546c17884472855149) * [Replace `Twitter::Error.ratelimit` methods with the singleton `Twitter::RateLimit` class](https://github.com/sferik/twitter/commit/4c63a7378305df791b6fbcd3d3beb83ccd360f95) * [Remove explicit proxy and user agent configuration](https://github.com/sferik/twitter/commit/f6e647f73eaa0f39b4306256789ded414ea9a8c2) * [Remove untested gateway middleware](https://github.com/sferik/twitter/commit/7e501a99fe15ba9be69d2b791fc1d99c1904542b) * [Remove deprecated `Twitter::Status#expanded_urls` method](https://github.com/sferik/twitter/commit/50d2613b1ade92c820f553d6e8389a49ec53dac1) 2.5.0 ----- * [Remove `Active Support` dependency](https://github.com/sferik/twitter/compare/v2.4.0...v2.5.0) 2.4.0 ----- * [`Twitter::User` objects can be used interchangeably with user IDs or screen names](https://github.com/sferik/twitter/commit/2dd5d32ca1a67a88d61d2f762e011295cab8a9bd) * [`Twitter::List` objects can be used interchangeably with list IDs or slugs](https://github.com/sferik/twitter/commit/621e1ee428ea9fea024b26c8775baa47a7c235d9) 2.3.0 ----- * [Merge `Twitter::Client` modules into a monolithic `Twitter::Client` class](https://github.com/sferik/twitter/commit/396bb15fe8a273e01370e6a22efbf1e7f6a7805e) * [Add `Twitter::Status#full_text`](https://github.com/sferik/twitter/commit/a03eb945df6a58f92cc832f5ffc1c8973c57339e) * [Add `profile_image_url_https` accessor to `Twitter::Status`](https://github.com/sferik/twitter/commit/5991fa395fcd94bb88e88ed6c9bfae51896978b5) ([@terryjray](https://twitter.com/terryjray)) * [Make `Status#screen_name` return `from_user` attribute and vice versa](https://github.com/sferik/twitter/commit/82afc66a342c51258f80d1ba26959358be1a9c73) * [Add `created_at` attribute to `Twitter::List`](https://github.com/sferik/twitter/commit/6d408ead1cfa83dd0539fe771495b5f5e594282e) * [Add ability to pass a user to `Twitter::Client#recommendations`](https://github.com/sferik/twitter/commit/19f5796ba618e634ed56e936eb8f3bcb9822124c) * [Alias `trends` to `local_trends`](https://github.com/sferik/twitter/commit/b4eb89c33a6b00f9fd685fd7dc95b79ee9e403bb) ([@Tricon](https://twitter.com/Tricon)) 2.2.0 ----- * [Don't create a new Faraday instance on every request](https://github.com/sferik/twitter/pull/233/files) * [Add `Twitter::Mention#source`](https://github.com/sferik/twitter/commit/6829994f4d8ca1e6d444fa75dc78c06bd01a5d74) * [Add `Twitter::ListMemeberAdded`](https://github.com/sferik/twitter/commit/b40c79d59e8a4cfc71078127542c1f434c3ca517) ([@aamerabbas](https://twitter.com/aamerabbas)) * [Add `entities` attribute to `Twitter::Status`](https://github.com/sferik/twitter/pull/245/files) ([@tomykaira](https://twitter.com/tomykaira)) * [Add `Twitter::Client#list_remove_members`](https://github.com/sferik/twitter/commit/025c5281c9e695ad7fd21bcc34d4df4aaf0f3fb7) 2.1.0 ----- * [Add `in_reply_to_status_id` attribute to `Twitter::Status`](https://github.com/sferik/twitter/commit/9eeb74a5f724681dad1a35b3e052ea78142b532f) * [Remove `twitter-text` dependency](https://github.com/sferik/twitter/commit/9645fde056353a4fe85a64632ed58f043cfe8871) * [Add `Twitter::Status#retweeted_status`](https://github.com/sferik/twitter/commit/617ebccb890f612f0cd8883a524d199e838a58a0) * [Add optional parameter hash to `Twitter::Client#oembed`](https://github.com/sferik/twitter/commit/ce9cf63f84c74d3c0f616524f6674b58e2a45377) * [Fix `Twitter::Status` object returned by `Twitter::Client#retweet`](https://github.com/sferik/twitter/pull/228/files) * [Add `from_user_name` and `to_user_name` attributes to `Twitter::Status`](https://github.com/sferik/twitter/commit/d60ac38e4a1623688a5ac8a29b6a4e79295fe9d1) 2.0.0 ----- * Replace `Hashie::Mash` with custom classes and Ruby primitaives * Any instance method that returns a boolean can now be called with a trailing question mark * [The `created_at` instance method now returns a `Time` instead of a `String`](https://github.com/sferik/twitter/commit/b92b0ca44af35fc9f72b81690a8aa72fa4bdfbce#diff-5) * [Replace the `Twitter::Search` class with `Twitter::Client#search`](https://github.com/sferik/twitter/commit/591cbf1be86707584de0548365cc71c795683b2d) * [Add object equivalence](https://github.com/sferik/twitter/commit/a52e0d2296db55fc0d1dcc184fb6eacba6183642) * [`Twitter::Client#totals` has been removed. Use `Twitter::Client#user` instead]((https://github.com/sferik/twitter/commit/1ad0928a6232324072e8d960242a99949016cf50) * [`Twitter.faraday_options` has been renamed to `Twitter.connection_options`](https://github.com/sferik/twitter/commit/221cb650ba126effb3447a3b9e0d58da2bdb507e) * [All error classes have been moved inside the Twitter::Error namespace](https://github.com/sferik/twitter/commit/1245742f030415ebf5f1054e85fe93bca85cddfb) * [Remove support for XML response format](https://github.com/sferik/twitter/commit/e60b9cac2b14d11dcc703c87b9a74328c173f35a) * [Remove all deprecated methods](https://github.com/sferik/twitter/commit/5f59f1935d31df2756fd5bc43ae0f7e57879a5a4) 1.7.2 ----- * [Update multi_xml dependency to 0.4.0](https://github.com/sferik/twitter/commit/01105b7e7f211a140ce61bdbe5e3fc7d68c9b301) ([@masterkain](https://twitter.com/masterkain)) * [Add support for passing options directly to faraday](https://github.com/sferik/twitter/commit/4cc469761ea9e663abaf761e061a89e848ce9beb) ([@icambron](https://twitter.com/icambron)) * [Deprecate Trends#trends_current and remove the XML response format](https://github.com/sferik/twitter/commit/f9f0c1f1ddc5057cdb655f645970f771e1ebc702) 1.7.1 ----- * [Refactor connection and requests to accept options](https://github.com/sferik/twitter/commit/f7570de9f38f57e9fc6f15aa275f308a5ea69bc7) ([@laserlemon](https://twitter.com/laserlemon)) * [Include X-Phx header for internal APIs only](https://github.com/sferik/twitter/compare/f7570de9...34f29fe6) ([@laserlemon](https://twitter.com/laserlemon)) 1.7.0 ----- * [Add `Account#totals` and `Account#settings`](https://github.com/sferik/twitter/commit/6496e318ec49f5b054f93a13ea91b4f1d4bb58c0) ([@gazoombo](https://twitter.com/gazoombo)) * [Add `Activity#about_me` and `Activity#by_friends`](https://github.com/sferik/twitter/commit/35e96108c450e76611137feed841f595d7214533) * [Add `Help#configuration` and `Help#language`](https://github.com/sferik/twitter/commit/a0c88b43990a64b22b82e32301f2b91c094ab721) ([@anno](https://twitter.com/anno)) * [Add `Search#images_facets` and `Search#video_facets`](https://github.com/sferik/twitter/commit/1cc1f3cd75128f5e2c802fe95524a1afffc3962b) * [Add `Search#search`](https://github.com/sferik/twitter/commit/327724b8edcefaf726d9d92c7e9d8f5380003097) * [Add `Statuses#media_timeline`](https://github.com/sferik/twitter/commit/f1a78ea183663e9853b4b5dc128dee9ce79391a3) * [Add `Tweets#update_with_media`](https://github.com/sferik/twitter/commit/cdf717b366a9ac73133a6f576391c4c3f46f9bb3) ([@JulienNakache](https://twitter.com/JulienNakache)) * [Add `Urls#resolve`](https://github.com/sferik/twitter/commit/b8d92b9f3b9669cc7267774b563bae543295350e) * [Add `User#contributees`](https://github.com/sferik/twitter/commit/2b88f819775b9a90f4969fe03dc66ef1ecc2fb38) ([@GhettoCode](https://twitter.com/GhettoCode)) * [Add `User#contributor`](https://github.com/sferik/twitter/commit/1bb9f2000a322f9026681b78d1e8966409a333a2) * [Add `User#recommendations`](https://github.com/sferik/twitter/commit/52d13cd4711931539686a483daa15666bae297a5) * [Add `User#suggest_users`](https://github.com/sferik/twitter/commit/15dc1812f270be0f635f65091044d7cbb88cae4d) * [Move API version out of endpoint and into path](https://github.com/sferik/twitter/commit/d156fd54a8591b44b22f72890099fce0ce4d58c8) 1.6.2 ----- * [Update hashie dependency to 1.1.0](https://github.com/sferik/twitter/commit/fb86f58203fb7c7dfec30068de663624416e955f) 1.6.1 ----- * [Update faraday dependency to 0.7.0](https://github.com/sferik/twitter/commit/59a50a8f08999fa7a90b0e332171079a137c6752) ([@ngauthier](https://twitter.com/ngauthier)) 1.6.0 ----- * [Add a custom OAuth implementation](https://github.com/sferik/twitter/commit/5d2e7cc514b13842d7fe02fa7bc724136ef9f276) ([@NathanielBarnes](https://twitter.com/NathanielBarnes)) * [Unify naming of boolean methods](https://github.com/sferik/twitter/commit/b139e912ef70b55f7af7c03a27346f15ff472c7e) * [Add convenience method to determine whether a user exists](https://github.com/sferik/twitter/commit/a7fc8616e5733e4c64f98f2ff5562e74e025a1f3) * [Fully remove `Rash`](https://github.com/sferik/twitter/commit/3b39696902cc05a29bac35e7465ef352264b694d) 1.5.0 ----- * [Change interface to make `Twitter` module behave more like a class](https://github.com/sferik/twitter/commit/df5247de490f7448c35c8f84112a9e7c14ce4057) 1.4.1 ----- * [Update multi_json dependency to version 1.0.0](https://github.com/sferik/twitter/commit/9ab51bc5536e5eebea10283d771cfe57e2fccbc7) 1.4.0 ----- * [Update list methods to use new resources](https://github.com/sferik/twitter/compare/v1.3.0...v1.4.0) ([@erebor](https://twitter.com/erebor)) * [Fix copy/paste bug in `Error#ratelimit_remaining`](https://github.com/sferik/twitter/commit/b74861e75f0cdf7eaafc37162e2f040ae27db002) 1.3.0 ----- * [Update faraday dependency to version 0.6](https://github.com/sferik/twitter/commit/2b29c2109d2ca95a699ebe3822b98091a96256d8) * [Include response headers when raising an error](https://github.com/sferik/twitter/commit/6db6fe2c2504f566333c6742979436580f5264d4) * [Fix typo in README for accessing friends and followers](https://github.com/sferik/twitter/commit/2043ab4a6b723cac2a8ed77e26a4b0e3f4f55b03) ([@surfacedamage](https://twitter.com/surfacedamage)) 1.2.0 ----- * [Respect global load path](https://github.com/sferik/twitter/commit/6a629a6a06e115388cce6f1de04f45a4b0707cac) * [Use map and `Hash[]` instead of `inject({})`](https://github.com/sferik/twitter/commit/a2b0b51618f40b526f554c019a6c83b0bf9a8cdf) ([@wtnelson](https://twitter.com/wtnelson)) * [Check headers for `Retry-After` in absence of `retry-after`](https://github.com/sferik/twitter/commit/924253214efcedfeb80b4c6fe57dcbb2a7470177) ([@wtnelson](https://twitter.com/wtnelson)) * [Fix name of `#list_add_members` resource](https://github.com/sferik/twitter/commit/3adcc1592240be2679f0a2c7d0c390b574abe8f1) * [Don't strip @ signs from screen names](https://github.com/sferik/twitter/commit/38c9dd0a720ea857ff6220b28f66db4c780a7fda) * [Make `#places_similar` method return a token](https://github.com/sferik/twitter/commit/351e2240717a34d6575a802078077a1681fa4616) ([@nicolassanta](https://twitter.com/nicolassanta)) 1.1.2 ----- * [Opt-in for testing with rubygems-test](https://github.com/sferik/twitter/commit/7d92afc138cac1b751b17682fd166b2603f804c6) * [Add support for `Twitter.respond_to?`](https://github.com/sferik/twitter/commit/ce64c7818f9b62cf91f1fa5dc2e76a9d4205cd2e) ([@fernandezpablo](https://twitter.com/fernandezpablo)) 1.1.1 ----- * [Don't set cached `screen_name` when creating a new API client](https://github.com/sferik/twitter/commit/ceeed993b16f95582c648e93de03738362ba1d7b) 1.1.0 ----- * [Overload all methods that require a `screen_name` parameter](https://github.com/sferik/twitter/compare/ecd647e414ac0b0cae96...59cf052ca646a2b79446) ([@gabriel_somoza](https://twitter.com/gabriel_somoza)) * [Rename `user_screen_name` to `screen_name`](https://github.com/sferik/twitter/commit/4fb4f8a28c967f7d5a2cf295b34548a346900cfd) ([@jalada](https://twitter.com/jalada)) * [Handle error returns from lookup](https://github.com/sferik/twitter/commit/0553cdbe262f006fae149309ce51a03985ed8fd2) ([@leshill](https://twitter.com/leshill)) * [Use 'tude' parameter for attitudes](https://github.com/sferik/twitter/commit/8db1bf9dadec3a660a281c94cab2fc335891ce30) ([@ALindeman](https://twitter.com/ALindeman)) * [Add Enumerable mixin to Twitter::Search](https://github.com/sferik/twitter/commit/c175c15d320d10db542ebb4cc13c5f5d583c89c4) ([@ALindeman](https://twitter.com/ALindeman)) 1.0.0 ----- * [Fix conditional inclusion of jruby-openssl in Ruby 1.9](https://github.com/sferik/twitter/commit/e8e9b1d7232bf69ac5e217e2e18dc9c8e75f2fc4) * [Allow users to pass in screen names with leading '@'](https://github.com/sferik/twitter/commit/fc3af84e0d7358ddacf49acefe7d950ac11983e0) * [UTF-8 encode `Utils` module](https://github.com/sferik/twitter/commit/4a62f181c2ae7b931e17fcfa6532b3a3f0ed0c8e) * [Copy-edit documentation](https://github.com/sferik/twitter/commit/7873b0306d5fb1f27e4061cd024ab43589441fa4) ([@dianakimball](https://twitter.com/dianakimball)) * [Add methods to `Search` class](https://github.com/sferik/twitter/commit/1871913342a5621edfebb9a7c8be705608e082d5) * [Changes to `Search` class](https://github.com/sferik/twitter/commit/e769fabc0232cbbcb9d0fa5a07277fb9f50b17c8) * [Add proxy support](https://github.com/sferik/twitter/commit/1df33b7495093bc1f136d61b8aac9c9038414bc5) * [Make `#suggestions` method consistent with Twitter API documentation](https://github.com/sferik/twitter/commit/8393a06a9e8ca03be9adffdbfd042c176e2f6597) * [Rename default user agent](https://github.com/sferik/twitter/commit/2929e533f441bea2313882c4e0ed5593fe999491) * [Make all global settings overrideable at the class level](https://github.com/sferik/twitter/commit/66f3ac223d6f0822c8b3acd4cdcd8c84c8dacfe0) * [Expose a property in EnhanceYourCalm for HTTP header "Retry-After"](https://github.com/sferik/twitter/commit/7ab91f9d26351f52d3c803bb191d33bdacff5094) ([@duylam](https://twitter.com/duylam)) * [Merge `Base`, `Geo`, `Trends`, and `Unauthenticated` into `Client` class](https://github.com/sferik/twitter/commit/eb53872249634ee1f0179982b091a1a0fd9c0973) ([@laserlemon](https://twitter.com/laserlemon)) * [Move examples into README](https://github.com/sferik/twitter/commit/96600cb5611965788c41b3788668188d37e16803) * [Rename `Twitter.scheme` to `Twitter.protocol`](https://github.com/sferik/twitter/commit/512fcdfc22b796d39dd07c2dcc712aa48131d7c6) * [Map access key/secret names to SimpleOAuth correctly](https://github.com/sferik/twitter/commit/9fa5be3a9e0b7f7dcb4046314d8c6bc41f4f063d) * [Improved error handling by separating HTTP 4xx errors from HTTP 5xx errors, so HTTP 4xx errors can be parsed first](https://github.com/sferik/twitter/commit/f26e7875980a7b2b16285c31198601b92ac5cbb6) * [Add tests for XML response format](https://github.com/sferik/twitter/commit/54c4b36b8f9a5a0ad7c741e53409a03a7ddaade7) * [Switch from httparty to faraday HTTP client library](https://github.com/sferik/twitter/commit/80aff88dae11d64673fe4e025cc8f065a6796345) * [Switch from oauth to simple_oauth for authentication](https://github.com/sferik/twitter/commit/76cfe3749e56b2b486f2b5ffc9aa7f437cb2db29) ([@laserlemon](https://twitter.com/laserlemon)) * [Handle errors in faraday middleware](https://github.com/sferik/twitter/commit/466a0d9942d1c0c0c35c6302951087076ddf4b82#diff-2) * [Add #NewTwitter methods and tests](https://github.com/sferik/twitter/commit/0bfbf6352de9bdda2b93ed053a358c0cb8e78e8f) * [Fix tests that assume position in a `Hash`](https://github.com/sferik/twitter/commit/c9f7ed1d9106807aa6fb27d48a92f4b92d0594a7) ([@duncan](https://twitter.com/duncan)) * [Enable SSL by default (add option to disable SSL)](https://github.com/sferik/twitter/commit/c4f8907d6595f93d63bc84d6575920a14774e656) * [Use HTTP DELETE method instead of HTTP POST for all destructive methods](https://github.com/sferik/twitter/commit/0bfbf6352de9bdda2b93ed053a358c0cb8e78e8f) * [Change the method signature for `Base#users` and `Base#friendships` to accept an `Array` and an options `Hash`](https://github.com/sferik/twitter/commit/0bfbf6352de9bdda2b93ed053a358c0cb8e78e8f) * [Add `Twitter.profile_image` method](https://github.com/sferik/twitter/commit/e6645022aefdc11860fe88b45725a08bb24adf55) ([@ratherchad](https://twitter.com/ratherchad)) * [Improve website style](https://github.com/sferik/twitter/commit/4cdf4e76b6d71d5d4760b46d1a894c00929c0ba3) ([@rodrigo3n](https://twitter.com/rodrigo3n)) * [Make request format configurable](https://github.com/sferik/twitter/commit/d35d6447b25fa84447ae97558958431fa9f6aa29) 0.9.12 ------ * [Rename parameters to be less confusing](https://github.com/rorra/twitter/commit/cd7ea8de6663d6ed5ea22b590d39adc72646fc1e) ([@rorra](https://twitter.com/rorra)) * [Update `user` method to match the Twitter API docs](https://github.com/sferik/twitter/commit/cb31e4a26b20d93006d568fab50ccce5c4d1626f) ([@nerdEd](https://twitter.com/nerdEd)) * [Add aliases for search methods](https://github.com/sferik/twitter/commit/05dd3e5a058ef69f874cfe33ae35b01f574e549b) * [Add `Twitter.user_agent` and `Twitter.user_agent=` methods](https://github.com/sferik/twitter/commit/0fc68f1c52e3b754194fe8a9cfbd9d4499eacbe1) * [Add `Search#locale` method](https://github.com/sferik/twitter/commit/584bcf9eb896530a87e4122fb1a020c35744f0cf) 0.9.11 ------ * [Add a `Search#filter` method](https://github.com/sferik/twitter/commit/0b37998055158d4fed0e3c296d8d2a42ac77d5d9) ([@pjdavis](https://twitter.com/pjdavis)) * [Add test to ensure `Search#fetch` doesn't overwrite `@query(:q)`](https://github.com/sferik/twitter/commit/2e05847cf70692b760c45dd54b6bad820176c9bd) ([@pjdavis](https://twitter.com/pjdavis)) * [Add `Search#retweeted` and `Search#not_retweeted` methods](https://github.com/sferik/twitter/commit/9ef83acdcbe682a8b5a325f89d566f7ef97fffc2) ([@levycarneiro](https://twitter.com/levycarneiro)) * [Switch from YAJL to MultiJson](https://github.com/sferik/twitter/commit/60a7cb179e77319e03c595850119b63fb413a53d) ([@MichaelRykov](https://twitter.com/MichaelRykov)) 0.9.10 ------ * [Specify Twitter API version for all REST API calls](https://github.com/sferik/twitter/commit/76b1fa31588bbc20166464313027f75e3771e385) * [Parse all responses with YAJL JSON parser](https://github.com/sferik/twitter/commit/c477f368fde6161dbae59ea7bc7c7d182b15721b) * [Ensure that users are tested](https://github.com/sferik/twitter/commit/108019e83d745c23ebc92fc8a3f9f8c605b2e884) ([@duncan](https://twitter.com/duncan)) * [Remove redgreen due to Ruby 1.9 incompatibility](https://github.com/sferik/twitter/commit/83e1ea168da2e38c3f393972bf1d8eb665df2510) ([@duncan](https://twitter.com/duncan)) * [Make all tests pass in Ruby 1.9](https://github.com/sferik/twitter/commit/7bead60774fb118ef63fb1557976194848af6754) ([@duncan](https://twitter.com/duncan)) 0.9.9 ----- * [Bump dependency versions](https://github.com/sferik/twitter/commit/ac8114c1f6ba2da20c2267d3133252c2ffc6b6a3) * [Remove Basic Auth](https://github.com/sferik/twitter/pull/56) ([@rodrigo3n](https://twitter.com/rodrigo3n)) * [Flatten `ids_or_usernames` before iterating](https://github.com/sferik/twitter/commit/956fb23f82cc1f91f6beefb24cf052cf48475a3f) ([@jacqui](https://twitter.com/jacqui)) * [Add an example to list followers and friends sorted by followers count](https://github.com/sferik/twitter/commit/fb57b27e8a48abcc82810fe476413e8b506cebe6) ([@danicuki](https://twitter.com/danicuki)) * [Add optional query parameter to `list_subscribers`](https://github.com/sferik/twitter/commit/a608d4088edf8772a3549326bed1124c9a2a123d) * [Change trends endpoint to api.twitter.com/1/trends](https://github.com/sferik/twitter/commit/39ff888b243ba57098589d4e304dd6dec877d05f) * [Use Bundler](https://github.com/sferik/twitter/commit/ebcb1d2c76d45f691cc90c880d13d19bc69a6f32) 0.9.8 ----- * [Geo API](https://github.com/sferik/twitter/commit/0e5aa205f9e29db434d84452f59694d9b64877d2) ([@anno](https://twitter.com/anno)) * [Set `api_endpoint` for unauthenticated calls](https://github.com/sferik/twitter/commit/ff20ecb4f4fef12c58572fb31e5c06162f8659d7) ([@earth2marsh](https://twitter.com/earth2marsh)) 0.9.7 ----- * [Add `api_endpoint` option for Search](https://github.com/sferik/twitter/commit/3c3d73fb8eedb5d322aeb1e4431d9936226fef9b) 0.9.6 ----- * [Deprecated Basic Auth](https://github.com/sferik/twitter/commit/878c09527037ab8ec5ac11a48afece61f03861e1) * [Add `api_endpoint` option for OAuth](https://github.com/sferik/twitter/commit/be937cf93db35f60cd47288aeea45afd2ab42288) 0.9.5 ----- * [Saved searches](https://github.com/sferik/twitter/commit/d5f0b5846b24468f323cc4f96e583fd267240615) ([@zmoazeni](https://twitter.com/zmoazeni)) * [Handle null result sets in search more gracefully](https://github.com/sferik/twitter/commit/f6d1f995dc7757dda4f4ac71dda2487d56d51c85) ([@sferik](https://twitter.com/sferik)) * [Add `report_spam`](https://github.com/sferik/twitter/commit/91275b549ebdd1cad795dff9f7a1772a4ca37749) ([@chrisrbailey](https://twitter.com/chrisrbailey)) * [Tests for `friendship_exists?` method](https://github.com/sferik/twitter/commit/e778d7f5f2bed73428c854d5d788d4a2d58540cd) ([@sferik](https://twitter.com/sferik)) * [Replace JSON parser with YAJL JSON parser](https://github.com/sferik/twitter/commit/1f480a85925025aec1ac5c91cfb45b4e74e4c9c3) ([@sferik](https://twitter.com/sferik)) * [Cursors for lists](https://github.com/sferik/twitter/commit/d283cefdbcaeee6005b0ec747e8d6bded14911b2) ([@zmoazeni](https://twitter.com/zmoazeni)) 0.9.4 ----- * [Rolled back search API endpoint to get around rate limiting issues](https://github.com/sferik/twitter/commit/f9c7af99b4560f39b3542582934ae07955b6c9cc) ([@secobarbital](https://twitter.com/secobarbital)) 0.9.3 ----- * [Restore Ruby 1.8.6 compatibility](https://github.com/sferik/twitter/commit/b725b1b8a105fa3488783cef43b7db8b0dbb7c99) ([@raykrueger](https://twitter.com/raykrueger)) 0.9.2 ----- * [Make error handling consistent between authenticated and unauthenticated method calls](https://github.com/sferik/twitter/commit/f62a1502ba9c4a764d25a4179982fabd3bff2210) ([@sferik](https://twitter.com/sferik)) * [Test error handling for unauthenticated methods](https://github.com/sferik/twitter/commit/4de5c9212142ceb0206f979755e6e151280b16b9) ([@sferik](https://twitter.com/sferik)) 0.9.1 ----- * [Add cursor to `lists` method](https://github.com/sferik/twitter/commit/a16ad354be4fae3d3f86207d8c5ae8b4c2a11b52) ([@sferik](https://twitter.com/sferik)) * [Add Twitter API version to trends method calls](https://github.com/sferik/twitter/commit/6f23c5eb3ffdac6eac65fa2b6d36f08aa7b6e1fb) ([@sferik](https://twitter.com/sferik)) * [Add Twitter API version to unauthenticated method calls](https://github.com/sferik/twitter/commit/fb895cc7e645499826dcc96e2cf8727c94eac83f) ([@sferik](https://twitter.com/sferik)) * [Remove rubygems dependencies](https://github.com/sferik/twitter/commit/0f7a9ee4a1aee45bfb7136a0f6f48f9b7632e663) ([@sferik](https://twitter.com/sferik)) 0.9.0 ----- * [Add `Base#retweeters_of` method](https://github.com/sferik/twitter/commit/7de2d6204028b6741ce7a72b12efe868e074331c) * [Add `result_type` to search for popular/recent results](https://github.com/sferik/twitter/commit/c32fa818f8331a7ff02f04f6cba8739423902029) * [Add `users` method for bulk user lookup](https://github.com/sferik/twitter/commit/5723b60f042d98b630040fa076ac86e9b735dee8) ([@sferik](https://twitter.com/sferik)) * [Add Twitter API version to authenticated method calls](https://github.com/sferik/twitter/commit/69d4df515fe95f727221dad19b92665dc24f06d0) ([@sferik](https://twitter.com/sferik)) * [Search exclusions](https://github.com/sferik/twitter/commit/cb05e77adb2d771170d731ad2e55ba17bcb13766) ([@abozanich](https://twitter.com/abozanich)) 0.8.6 ----- * [Bump httparty version](https://github.com/sferik/twitter/commit/643517da3d12442883d90918b280e968809a4750) ([@dewski](https://twitter.com/dewski)) 0.8.5 ----- * [Add `Search#next_page?` and `Search#fetch_next_page` methods](https://github.com/sferik/twitter/commit/767ddaa62e8fa9e3872ddd17323f323d9f1393e4) ([@cyu](https://twitter.com/cyu)) 0.8.4 ----- * [Add `query` parameter to `membership` method](https://github.com/sferik/twitter/commit/f09b3121d4c721c34f40a11580a7a1d4ffc0df22) ([@mingyeow](https://twitter.com/mingyeow)) * [Add `Search#phrase` method](https://github.com/sferik/twitter/commit/e3e8f7e4b1ea8a315f935805e409a3fff6a5483d) ([@zagari](https://twitter.com/zagari)) * [Add `Trends#available` and `Trends#location` methods](https://github.com/sferik/twitter/commit/39b8d8dd3bb25cb5cd081cae23486fb47c25ec8f) 0.8.3 ----- * [Add `Twitter.list_timeline` method](https://github.com/sferik/twitter/commit/aed3a298b613a508bb9caf93afc7f12c50626ad7) ([@spastorino](https://twitter.com/spastorino)) 0.8.2 ----- * [Add `Base#update_profile_image` method](https://github.com/sferik/twitter/commit/10afe76daef3a2b8e10917b9550724cc9c3a6c19) ([@urajat](https://twitter.com/urajat)) 0.8.1 ----- * [Add `Twitter.timeline` method](https://github.com/sferik/twitter/commit/dc26a0c9b5a6a98aec4ca9c0a48333e665c9bf18) 0.8.0 ----- * [Make API endpoint configurable to use services like Tumblr](https://github.com/sferik/twitter/commit/c5550f1317538638b754d6b0dbbb372e069b5580) 0.7.11 ------ * [Add list timeline paging](https://github.com/sferik/twitter/commit/591d31a45b1a360d5743d2bf3966e7e9b563b9b7) ([@kchen1](https://twitter.com/kchen1)) 0.7.10 ------ * [Add `Base#blocks` and `Base#blocking` methods](https://github.com/sferik/twitter/commit/0eb099001f060431c56c1884d86abb2e53a09c6d) 0.7.9 ----- * [Add `Base#retweets` method](https://github.com/sferik/twitter/commit/a1a834575000bbb8fb430632b6bf88e19daeb8fb) ([@ivey](https://twitter.com/ivey)) 0.7.8 ----- * [Use `cursor` parameter to `list_members` method](https://github.com/sferik/twitter/commit/9f393f05c127623f4c58a68e2246a3553f225349) ([@ivey](https://twitter.com/ivey)) 0.7.7 ----- * [Fix bug in `list_remove_member` when using OAuth](https://github.com/sferik/twitter/commit/b20b770af3d6594f8e551cade3cfbd58a0647c2d) * [Bump oauth dependency to version 0.3.6](https://github.com/sferik/twitter/commit/3eeed693180d15ba4ca2370c41bd5547f715fc88) * [Add `Base#update_profile_background` method](https://github.com/sferik/twitter/commit/3eeed693180d15ba4ca2370c41bd5547f715fc88) ([@kev_in](https://twitter.com/kev_in)) * [Add `Base#blocked_ids` method](https://github.com/sferik/twitter/commit/2a5046500eb30141f55552d9b151857d08a1436a) ([@rizwanreza](https://twitter.com/rizwanreza)) * [Add `Search#since_date` and `Search#until_date` methods](https://github.com/sferik/twitter/commit/9dcd340817224fa34fcb515f79a846886ffa1427) ([@jschairb](https://twitter.com/jschairb)) 0.7.6 ----- * [Add `Base#home_timeline` method](https://github.com/sferik/twitter/commit/2de3786e75e6a1725572d3f08f6886f64e507851) ([@coderifous](https://twitter.com/coderifous)) 0.7.5 ----- * [Use Hashie instead of Mash to avoid conflicts with extlib](https://github.com/sferik/twitter/commit/365f8378b45c93ed6219ac49afec5c7f7eb85fe6) ([@hassox](https://twitter.com/hassox)) 0.7.4 ----- * [Support for user search](https://github.com/sferik/twitter/commit/54e046924431a08e3dfce06f571f71ebb76f7bbd) 0.7.3 ----- * [Add `Base#list_subscriptions` method](https://github.com/sferik/twitter/commit/2273c8a4e7c5d496922fc34551b46b22d30b68aa) ([@christospappas](https://twitter.com/christospappas)) 0.7.2 ----- * [Add `Base#friendship_show` method](https://github.com/sferik/twitter/commit/693f95a6a19dd51c047078ef969e14357930bcd7) ([@dcrec1](https://twitter.com/dcrec1)) 0.7.1 ----- * [Bump dependency versions](https://github.com/sferik/twitter/commit/d6bf8c5693f0ec4eedd641b97a7e6f0fdce75e2c) 0.7.0 ----- * [Add support for lists](https://github.com/sferik/twitter/commit/be4bffd79c2bdcfd2988ef6a65cbca8a8f6abd6d) 0.6.14 ------ * [Lower oauth dependency to version 0.3.4 as people are complaining about 0.3.5](https://github.com/sferik/twitter/commit/dd144c377bc888388099e029a0e1505a66392bb1) 0.6.13 ------ * [Bump oauth dependency to version >= 0.3.5](https://github.com/sferik/twitter/commit/555ae1fc13146b74b8df0346caea1a6b065b344f) 0.6.12 ------ * [Fix `fakeweb` test issue](https://github.com/sferik/twitter/commit/cdd9dba19f6edc21f1b7eefb66db133dec682423) ([@obie](https://twitter.com/obie)) * [Add `Search#user_agent` method](https://github.com/sferik/twitter/commit/e8fbad6a9cfdcfaad4938f7243fc971a1ea8ac8c) 0.6.11 ------ * [Add the ability to sign in with Twitter instead of authorizing](https://github.com/sferik/twitter/commit/68b6252a21e7e773d108027f693b8378593e21ad) 0.6.10 ------ * [Add `Trends#current`](https://github.com/sferik/twitter/commit/549f34903be38232c24044d9972629a86a0503a4), [`Trends#daily`, and `Trends#weekly` methods](https://github.com/sferik/twitter/commit/dc8046aea5794303f6f36622221a412a4e80f9a8) 0.6.9 ----- * [Bump oauth dependency to version 0.3.4](https://github.com/sferik/twitter/commit/88d4612b50d2be7cc300120278d53c80265e8780) 0.6.8 ----- * [Fix httparty dependency](https://github.com/sferik/twitter/commit/44aa418a22233c84cea1dae74b158cd490589b10) 0.6.7 ----- * [Bump httparty dependency to version 0.4.3 which allows `response.message` and fixes errors that the lack of `response.message` was causing](https://github.com/sferik/twitter/commit/a630b1c77792641794745d2f3cbba6c64d168d62) 0.6.6 ----- * [Add `query` parameter to `user` method](https://github.com/sferik/twitter/commit/33ae7dbd7593235efb8ea1df13638891b621244f) * [Add `ssl` optional parameter to use HTTPS instead of HTTP for `HTTPAuth`](https://github.com/sferik/twitter/commit/f46cdf9ce957b03539bd4dc76a83ce439535d349) * [Add `Twitter.status`, `Twitter.friend_ids`, and `Twitter.follower_ids` methods](https://github.com/sferik/twitter/commit/55813617c5b4cf672800bf7f9e7473904e3c3194) 0.6.5 ----- * [Fix `friend_ids` and `follower_ids` bombing on mashing](https://github.com/sferik/twitter/commit/f01c2878033cd6afc1e718f2140c82b9708e5603) 0.6.4 ----- * [More explicit about dependency versions in gemspec and when requiring](https://github.com/sferik/twitter/commit/5ce3eeb25c5b8bcd8caa8704c5d125174781781d) 0.6.3 ----- * [Add `Twitter.user` method](https://github.com/sferik/twitter/commit/cb46975eaa8aa7e02ad798ba8b7b62017f15604c) 0.6.2 ----- * [Add `Search#max` method](https://github.com/sferik/twitter/commit/e79cc1fdb306da24462c6617b118e03ccbead9f1) 0.6.1 ----- * [Rename one of the two `friend_ids` methods to `follower_ids`](https://github.com/sferik/twitter/commit/051d19db49dce2422d06181c5a3b595e3a9b85b3) 0.6.0 ----- * [Add HTTP authentication](https://github.com/sferik/twitter/commit/d713ecfbe80edde688009fa6bfbf32a2de687a39) 0.5.3 ----- * [Only send `follow` parameter to Twitter if `follow` is true for calls to `friendship_create`](https://github.com/sferik/twitter/commit/5ebf39c0538a3dfd48c6a1dbdf8558305737ce69) 0.5.2 ----- * [Add mash as an install dependency](https://github.com/sferik/twitter/commit/a8693b27791e966736415cb90335600d075f60dd) * [Add options to `search`](https://github.com/sferik/twitter/commit/096d56ed9a62a0ea53bfe3a8df588ddef71df1c9) * [Add missing variables in exception raising](https://github.com/sferik/twitter/commit/e21a4f69c68d28148045e7c98ce1841d72994e1e) * [Add development dependencies to `Rakefile` to make that more explicit](https://github.com/sferik/twitter/commit/de57b1c2834653ea4c336ed426ee8fbbebcd80b2) ([@technomancy](https://twitter.com/technomancy)) * [Add workaround for `Mash#hash` that allows using return objects in sets and such](https://github.com/sferik/twitter/commit/2da491308766e82c797c7801bdc3a440b7f8d719) ([@technomancy](https://twitter.com/technomancy)) 0.5.1 ----- * [Add data error hash returned from Twitter to a few of the exceptions to help with debugging](https://github.com/sferik/twitter/commit/72d46c4804a30b28ab351a5a0d37d6bc664e577e) * [Fix bug with `friendship_exists?` throwing a stringify keys error because it was returning `true` or `false` instead of a `Hash` or `Array`](https://github.com/sferik/twitter/commit/1e9def65277125f23739be034abd4059a42d2b87) 0.5.0 ----- * [Proxy no longer supported (someone please add it back in, I never use proxies)](https://github.com/sferik/twitter/commit/dd2445e3e2c97f38b28a3f32ea902536b3897adf) * [Identica support killed with an axe (nothing against them but I don't use it)](https://github.com/sferik/twitter/commit/dd2445e3e2c97f38b28a3f32ea902536b3897adf) * [CLI shot to death (will be reborn at a later date using OAuth and its own gem)](https://github.com/sferik/twitter/commit/dd2445e3e2c97f38b28a3f32ea902536b3897adf) 0.4.3 ----- * [Make `verify_credentials` return a `Twitter::User` rather than a Hpricot doc](https://github.com/sferik/twitter/commit/6a8efc464dcb174e41b2eb0197a79e778dae1428) 0.4.2 ----- * [Add `Base#friend_ids` and `Base#follower_ids` methods](https://github.com/sferik/twitter/commit/b70718cc31684af6ce2d1c2a11adaaba29ea7b92) ([@joshowens](https://twitter.com/joshowens)) 0.4.1 ----- * [Add better exception handling](https://github.com/sferik/twitter/commit/2b85bed874902d184e5d53c0a0bd249fd1ed3b8b) ([@billymeltdown](https://twitter.com/billymeltdown)) * [Add `Search#page` method](https://github.com/sferik/twitter/commit/977023126fbe7fdf13af53d840ca3b6807cd2d85) ([@ivey](https://twitter.com/ivey)) * [Add an option to display tweets on CLI in reverse chronological order](https://github.com/sferik/twitter/commit/40d2f1ae631dce3c31c6a13d295989e945b22622) ([@coderdaddy](https://twitter.com/coderdaddy)) * [Add `in_reply_to_status_id` option for replying to statuses](https://github.com/sferik/twitter/commit/2ecceda9fa74d486e3ba62edba7fa42a443191fa) ([@anthonycrumley](https://twitter.com/anthonycrumley)) * [Fix a bug where the [@config was improperly set](https://github.com/sferik/twitter/commit/9c5fd0f0a0186638aae189e28a3a0d0d20e7d3d5) ([@pope](https://twitter.com/pope)) * [Fix `verify_credentials` to include a format](https://github.com/sferik/twitter/commit/bf6f783e8867148a056d130f00a03679ea9b414b) ([@dlsspy](https://twitter.com/dlsspy)) 0.4.0 ----- * [Remove Active Support dependency and switched to echoe for gem management](https://github.com/sferik/twitter/commit/fbb792561ea2aba8c8e7abb946d2a5e6e3d64fb0) * [Remove CLI dependencies](https://github.com/sferik/twitter/commit/906d34db1a81314bb8929d9b5ee61519ed6dc080) 0.3.7 ----- * [Fix `source` parameter not getting through](https://github.com/sferik/twitter/commit/e3743cf22df3ad9406bf8c2e4425f30680606283) 0.3.6 ----- * [Refactor the remaining methods that were not using `request` to use it](https://github.com/sferik/twitter/commit/8a802c4b461be0d4d7f374888591a9af6ef8b8d2) 0.3.5 ----- * [Remove sqlite-ruby dependency](https://github.com/sferik/twitter/commit/9277e832daf9539e70f446b8b4f7093d8eb98484) 0.3.4 ----- * [Add `Search` class](https://github.com/sferik/twitter/commit/538a5d4b1a72ed2bf97404704699f498ab082ca9) 0.3.3 ----- * [Add Identica support](https://github.com/sferik/twitter/commit/ed06aaf27eea8852198200eb3db510d56508e727) ([@dlsspy](https://twitter.com/dlsspy)) * [Update methods to `POST` instead of `GET`](https://github.com/sferik/twitter/commit/ed06aaf27eea8852198200eb3db510d56508e727) 0.3.2 ----- * [Add the CLI gems as dependencies until it is separated from the API wrapper](https://github.com/sferik/twitter/commit/52af6fd83bb2e72b90abd6114e264a88431cfb34) * [Add cleaner CLI errors for no active account or no accounts at all](https://github.com/sferik/twitter/commit/dbc9e57d0a66ee585893b0b5955078575effc616) * [Add `username` and `password` parameters to `add` method](https://github.com/sferik/twitter/commit/013b48229786c1080ee79a490e731f4b1811a7e4) 0.3.1 ----- * [Add `open` method to CLI](https://github.com/sferik/twitter/commit/84e77a1d515f762d7a24f697786f5959d4f1cc2e) * [Add `-f` option to timeline and replies which ignores the `since_id` and shows all results](https://github.com/sferik/twitter/commit/84e77a1d515f762d7a24f697786f5959d4f1cc2e) * [Add `clear_config` to remove all cached values](https://github.com/sferik/twitter/commit/84e77a1d515f762d7a24f697786f5959d4f1cc2e) * [Improved the output of `timelines` and `replies`](https://github.com/sferik/twitter/commit/84e77a1d515f762d7a24f697786f5959d4f1cc2e) 0.3.0 ----- * [Support multiple accounts in CLI and switching between them](https://github.com/sferik/twitter/commit/35eddef783492990bf0bebcae1f5891a556988e4) * [Make `d` method accept stdin](https://github.com/sferik/twitter/commit/25ddfe33a10a252ff7d9ba74d4d16e3e25719661) * [Add `Status#source`, `Status#truncated`, `Status#in_reply_to_status_id`, `Status#in_reply_to_user_id`, `Status#favorited`, and `User#protected` methods](https://github.com/sferik/twitter/commit/d02d233000667c74101571f9362532a57715ae4e) * [Add `Base#friendship_exists?`, `Base#update_location`, `Base#update_delivery_device`, `Base#favorites`, `Base#create_favorite`, `Base#destroy_favorite`, `Base#block`, and `Base#unblock` methods](https://github.com/sferik/twitter/commit/eeca67c5693dc175cf1990c2657a6efd8c4cbd6d) * [Rewrite methods that had `since` or `lite` parameters to use a `Hash`](https://github.com/sferik/twitter/commit/eeca67c5693dc175cf1990c2657a6efd8c4cbd6d) 0.2.7 ----- * [Add `Base#rate_limit_status` method](https://github.com/sferik/twitter/commit/2b5325b1875574805fde77f30d0df84e423272e5) ([@danielmorrison](https://twitter.com/danielmorrison)) * [Add `source` parameter to `Base#post`](https://github.com/sferik/twitter/commit/215b2ca687014e042f991192281ea1dfbe100665) * [Add `twittergem` as the source when posting from the command-line interface](https://github.com/sferik/twitter/commit/d94b6bdb23dd27ff25cf170cd7ceb5610187d176) * [Raise `Twitter::RateExceeded` when you hit your limit](https://github.com/sferik/twitter/commit/d94b6bdb23dd27ff25cf170cd7ceb5610187d176) ([@jimoleary](https://twitter.com/jimoleary)) * [Raise `Twitter::Unavailable` when Twitter returns 503](https://github.com/sferik/twitter/commit/d94b6bdb23dd27ff25cf170cd7ceb5610187d176) * [Make `Twitter::CantConnect` messages more descriptive](https://github.com/sferik/twitter/commit/d94b6bdb23dd27ff25cf170cd7ceb5610187d176) * [Make quoting your message optional when posting from the command-line interface](https://github.com/sferik/twitter/commit/d94b6bdb23dd27ff25cf170cd7ceb5610187d176) ([@bcaccinolo](https://twitter.com/bcaccinolo)) * [Alias `post` to `p` on the command-line interface](https://github.com/sferik/twitter/commit/d94b6bdb23dd27ff25cf170cd7ceb5610187d176) ([@bcaccinolo](https://twitter.com/bcaccinolo)) * [Unescape HTML and add color to the command-line interface](https://github.com/sferik/twitter/commit/d94b6bdb23dd27ff25cf170cd7ceb5610187d176) ([@mileszs](https://twitter.com/mileszs)) * [Add gemspec](https://github.com/sferik/twitter/commit/d94b6bdb23dd27ff25cf170cd7ceb5610187d176) ([@technoweenie](https://twitter.com/technoweenie), [@mileszs(https://twitter.com/mileszs)) * [Fix stack trace error on first command-line operation](https://github.com/sferik/twitter/commit/d94b6bdb23dd27ff25cf170cd7ceb5610187d176) ([@mrose2n](https://twitter.com/mrose2n)) 0.2.6 ----- * [Found a simpler way of doing `stdin` without any extra gem dependencies](https://github.com/sferik/twitter/commit/2ef6c3e7280b64d5d4a956ca245e631b126001b0) 0.2.5 ----- * [Command-line interface can use `stdin` for posting](https://github.com/sferik/twitter/commit/d4e710bd3184f33775bf969b0993cbc9dff0ed50) ([@reclusive_geek](https://twitter.com/reclusive_geek)) $ twitter post 'test without stdin' # => twitters: test without stdin $ echo 'test with stdin' | twitter post 'and an argv(1)' # => twitters: test with stdin and an argv(1) $ echo 'test with stdin without any argv(1)' | twitter post # => twitters: test with stdin without any argv(1) 0.2.4 ----- * [Add `lite` parameter to `friends` and `followers` methods, which doesn't include the user's current status](https://github.com/sferik/twitter/commit/0de3901258de5b2a4a3fda308e495ee373d07ea6) ([@danielmorrison](https://twitter.com/danielmorrison)) * [Update `since` parameter to use HTTP header](https://github.com/sferik/twitter/commit/90b5b5ebb2a7d94a278e3ff374e4fde4cf850234) ([@danielmorrison](https://twitter.com/danielmorrison)) * [Add `since` parameter on `timeline` and `replies` methods](https://github.com/sferik/twitter/commit/90b5b5ebb2a7d94a278e3ff374e4fde4cf850234) ([@danielmorrison](https://twitter.com/danielmorrison)) 0.2.3 ----- * [Add `d` to the command-line interface](https://github.com/sferik/twitter/commit/a9ecddd3323ef202248dae59d049b00b88b76b4e) ([@humbucker](https://twitter.com/humbucker)) * [Add progress dots while waiting for confirmation when Twitter is being slow](https://github.com/sferik/twitter/commit/02a24d9042f3fa0235759fbbd6f34ea639a01578) ([@HendyIrawan](https://twitter.com/HendyIrawan)) 0.2.2 ----- * [Add `Base#leave` and `Base#follow` methods](https://github.com/sferik/twitter/commit/4878689063574ad88ea76343387094fc634ccead) 0.2.1 ----- 0.2.0 ----- * [Alias `direct_messages` to `received_messages`](https://github.com/sferik/twitter/commit/c2d8c55516747627452224af8faecc15ee6b5fd4) * [Add `Base#sent_messages`, `Base#create_friendship`, `Base#destroy_friendship`, `Base#featured`, `Base#replies`, `Base#destroy`, and `Base#status` methods](https://github.com/sferik/twitter/commit/c2d8c55516747627452224af8faecc15ee6b5fd4) * [Add Active Support dependency](https://github.com/sferik/twitter/commit/c2d8c55516747627452224af8faecc15ee6b5fd4) * [Add `Base#d` method](https://github.com/sferik/twitter/commit/139a820de0bcc97ece7e33435535985555231bc8) ([@jnewland](https://twitter.com/jnewland)) * [Fix `since` parameter in `Base#direct_messages` method](https://github.com/sferik/twitter/commit/41a9006be9221d7305752639ac4440b3a8859cd0) ([@jnewland](https://twitter.com/jnewland)) 0.1.1 ----- * [Add support for Hpricot 0.5+](https://github.com/sferik/twitter/commit/4aa2fabaa62c60e9f11f29510db10b6ed406e510) ([@erebor](https://twitter.com/erebor)) 0.1.0 ----- * [Add `Base#d` method](https://github.com/sferik/twitter/commit/13e031f8d2e8db6ca8ace18a25886fb690d580d2) * [Add `Base#direct_messages` method](https://github.com/sferik/twitter/commit/0f4d699a5310dc8a4e2997b82853f5466292b320) * [Add `Base#featured` and `Base#friends_for` methods](https://github.com/sferik/twitter/commit/21ca95ffa3f42aaf7728c3d5c2aa5f1f9ed84fe7) * [Add tests](https://github.com/sferik/twitter/commit/ff1ae65766109c75f80c4b15797e12a69d7c29ad) * [Remove `relative_created_at`](https://github.com/sferik/twitter/commit/ff1ae65766109c75f80c4b15797e12a69d7c29ad) 0.0.5 ----- * [Code cleanup](https://github.com/sferik/twitter/commit/abd6eb31089975e3dc65f7e0bb4156feacc97a1c) 0.0.4 ----- * [Add `User#location`, `User#description`, `User#url`, and `User#profile_image_url` methods](https://github.com/sferik/twitter/commit/e6737ec8b07b9fd1ffd96a21074a100a6fb3cf7e) ([@al3x](https://twitter.com/al3x)) 0.0.3 ----- * [Make error message more informative](https://github.com/sferik/twitter/commit/1763cd85c4fd85cde6815cc7c1b74937dd7aeeaf) 0.0.2 ----- * Add command-line options for `friend` and `follower` * Improved docs 0.0.1 ----- * [Initial release](https://github.com/sferik/twitter/commit/cd7aecde450157ae2ec0c07a2171d7149bebb74a)
80.754872
280
0.799596
yue_Hant
0.38946