Az Command | AzureRm Command |
---|---|
Get-AzAks | Get-AzureRmAks |
New-AzAks | New-AzureRmAks |
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
private static readonly string[] tenHoursOfFun = | |
{ | |
"https://www.youtube.com/watch?v=wbby9coDRCk", | |
"https://www.youtube.com/watch?v=nb2evY0kmpQ", | |
"https://www.youtube.com/watch?v=eh7lp9umG2I", | |
"https://www.youtube.com/watch?v=z9Uz1icjwrM", | |
"https://www.youtube.com/watch?v=Sagg08DrO5U", | |
"https://www.youtube.com/watch?v=5XmjJvJTyx0", | |
"https://www.youtube.com/watch?v=IkdmOVejUlI", | |
"https://www.youtube.com/watch?v=jScuYd3_xdQ", |
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
# Simple script to remove the Windows 10 "Nag" Updates and telemetry additions for Windows 7 & 8 users | |
# This will uninstall the updates and hide them, preventing installation in the future | |
# Note: MUST BE RUN AS ADMINISTRATOR, setting updates to hidden requires admin permissions | |
# Updates removed: | |
# KB3035583 - Update installs Get Windows 10 app in Windows 8.1 and Windows 7 SP1 | |
# https://support.microsoft.com/en-us/kb/3035583 | |
# KB2952664 - Compatibility update for upgrading Windows 7 | |
# https://support.microsoft.com/en-us/kb/2952664 | |
# KB2976978 - Compatibility update for Windows 8.1 and Windows 8 | |
# https://support.microsoft.com/en-us/kb/2976978 |
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
choco install 7zip | |
choco install chocolateygui | |
choco install ConEmu | |
choco install DotNet4.5.2 | |
choco install DotNet4.6.1 | |
choco install dotnet4.7.1 | |
choco install dotnet4.7.2 | |
choco install dotnetcore-sdk | |
choco install dotnetfx | |
choco install dotPeek |
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.Expressions; | |
using System.Reflection; | |
namespace Bleroy.Helpers { | |
public static class NotNull { | |
public static TProp Get<TSource, TProp>(this TSource source, Expression<Func<TSource, TProp>> property) where TSource : class { | |
if (source == null) return default(TProp); | |
var current = property.Body; |
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 RunnableInDebugOnlyAttribute : FactAttribute | |
{ | |
private string _skip; | |
public override string Skip | |
{ | |
get | |
{ | |
return Debugger.IsAttached | |
? _skip |
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.Linq; | |
using System.Threading; | |
using Raven.Abstractions.Data; | |
using Raven.Abstractions.Indexing; | |
using Raven.Client; | |
using Raven.Client.Embedded; | |
using Raven.Json.Linq; | |
using Xunit; | |
namespace RavenDbPatching.StringIdPatching { |
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; | |
namespace System.Data.SqlClient { | |
public class SqlHelper { | |
readonly string connectionString; | |
public SqlHelper(string connectionString) { this.connectionString = connectionString; } | |
public string StringCommand (string commandString, Action<SqlParameterCollection> bindingCommand) { | |
using (var connection = new SqlConnection(connectionString)) { |
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
/* | |
I created the following javascript to use bootstrapt's notifications through Javascript. | |
If you like it you may consider adding it to bootstrapt. Feel free to modify if necessary. | |
Be sure you define a div #notification-area, where the notifications are going to be displayed by default. | |
I use it with jQuery 1.7.1 but it should work with older versions. Is also use jquery.hotkeys.js ( https://github.com/jeresig/jquery.hotkeys ) for block messages hotkeys | |
*/ | |
(function( $ ){ | |
var pub = { |
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.IO; | |
using System.Linq; | |
using System.Reflection; | |
using NUnit.Framework; | |
namespace MyProject | |
{ | |
[TestFixture] |
NewerOlder