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 HomeController : Controller | |
{ | |
public ActionResult Index() | |
{ | |
return new ContentResult() | |
{ | |
Content = Environment.MachineName | |
}; | |
} | |
} |
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 DistributedMutex; | |
using Microsoft.WindowsAzure.Storage; | |
using System; | |
using System.Collections.Generic; | |
using System.Configuration; | |
using System.Diagnostics; | |
using System.Linq; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using System.Web; |
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 OfficeOpenXml; | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Reflection; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace ProjectGordon.ConsoleApp |
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.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace ProjectGordon.ConsoleApp | |
{ | |
/// <summary> | |
/// Use the ColumnAttribute to decorate properties on classes you want to read/write to excel. |
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
<?php | |
/** | |
* Plugin Name: Port Pinger | |
* Plugin URI: http://www.shawnweisfeld.com/ | |
* Description: the goal of this plugin is to test outbound connectivity to a given URI and port | |
* Version: 0.1 | |
* Author: Shawn Weisfeld | |
* Author URI: http://www.shawnweisfeld.com | |
* License: GPL12 | |
*/ |
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
azure account env add --environment "AzureGovernment" --active-directory-endpoint-url "https://login.microsoftonline.com" --active-directory-graph-api-version "2013-04-05" --active-directory-graph-resource-id "https://graph.windows.net/" --active-directory-resource-id "https://management.core.usgovcloudapi.net/" --gallery-endpoint-url "https://gallery.usgovcloudapi.net/" --management-endpoint-url "https://management.core.usgovcloudapi.net" --portal-url "https://manage.windowsazure.us" --publishing-profile-url "https://manage.windowsazure.us/publishsettings/index" --resource-manager-endpoint-url "https://management.usgovcloudapi.net" --sql-management-endpoint-url "https://management.core.usgovcloudapi.net:8443/" --sql-server-hostname-suffix ".database.usgovcloudapi.net" --storage-endpoint-suffix "core.usgovcloudapi.net" |
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
azure account import "C:\<<Path to your file>\<<your filename>>.publishsettings" |
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
azure login --username "[email protected]" --password "password" --environment "AzureUSGovernment" |
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.ComponentModel.DataAnnotations; | |
using System.ComponentModel.DataAnnotations.Schema; | |
using System.Data.Entity; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace EFUnary |
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.ComponentModel.DataAnnotations; | |
using System.ComponentModel.DataAnnotations.Schema; | |
using System.Data.Entity; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace EFUnary |