<commit_before>﻿ms.ContentId: 9dc57a6a-7104-4721-ba5c-3e246ee17f75 
title: Demo file


## Getting Started ##
1. First download VS
2. Start writing code
3. Be happy

### Add an image

![](.\media\kanban.jpg)


### Link to a video

[Video: Managing Work in Visual Studio Online](http://channel9.msdn.com/Events/Visual-Studio/Connect-event-2014/212 "Video: Managing Work in Visual Studio Online")


## Using Code Snippets

Add some description about your code snippets and what they do

<!-- BEGINSECTION class="tabbedCodeSnippets" -->

```cs
public static AuthenticationContext _authenticationContext { get; set; } 
private static async Task<string> GetTokenHelperAsync(AuthenticationContext context, string resourceId)
{
    string accessToken = null;
    AuthenticationResult result = null;

    result = await context.AcquireTokenAsync(resourceId, ClientID, _returnUri);

    accessToken = result.AccessToken;
    //Store authority in application data.
    _settings.Values["LastAuthority"] = context.Authority;

    return accessToken;
}
```
```javascript
var authContext;
var authToken; // for use with creating an outlookClient later.
authContext = new O365Auth.Context();
authContext.getIdToken("https://outlook.office365.com/")
   .then((function (token) {
       authToken = token;
	   // The auth token also carries additional information. For example:	
       userName = token.givenName + " " + token.familyName;
   }).bind(this), function (reason) {
       console.log('Failed to login. Error = ' + reason.message);
   });

```
<!-- ENDSECTION -->


<commit_msg>Updated demo.md<commit_after>﻿ms.ContentId: 9dc57a6a-7104-4721-ba5c-3e246ee17f75 
title: Demo file


## Getting Started ##
{'fraction_non_alphanumeric': 0.1180637544273908, 'fraction_numerical': 0.03482880755608028, 'mean_word_length': 4.151975683890577, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2633537', 'n_tokens_mistral': 560, 'n_tokens_neox': 505, 'n_words': 142}