- Install NodeJS v10.x: https://nodejs.org
- Install Typescript and yarn
- Run the command:
npm install -g typescript yarn
- Run the command:
- Install Visual Studio Code: https://code.visualstudio.com/
- Create an account on http://exercism.io
- Install and configure client
- Clone the examples https://github.com/StanleyGoldman/BMCC-Typescript-Workshop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Setup | |
1. Install NodeJS v10.x: https://nodejs.org | |
2. Install Typescript | |
a. Run the command: `npm install -g typescript` | |
3. Create an account on http://exercism.io | |
a. Install and configure client |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query { | |
repo1: repository(owner: "foo", name: "bar") { | |
...repositoryName | |
} | |
repo2: repository(owner: "foo", name: "bar") { | |
...repositoryName | |
} | |
} | |
fragment repositoryName on Repository { | |
forkCount |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TestModelObject | |
{ | |
public string StringField1 { get; set; } | |
public string StringField2 { get; set; } | |
public int IntField1 { get; set; } | |
public int IntField2 { get; set; } | |
} | |
[IntegrationTest] | |
public void Query_Repository_Select_Object_Fragment_Twice() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class StatusOutputPathComparer : IComparer<string> | |
{ | |
public static StatusOutputPathComparer Instance => new StatusOutputPathComparer(); | |
public int Compare(string x, string y) | |
{ | |
Guard.ArgumentNotNull(x, nameof(x)); | |
Guard.ArgumentNotNull(y, nameof(y)); | |
var xIsMeta = x.EndsWith(".meta"); |
Login & Logout immediately
170822-11:02:16 TRACE [ 1] <Keychain> SetCredentials Host:https://github.com/
170822-11:02:34 TRACE [ 1] <Keychain> SetToken Host:https://github.com/
170822-11:02:34 TRACE [ 1] <Keychain> Save: https://github.com/
170822-11:02:34 TRACE [ 1] <Keychain> WriteCacheToDisk Count:1 Path:C:\Users\Spade\AppData\Local\GitHubUnityDebug\connections.json
170822-11:02:34 TRACE [ 1] <GitCredentialManager> Delete: https://github.com/
170822-11:02:34 TRACE [ 1] <GitCredentialManager> Loading Credential Helper
170822-11:02:35 TRACE [ 1] <GitCredentialManager> RunCredentialHelper helper:"wincred" action:"erase"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
search(query: "language:C#", first: 3, type: REPOSITORY) { | |
edges { | |
node { | |
... on Repository { | |
name | |
languages(first:3){ | |
nodes{ | |
name | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using UnityEngine; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Text; | |
public class NewBehaviourScript : MonoBehaviour | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
namespace TestingOpenTerminal | |
{ | |
internal class Program | |
{ | |
public static void Main(string[] args) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEditor; | |
public class MyWindow : EditorWindow | |
{ | |
string display1Field1 = "display1Field1"; | |
string display1Field2 = "display1Field2"; | |
string display2Field1 = "display2Field1"; | |
string display2Field2 = "display2Field2"; |
NewerOlder