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.Text; | |
using NUnit.Framework; | |
namespace SomeNamespace.UnitTests | |
{ | |
internal static class UnitTestSetup |
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
//TODO: this |
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
static void Log(string message, string path = "LOG.txt") | |
{ | |
Console.WriteLine(message); | |
using (System.IO.FileStream sw = new System.IO.FileStream(path, System.IO.FileMode.Append)) | |
{ | |
using (System.IO.StreamWriter sw2 = new System.IO.StreamWriter(sw)) | |
{ | |
sw2.WriteLine(message); | |
} | |
} |
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
namespace example | |
{ | |
class Product | |
{ | |
public string ProductName { get; set; } | |
public string Text { get; set; } | |
} | |
class FileXChange : Product |
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
//load soundcloud js api if needed | |
var script = document.createElement('script'); | |
script.type = 'text/javascript'; | |
script.src = 'http://w.soundcloud.com/player/api.js'; | |
document.head.appendChild(script); | |
//get the id of the player iframe or inject it using chrome | |
var id = 'scplayer', | |
widgetIframe = document.getElementById(id), | |
fixWidget = SC.Widget(widgetIframe); |
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
{ | |
"basics": { | |
"name": "Petey Williams", | |
"label": "Architect", | |
"picture": "", | |
"email": "[email protected]", | |
"phone": "(203)6799309", | |
"website": "http://propagatesoftware.com", | |
"summary": "Bird up", | |
"location": { |