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
param( | |
# whether or not to install netfx folder for nuget | |
[switch]$AddNetfx, | |
# override existing cred provider with the latest version | |
[switch]$Force, | |
# install the version specified | |
[string]$Version | |
) | |
$script:ErrorActionPreference='Stop' |
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
#!/usr/bin/env node | |
var program = require('commander'); | |
var env = (process.env.NODE_ENV) ? process.env.NODE_ENV : 'development'; | |
var path = require('path'); | |
//PATH UPDATE - removed '..' | |
var packagePath = path.resolve(__dirname, '..', '..', 'package.json'); | |
var fs = require('fs'); | |
if (env !== 'development') { | |
//PATH UPDATE - removed '..' |
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
[HttpGet] | |
public HttpResponseMessage Export(int id) | |
{ | |
var response = Request.CreateResponse(); | |
response.Content = new PushStreamContent( | |
async (outputStream, httpContent, transportContext) => | |
{ |
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 Foo.Bar | |
{ | |
using Castle.MicroKernel.Lifestyle; | |
using Microsoft.WindowsAzure.ServiceRuntime; | |
public class AzureSingletonLifestyleManager : SingletonLifestyleManager | |
{ | |
public AzureSingletonLifestyleManager() | |
{ |