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
var physicalPath: string = '/site/wwwroot'; | |
if(taskParams.VirtualApplication) | |
{ | |
physicalPath = await appServiceUtility.getPhysicalPath(taskParams.VirtualApplication); | |
await kuduServiceUtility.createPathIfRequired(physicalPath); | |
virtualApplicationPath = physicalPath; | |
} |
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; | |
public class TspCity | |
{ | |
public Vector2 Position { get; set; } | |
} |
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 GeneticSharp.Domain; | |
using GeneticSharp.Domain.Chromosomes; | |
using GeneticSharp.Domain.Crossovers; | |
using GeneticSharp.Domain.Fitnesses; | |
using GeneticSharp.Domain.Mutations; | |
using GeneticSharp.Domain.Populations; | |
using GeneticSharp.Domain.Selections; | |
using GeneticSharp.Domain.Terminations; |
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
#tool nuget:?package=MSBuild.SonarQube.Runner.Tool&version=4.6.0 | |
#addin nuget:?package=Cake.Sonar&version=1.1.22 | |
#addin nuget:?package=Cake.Git&version=0.21.0 | |
var target = Argument("target", "Default"); | |
var solutionDir = "src"; | |
var sonarLogin = "[SONARCLOUD-USER-TOKEN]"; | |
var branch = GitBranchCurrent(".").FriendlyName; | |
Task("Build") |
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 Dapper; | |
/// <summary> | |
/// Extension methods for Dapper arguments | |
/// </summary> | |
/// <remarks> | |
/// The methods below are used to indicate the argument data type to Dapper and avoid the NVARCHAR(4000) arguments on SQL. | |
/// http://diegogiacomelli.com.br/dapper-and-the-nvarchar-4000-arguments | |
/// </remarks> | |
public static class DapperArgumentExtensions |
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 Microsoft.ServiceBus.Messaging; | |
using Newtonsoft.Json; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading.Tasks; | |
namespace Sample | |
{ | |
public class AzureServiceBus<TMessage> | |
{ |
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.Generic; | |
using System.Linq; | |
using UnityEditor; | |
using UnityEngine; | |
/// <summary> | |
/// Sorting Layer Debugger. | |
/// https://diegogiacomelli.com.br/a-sorting-layer-debugger-for-unity/ | |
/// </summary> | |
public class SortingLayerDebugger : EditorWindow |
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
pool: | |
vmImage: 'vs2017-win2016' | |
variables: | |
buildPlatform: 'Any CPU' | |
buildConfiguration: 'Release' | |
dbProject: 'Set with the name of your Sql Server Database Project' | |
targetDBConnectionString: 'Set with the connection string of the target database' | |
- task: VSBuild@1 |
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
@page "/tsp" | |
@inject IJSRuntime _js | |
<div class="container"> | |
<div class="row"> | |
<div> | |
Cities: <input type="text" @bind=@_numberOfCities onblur=@ResetGA disabled=@_tspGA.IsRunning /> | |
</div> | |
<div> | |
<button onclick=@ResetGA disabled=@_tspGA.IsRunning >Reset</button> |
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.Diagnostics; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
namespace Ocr | |
{ | |
/// <summary> | |
/// Service to read texts from images through OCR Tesseract engine. |
OlderNewer