commit
stringlengths
40
40
subject
stringlengths
4
1.73k
repos
stringlengths
5
127k
old_file
stringlengths
2
751
new_file
stringlengths
2
751
new_contents
stringlengths
1
8.98k
old_contents
stringlengths
0
6.59k
license
stringclasses
13 values
lang
stringclasses
23 values
ce5f657522cfebb285bbb3e865a7dc5db8e1e0ea
Fix test failures caused by race condition
airbrake/SharpBrake,airbrake/SharpBrake
test/Sharpbrake.Client.Tests/InternalLoggerTests.cs
test/Sharpbrake.Client.Tests/InternalLoggerTests.cs
using System; using System.Net; using System.Text; using Sharpbrake.Client.Tests.Mocks; using Xunit; namespace Sharpbrake.Client.Tests { /// <summary> /// Unit tests for the <see cref="InternalLogger"/> class. /// </summary> public class InternalLoggerTests { [Fact] public void Ena...
using System; using System.Net; using System.Text; using Sharpbrake.Client.Tests.Mocks; using Xunit; namespace Sharpbrake.Client.Tests { /// <summary> /// Unit tests for the <see cref="InternalLogger"/> class. /// </summary> public class InternalLoggerTests { [Fact] public void Ena...
mit
C#
ca3200a33e70f20b272c133736a6d3e6db8098c8
add debug info, because doesn't find '¥n'
kheiakiyama/speech-eng-functions
SentenceScraping/run.csx
SentenceScraping/run.csx
#r "System.Configuration" #r "System.Collections" #r "System.Linq.Expressions" #load "../QuestionEntity.csx" using System.Net; using System.Net.Http; using System.Configuration; using System.Linq; using Newtonsoft.Json; using Microsoft.Azure; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.T...
#r "System.Configuration" #r "System.Collections" #r "System.Linq.Expressions" #load "../QuestionEntity.csx" using System.Net; using System.Net.Http; using System.Configuration; using System.Linq; using Newtonsoft.Json; using Microsoft.Azure; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.T...
mit
C#
abe84242341e8b7e6c58c964ea8950cea2334f5d
Remove clams.
hiddenswitch/Meteor-Unity,hiddenswitch/Meteor-Unity
Tests/CollectionTests.cs
Tests/CollectionTests.cs
using System; using Meteor; using UnityEngine; using Extensions; using System.Collections; using System.Linq; using UnTested; namespace Meteor.Tests { [TestFixture] public class CollectionTests : ConnectionTestDependency { public class TestCollection1Type : MongoDocument { public string field1; public TestC...
using System; using Meteor; using UnityEngine; using Extensions; using System.Collections; using System.Linq; using UnTested; namespace Meteor.Tests { [TestFixture] public class CollectionTests : ConnectionTestDependency { public class TestCollection1Type : MongoDocument { public string field1; public TestC...
mit
C#
4479ef54c89c7926beeb4ee2645b6ce581233648
Update NumberFormatting.cs
keith-hall/Extensions,keith-hall/Extensions
src/NumberFormatting.cs
src/NumberFormatting.cs
using System.Text.RegularExpressions; namespace HallLibrary.Extensions { public static class NumberFormatting { private static readonly Regex _number = new Regex(@"^-?\d+(?:" + _defaultDecimalSeparatorForRegex + @"\d+)?$"); // TODO: replace dot with decimal separator from current culture private static readonly ...
namespace HallLibrary.Extensions { public static class NumberFormatting { private static readonly Regex _number = new Regex(@"^-?\d+(?:" + _defaultDecimalSeparatorForRegex + @"\d+)?$"); // TODO: replace dot with decimal separator from current culture private static readonly Regex _thousands = new Regex(@"(?<=\d)(...
apache-2.0
C#
e102d194efd4feeade6bfa782f5728a0483d8483
Fix sorting of search bags
projecteon/thecollection,projecteon/thecollection,projecteon/thecollection,projecteon/thecollection
TheCollection.Web/Commands/SearchBagsCommand.cs
TheCollection.Web/Commands/SearchBagsCommand.cs
using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.Documents; using System.Linq; using System.Threading.Tasks; using TheCollection.Business.Tea; using TheCollection.Web.Constants; using TheCollection.Web.Extensions; using TheCollection.Web.Models; using TheCollection.Web.Services; namespace TheCollection.Web.Comma...
using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.Documents; using System.Linq; using System.Threading.Tasks; using TheCollection.Business.Tea; using TheCollection.Web.Constants; using TheCollection.Web.Extensions; using TheCollection.Web.Models; using TheCollection.Web.Services; namespace TheCollection.Web.Comma...
apache-2.0
C#
cdeb6029ce9964bf4a27e11c7432e9e93255c273
Test fix.
modulexcite/lokad-cqrs
Framework/Lokad.Cqrs.Portable.Tests/Feature.TapeStorage/FileTapeReaderTests.cs
Framework/Lokad.Cqrs.Portable.Tests/Feature.TapeStorage/FileTapeReaderTests.cs
using System; using System.IO; using System.Linq; using NUnit.Framework; namespace Lokad.Cqrs.Feature.TapeStorage { [TestFixture] public class FileTapeReaderTests { [Test] public void CanReadImmediatelyAfterWrite() { const string name = "test"; ...
using System; using System.IO; using System.Linq; using NUnit.Framework; namespace Lokad.Cqrs.Feature.TapeStorage { [TestFixture] public class FileTapeReaderTests { [Test] public void CanReadImmediatelyAfterWrite() { const string name = "test"; ...
bsd-3-clause
C#
39e0362db13a96bed21f265bcb5ae94c87e28097
Reduce size of spinner blueprint to better represent gameplay size
ppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu
osu.Game.Rulesets.Osu/Edit/Blueprints/Spinners/Components/SpinnerPiece.cs
osu.Game.Rulesets.Osu/Edit/Blueprints/Spinners/Components/SpinnerPiece.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; using osu.G...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; using osu.G...
mit
C#
b539fe95fca449dafb20d11c484396b2d3f1894a
Set default for GlobalOptions.
aluxnimm/outlookcaldavsynchronizer
CalDavSynchronizer/Contracts/GlobalOptions.cs
CalDavSynchronizer/Contracts/GlobalOptions.cs
// This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/) // Copyright (c) 2015 Gerhard Zehetbauer // Copyright (c) 2015 Alexander Nimmervoll // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License a...
// This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/) // Copyright (c) 2015 Gerhard Zehetbauer // Copyright (c) 2015 Alexander Nimmervoll // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License a...
agpl-3.0
C#
ddb725ef53fa6c62920e995f822424cc6736459d
Add very rough description of JavascriptCallbackProxy - should be enough to give at least the basic idea of how it fits together
twxstar/CefSharp,rlmcneary2/CefSharp,VioletLife/CefSharp,Haraguroicha/CefSharp,ruisebastiao/CefSharp,jamespearce2006/CefSharp,dga711/CefSharp,windygu/CefSharp,haozhouxu/CefSharp,zhangjingpu/CefSharp,windygu/CefSharp,zhangjingpu/CefSharp,yoder/CefSharp,AJDev77/CefSharp,AJDev77/CefSharp,AJDev77/CefSharp,windygu/CefSharp,...
CefSharp/Internals/JavascriptCallbackProxy.cs
CefSharp/Internals/JavascriptCallbackProxy.cs
// Copyright © 2010-2014 The CefSharp Project. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; using System.Runtime.Serialization; using System.ServiceModel; using System.Threading.Tasks; namespace CefSharp.Internals { ///...
// Copyright © 2010-2014 The CefSharp Project. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; using System.Runtime.Serialization; using System.ServiceModel; using System.Threading.Tasks; namespace CefSharp.Internals { [Da...
bsd-3-clause
C#
db959401fb4159cd4fba5aac3bfc47ed576ac2b3
Increment build number
emoacht/SnowyImageCopy
Source/SnowyImageCopy/Properties/AssemblyInfo.cs
Source/SnowyImageCopy/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // ass...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // ass...
mit
C#
0371f59229a3570511bfcbcc746b023ae5e50df2
Update ICurrentCommandProvider.cs
tiksn/TIKSN-Framework
TIKSN.Core/PowerShell/ICurrentCommandProvider.cs
TIKSN.Core/PowerShell/ICurrentCommandProvider.cs
namespace TIKSN.PowerShell { public interface ICurrentCommandProvider { CommandBase GetCurrentCommand(); } }
namespace TIKSN.PowerShell { public interface ICurrentCommandProvider { CommandBase GetCurrentCommand(); } }
mit
C#
a9bb8156a48b7c392d344ed31f9ff8cfbafa181e
add warning when DefaultCredentials are used
Opiskull/PowershellRelease
src/PowershellHelper/Commands/New-Release.cs
src/PowershellHelper/Commands/New-Release.cs
using System.Management.Automation; using LibGit2Sharp; using PowershellHelper.Services; namespace PowershellHelper.Commands { [Cmdlet(VerbsCommon.New, "Release", DefaultParameterSetName = "VersionCommit")] public class NewRelease : PSCmdlet { [Parameter( ParameterSetName = "Ve...
using System.Management.Automation; using LibGit2Sharp; using PowershellHelper.Services; namespace PowershellHelper.Commands { [Cmdlet(VerbsCommon.New, "Release", DefaultParameterSetName = "VersionCommit")] public class NewRelease : PSCmdlet { [Parameter( ParameterSetName = "Ve...
mit
C#
d8ce1fd86cda5d00ec78ce3c63ae4b2fb9023012
Fix osu!catch not handling all vertical space
UselessToucan/osu,peppy/osu-new,smoogipoo/osu,2yangk23/osu,UselessToucan/osu,EVAST9919/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,ppy/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,EVAST9919/osu,johnneijzen/osu,peppy/osu,2yangk23/osu,smoogipooo/osu,ppy/osu,ppy/osu,johnneijzen/osu
osu.Game.Rulesets.Catch/UI/CatchPlayfield.cs
osu.Game.Rulesets.Catch/UI/CatchPlayfield.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Beatmaps; using osu.Game.Rulesets.Catch.Objects; using osu.Game.Rules...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Beatmaps; using osu.Game.Rulesets.Catch.Objects; using osu.Game.Rules...
mit
C#
48cfa4881e08b6590d76b42e889f1203f91eb34d
Reduce API calls..
Evorlor/Fitachi,Evorlor/Fitachi,Evorlor/Fitachi
Assets/Scripts/AdventureScripts/AdventuringPlayer.cs
Assets/Scripts/AdventureScripts/AdventuringPlayer.cs
using UnityEngine; using System.Collections; using System.Collections.Generic; public class AdventuringPlayer : MonoBehaviour { private int AttackDamage; private float attackSpeed; public float weakenPlayerMultiplier = 10.0f; List<Enemy> enemies = new List<Enemy>(); // Use this for initializati...
using UnityEngine; using System.Collections; using System.Collections.Generic; public class AdventuringPlayer : MonoBehaviour { private int AttackDamage; private float attackSpeed; public float weakenPlayerMultiplier = 10.0f; List<Enemy> enemies = new List<Enemy>(); // Use this for initializati...
mit
C#
c6a288edf4da15660e8487f6eea7cef22e896aa5
Bump version to 1.0.1 for Scallion.Tools.Essentials
paralleltree/Scallion.Tools
Scallion.Tools.Essentials/Properties/AssemblyInfo.cs
Scallion.Tools.Essentials/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Scallion.Tools.Essentials")] [assembly: AssemblyDescription("A helper assembly for running as console application")] [assembly: AssemblyCompany("paltee.net")] [assembly: AssemblyProduct("Sca...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Scallion.Tools.Essentials")] [assembly: AssemblyDescription("A helper assembly for running as console application")] [assembly: AssemblyCompany("paltee.net")] [assembly: AssemblyProduct("Sca...
mit
C#
fede88cd7d31f38b9ccb1cf8719b4fb1ccb4bcfa
Update CosmosTableExtensions.cs
tiksn/TIKSN-Framework
TIKSN.Core/Data/CosmosTable/CosmosTableExtensions.cs
TIKSN.Core/Data/CosmosTable/CosmosTableExtensions.cs
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.Azure.Cosmos.Table; namespace TIKSN.Data.CosmosTable { public static class CosmosTableExtensions { public static Task<IEnumerable<T>> RetrieveAllAsync<T>(this ICosmosTableQueryRepositor...
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.Azure.Cosmos.Table; namespace TIKSN.Data.CosmosTable { public static class CosmosTableExtensions { public static Task<IEnumerable<T>> RetrieveAllAsync<T>(this ICosmosTableQueryRepositor...
mit
C#
dde1e6973a298cf784995be82db47bf3bcf649d7
Fix for SQL error on Azure: https://github.com/Nicholas-Westby/usergrouppermissions/issues/8
Nicholas-Westby/usergrouppermissions,Nicholas-Westby/usergrouppermissions,Nicholas-Westby/usergrouppermissions
UserGroupPermissions/Models/UserTypePermissionRow.cs
UserGroupPermissions/Models/UserTypePermissionRow.cs
namespace UserGroupPermissions.Models { using Umbraco.Core.Persistence; using Umbraco.Core.Persistence.DatabaseAnnotations; [TableName("UserTypePermissions")] [PrimaryKey("AutoId", autoIncrement = true)] public class UserTypePermissionRow { [PrimaryKeyColumn(AutoIncrement = true, Cluste...
namespace UserGroupPermissions.Models { using Umbraco.Core.Persistence; [TableName("UserTypePermissions")] public class UserTypePermissionRow { public int NodeId { get; set; } public int UserTypeId { get; set; } // Should be a char, but changed to string due to Umbraco bug: http...
mit
C#
8864ebcf54c95a7cad9d46d8358b719b49949d5e
Add link to explanatory comment
mgoertz-msft/roslyn,stephentoub/roslyn,weltkante/roslyn,CyrusNajmabadi/roslyn,CyrusNajmabadi/roslyn,wvdd007/roslyn,davkean/roslyn,mgoertz-msft/roslyn,genlu/roslyn,physhi/roslyn,mavasani/roslyn,tmat/roslyn,wvdd007/roslyn,shyamnamboodiripad/roslyn,eriawan/roslyn,AlekseyTs/roslyn,AmadeusW/roslyn,davkean/roslyn,ErikSchierb...
src/Workspaces/Core/Portable/Options/EditorConfig/EditorConfigStorageLocationExtensions.cs
src/Workspaces/Core/Portable/Options/EditorConfig/EditorConfigStorageLocationExtensions.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using Microsoft.CodeAnalysis.Diagnostics; namespace Microsoft.CodeAnalysis.Options { internal static cla...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using Microsoft.CodeAnalysis.Diagnostics; namespace Microsoft.CodeAnalysis.Options { internal static cla...
mit
C#
f3d6246434aec94e8a4839761201c843f8d56b65
Add alternative non-array implementation.
zhangz/edulinq,zhangz/edulinq,jskeet/edulinq,pyaria/edulinq,iainholder/edulinq,jskeet/edulinq,pyaria/edulinq,iainholder/edulinq,jskeet/edulinq
src/Edulinq/Empty.cs
src/Edulinq/Empty.cs
#region Copyright and license information // Copyright 2010-2011 Jon Skeet // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 ...
#region Copyright and license information // Copyright 2010-2011 Jon Skeet // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 ...
apache-2.0
C#
f0311d2d9881a13c4f5230507391f469d3280525
Fix build warning
rmandvikar/csharp-extensions,rmandvikar/csharp-extensions
tests/rm.ExtensionsTest/UriExtensionTest.cs
tests/rm.ExtensionsTest/UriExtensionTest.cs
using System; using NUnit.Framework; using rm.Extensions; namespace rm.ExtensionsTest { [TestFixture] public class UriExtensionTest { [Test] [TestCase("http://rmandvikar.github.io/images/ds.jpg", Hasher.sha1, "9ca6c1c83f07a42dc5549bc2ba0b2079686d0e12")] [TestCase("http://rmandvikar.github.io/images/ds.jpg", ...
using System; using NUnit.Framework; using rm.Extensions; namespace rm.ExtensionsTest { [TestFixture] public class UriExtensionTest { [Test] [TestCase("http://rmandvikar.github.io/images/ds.jpg", Hasher.sha1, "9ca6c1c83f07a42dc5549bc2ba0b2079686d0e12")] [TestCase("http://rmandvikar.github.io/images/ds.jpg", ...
mit
C#
4ca8c4af4c4f992260dd30daabe6d0d4ec4f9a48
Set MinigameBehavior non-abstract
cooperra/ld34-beanstalkers-extreme
Assets/Scripts/MinigameBehavior.cs
Assets/Scripts/MinigameBehavior.cs
using UnityEngine; using System.Collections; public class MinigameBehavior : MainBehaviour { private MinigameManager _minigameManager; public GameObject[] NecessaryObjects; public GameObject NextGame; // Use this for initialization void Start () { //_minigameManager = MinigameManager.Instance; if (NextGame...
using UnityEngine; using System.Collections; public abstract class MinigameBehavior : MainBehaviour { private MinigameManager _minigameManager; public GameObject[] NecessaryObjects; public GameObject NextGame; // Use this for initialization void Start () { //_minigameManager = MinigameManager.Instance; if ...
mit
C#
f0703b6bb51af9476b2407d45cf49dfe2f1ee276
bump up the assembly version
KeyPay/keypay-dotnet,KeyPay/keypay-dotnet,KeyPay/keypay-dotnet,KeyPay/keypay-dotnet
src/keypay-dotnet/Properties/AssemblyInfo.cs
src/keypay-dotnet/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("KeyPay")] [assembly: AssemblyDescription(...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("KeyPay")] [assembly: AssemblyDescription(...
mit
C#
c9329cd5b36ee28c48e63821aec273700cf70938
Update AG_AnagramProcessor.cs
sooperdex/code-dojo,sooperdex/code-dojo,sooperdex/code-dojo
kata/anagrams/csharp/AG_AnagramProcessor.cs
kata/anagrams/csharp/AG_AnagramProcessor.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Anagrams { public class AnagramProcessor { public IEnumerable<string> GenerateAnagram(string anagramString) { if (anagramString.Length == 0) yield break; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Anagrams { class AnagramProcessor { char[] anagramScramble; List<string> anagramDictionary = new List<string>(); public void ProcessString(string inputString) ...
mit
C#
44eff69334fc3cc697454bc580cd0118f2cd44cd
Simplify add/update of ResourceHandler
ITGlobal/CefSharp,haozhouxu/CefSharp,rlmcneary2/CefSharp,Octopus-ITSM/CefSharp,yoder/CefSharp,jamespearce2006/CefSharp,windygu/CefSharp,zhangjingpu/CefSharp,rover886/CefSharp,battewr/CefSharp,Haraguroicha/CefSharp,gregmartinhtc/CefSharp,windygu/CefSharp,Haraguroicha/CefSharp,Livit/CefSharp,Octopus-ITSM/CefSharp,haozhou...
CefSharp/DefaultResourceHandler.cs
CefSharp/DefaultResourceHandler.cs
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; using System.Collections.Generic; namespace CefSharp { public class DefaultResourceHandler : IResourceHandler { pub...
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; using System.Collections.Generic; namespace CefSharp { public class DefaultResourceHandler : IResourceHandler { pub...
bsd-3-clause
C#
5aaf784652a2e95a72cee5b33beccbf3b0626f7f
Add exception handler to main()
acraven/saucy
src/Saucy/Program.cs
src/Saucy/Program.cs
using CommandLineParser; using Saucy.Actions; using Saucy.Providers.GitHub; namespace Saucy { using System; public class Program { public static int Main(string[] args) { var consoleWriter = new ConsoleWriter(); try { var settings = new SaucySettings(); ...
using CommandLineParser; using Saucy.Actions; using Saucy.Providers.GitHub; namespace Saucy { public class Program { public static int Main(string[] args) { var settings = new SaucySettings(); ILogger logger = new VerboseLogger(); var restoreVerb = new SaucyCommandLine( ...
mit
C#
b7371aa553f113ecf11065a24afe8ccf4d3b08bb
Add option to use current dir.
greymind/WebApiToTypeScript,greymind/WebApiToTypeScript,greymind/WebApiToTypeScript
src/Watts/Program.cs
src/Watts/Program.cs
using System; using System.Diagnostics; using System.IO; namespace Watts { internal class Program { private static int Main(string[] args) { var watts = new WebApiToTypeScript.WebApiToTypeScript(); if (args.Length == 0) { var path = Path.Comb...
using System; namespace Watts { internal class Program { private static int Main(string[] args) { if (args.Length != 1) { Console.WriteLine("Usage: Watts.exe <\"Path/To/Config.json\">"); return 1; } var watts = ne...
mit
C#
5721610065db1c360aed7ef8a8e5e3fa3b177f2b
Use vs prerelease
Fody/LoadAssembliesOnStartup
build.cake
build.cake
//======================================================= // DEFINE PARAMETERS //======================================================= // Define the required parameters var Parameters = new Dictionary<string, object>(); Parameters["SolutionName"] = "LoadAssembliesOnStartup.Fody"; Parameters["Company"] = "Fody"; Para...
//======================================================= // DEFINE PARAMETERS //======================================================= // Define the required parameters var Parameters = new Dictionary<string, object>(); Parameters["SolutionName"] = "LoadAssembliesOnStartup.Fody"; Parameters["Company"] = "Fody"; Para...
mit
C#
2b4a2137926e317e5216e3909df7fb63b1d57959
bump version
davetimmins/Anywhere.ArcGIS,davetimmins/Anywhere.ArcGIS
build.cake
build.cake
using System.Text.RegularExpressions; #tool nuget:?package=NUnit.ConsoleRunner&version=3.4.0 ////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////////////////////////////////////////////////////////////////// var target = Argument("target", "Default"); var configuration = Argume...
using System.Text.RegularExpressions; #tool nuget:?package=NUnit.ConsoleRunner&version=3.4.0 ////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////////////////////////////////////////////////////////////////// var target = Argument("target", "Default"); var configuration = Argume...
mit
C#
95b745bc31fd432b01e89c23e6ca045e943ce4dc
Update build script
Flamtap/Flamtap
build.cake
build.cake
#tool nuget:?package=NUnit.ConsoleRunner&version=3.7.0 ////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////////////////////////////////////////////////////////////////// var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); //////...
#tool nuget:?package=NUnit.ConsoleRunner&version=3.7.0 ////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////////////////////////////////////////////////////////////////// var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); //////...
mit
C#
dc2aa35fc08682a3c7ad81dad884c3d8a4dd2cf9
Add TODOS to build script for dnx/dnvm
jamesqo/flavor.net,jamesqo/flavor.net
build.cake
build.cake
var target = Argument("target", "Default"); var config = Argument("configuration", "Release"); // TODO: Task("Upgrade").Does(() => DNVMUpgrade()) when support for dnvm is added. Task("Restore") .Does(() => { var files = GetFiles("**/project.json"); foreach (var file in files) DNURestore(file); });...
var target = Argument("target", "Default"); var config = Argument("configuration", "Release"); Task("Restore") .Does(() => { var files = GetFiles("**/project.json"); foreach (var file in files) DNURestore(file); }); Task("Build") .IsDependentOn("Restore") .Does(() => { MSBuild("flavor....
bsd-2-clause
C#
8bfd8117ecfff68b3127b1b4ad89f543469e743c
Add publish task
frozenskys/appy-christmas,frozenskys/appy-christmas
build.cake
build.cake
/////////////////////////////////////////////////////////////////////////////// // Tools and Addins /////////////////////////////////////////////////////////////////////////////// #addin nuget:?package=Cake.Figlet /////////////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////////...
/////////////////////////////////////////////////////////////////////////////// // Tools and Addins /////////////////////////////////////////////////////////////////////////////// #addin nuget:?package=Cake.Figlet /////////////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////////...
mit
C#
7972bbade0c2618159e9f4171fddba30d0d9d75f
Fix compilation
Fody/Costura,Fody/Costura
build.cake
build.cake
//======================================================= // DEFINE PARAMETERS //======================================================= // Define the required parameters var Parameters = new Dictionary<string, object>(); Parameters["SolutionName"] = "Costura.Fody"; Parameters["Company"] = "Fody"; Parameters["Reposito...
//======================================================= // DEFINE PARAMETERS //======================================================= // Define the required parameters var Parameters = new Dictionary<string, object>(); Parameters["SolutionName"] = "Costura.Fody"; Parameters["Company"] = "Fody"; Parameters["Reposito...
mit
C#
8a77bec559399b3de11ab937381ccda3dfb5a720
Add build config
Fody/LoadAssembliesOnStartup
build.cake
build.cake
//======================================================= // DEFINE PARAMETERS //======================================================= // Define the required parameters var Parameters = new Dictionary<string, object>(); Parameters["SolutionName"] = "LoadAssembliesOnStartup.Fody"; Parameters["Company"] = "Fody"; Para...
//======================================================= // DEFINE PARAMETERS //======================================================= // Define the required parameters var Parameters = new Dictionary<string, object>(); Parameters["SolutionName"] = "LoadAssembliesOnStartup.Fody"; Parameters["Company"] = "Fody"; Para...
mit
C#
25c9dbb6adfdb5681553a20a193ddc682d5d90e4
fix build script
rmterra/NesZord
build.cake
build.cake
#addin Cake.Coveralls #tool "xunit.runner.console" #tool coveralls.io var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); var outDir = "./artifacts"; var solution = "./src/NesZord.sln"; var testProjects = $"./src/**/bin/{configuration}/*.Tests.New.dll"; Task("Restor...
#addin Cake.Coveralls #tool "xunit.runner.console" #tool coveralls.io var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); var outDir = "./artifacts"; var solution = "./src/NesZord.sln"; var testProjects = $"./src/**/bin/{configuration}/*.Tests.New.dll"; Task("Restor...
apache-2.0
C#
1c006e2d4a5400c86bb5753f3b09bd839182fd62
Fix encoding of HTML in status
drasticactions/WinMasto
WinMasto/Tools/Converters/StripHtmlConverter.cs
WinMasto/Tools/Converters/StripHtmlConverter.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using Windows.UI.Xaml.Data; using WinMasto.Tools.Extensions; namespace WinMasto.Tools.Converters { public class StripHtmlConverter : IValueConverter { public object Con...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.UI.Xaml.Data; using WinMasto.Tools.Extensions; namespace WinMasto.Tools.Converters { public class StripHtmlConverter : IValueConverter { public object Convert(object value,...
mit
C#
f8e8c379ed43c2add5daa055d4c3c5484779c107
Update UsingGetStyleSetStyle.cs
aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells...
Examples/CSharp/Formatting/ApproachesToFormatData/UsingGetStyleSetStyle.cs
Examples/CSharp/Formatting/ApproachesToFormatData/UsingGetStyleSetStyle.cs
using System.IO; using Aspose.Cells; using System.Drawing; namespace Aspose.Cells.Examples.Formatting.ApproachesToFormatData { public class UsingGetStyleSetStyle { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. s...
using System.IO; using Aspose.Cells; using System.Drawing; namespace Aspose.Cells.Examples.Formatting.ApproachesToFormatData { public class UsingGetStyleSetStyle { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Aspose.C...
mit
C#
95ac57d648b0d48c7e20c4da43ac10e72e6f345a
Add some SingleOrQueue documentation.
grokys/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,Perspex/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,akrisiun/Perspex,jkoritzin...
src/Avalonia.Base/Utilities/SingleOrQueue.cs
src/Avalonia.Base/Utilities/SingleOrQueue.cs
using System; using System.Collections.Generic; using System.Text; namespace Avalonia.Utilities { /// <summary> /// FIFO Queue optimized for holding zero or one items. /// </summary> /// <typeparam name="T">The type of items held in the queue.</typeparam> public class SingleOrQueue<T> { ...
using System; using System.Collections.Generic; using System.Text; namespace Avalonia.Utilities { public class SingleOrQueue<T> { private T _head; private Queue<T> _tail; private Queue<T> Tail => _tail ?? (_tail = new Queue<T>()); public bool HasTail => _tail != null; ...
mit
C#
5d3b2d7df83e2be0c2b7477f8bea7c9bb3d8f582
Update GenericScripts/RandomExtensions.cs
KevinJones/unity-cookbook
GenericScripts/RandomExtensions.cs
GenericScripts/RandomExtensions.cs
using UnityEngine; using System.Collections; /// <summary> /// Helpful random number features not implemented by Unity. /// </summary> public static class RandomExtensions { /// <summary> /// Returns a float between -1 and 1 in a binomial distribution centered at 0. /// </summary> public static float GetBinomial...
using UnityEngine; using System.Collections; /// <summary> /// Helpful random number features not implemented by Unity. /// </summary> public static class RandomExtensions { /// <summary> /// Returns a float between -1 and 1 in a binomial distribution centered at 0. /// </summary> public static float GetBinomial...
mit
C#
bac75d7e943f8ad70f86fed814203daad7903387
Add glimpse link url
EmilMitev/ASP.NET-MVC-Course-Project,EmilMitev/ASP.NET-MVC-Course-Project,EmilMitev/ASP.NET-MVC-Course-Project
Source/StackFaceSystem/Web/StackFaceSystem.Web/Views/Shared/_Layout.cshtml
Source/StackFaceSystem/Web/StackFaceSystem.Web/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - My ASP.NET Application</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") </head> <body> <div class="navbar navbar-i...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - My ASP.NET Application</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") </head> <body> <div class="navbar navbar-i...
mit
C#
08c9eb301418a53ea6c48946740276aa9f7902bf
Implement indexer for IList<T> used as BufferList
trurl123/csharp-driver,mintsoft/csharp-driver,maxwellb/csharp-driver,AtwooTM/csharp-driver,datastax/csharp-driver,alprema/csharp-driver,kishkaru/csharp-driver,bridgewell/csharp-driver,maxwellb/csharp-driver,jorgebay/csharp-driver,datastax/csharp-driver
src/Cassandra/Collections/ArrayBackedList.cs
src/Cassandra/Collections/ArrayBackedList.cs
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; namespace Cassandra.Collections { /// <summary> /// It creates a IList{T} wrapper of an array to avoid extra allocations of List{T} for read-only lists /// </summary> internal class ArrayBac...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; namespace Cassandra.Collections { /// <summary> /// It creates a IList{T} wrapper of an array to avoid extra allocations of List{T} for read-only lists /// </summary> internal class ArrayBac...
apache-2.0
C#
dbf9566444acd9036dd9ab8187413db46c860a3c
Use intermediate variables to improve readability.
brendanjbaker/Bakery
src/Bakery/Security/BasicAuthenticationPrinter.cs
src/Bakery/Security/BasicAuthenticationPrinter.cs
namespace Bakery.Security { using System; using System.Text; using Text; public class BasicAuthenticationPrinter : IBasicAuthenticationPrinter { private readonly IBase64Printer base64Printer; private readonly Encoding encoding; public BasicAuthenticationPrinter(IBase64Printer base64Printer, ...
namespace Bakery.Security { using System; using System.Text; using Text; public class BasicAuthenticationPrinter : IBasicAuthenticationPrinter { private readonly IBase64Printer base64Printer; private readonly Encoding encoding; public BasicAuthenticationPrinter(IBase64Printer base64Printer, ...
mit
C#
0d671a902c669a2753e56dba114c3026407cec67
Enable automatic versioning and Nuget packaging of shippable Vipr binaries
tonycrider/Vipr,Microsoft/Vipr,v-am/Vipr,tonycrider/Vipr,ysanghi/Vipr,MSOpenTech/Vipr
src/Core/Vipr/Program.cs
src/Core/Vipr/Program.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using System.IO; namespace Vipr { internal class Program { private static void Main(string[] args) { ...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using System.IO; using System.Reflection; using System.Text; using System.Xml.Linq; using Vipr.Core; namespace Vipr { internal c...
mit
C#
c90647946542165d8963c226aa8b498e401285a5
Remove redundant await
atifaziz/WebLinq,atifaziz/WebLinq,weblinq/WebLinq,weblinq/WebLinq
src/Core/Zip/ZipQuery.cs
src/Core/Zip/ZipQuery.cs
#region Copyright (c) 2016 Atif Aziz. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ap...
#region Copyright (c) 2016 Atif Aziz. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ap...
apache-2.0
C#
df60736940e7fe59f695757de5b33b822107d961
fix prosody element name retrieval
plivo/plivo-dotnet,plivo/plivo-dotnet
src/Plivo/XML/Prosody.cs
src/Plivo/XML/Prosody.cs
using dict = System.Collections.Generic.Dictionary<string, string>; using list = System.Collections.Generic.List<string>; namespace Plivo.XML { public class Prosody : PlivoElement { public Prosody(string body, dict parameters) : base(body, parameters) { Nestables = new l...
using dict = System.Collections.Generic.Dictionary<string, string>; using list = System.Collections.Generic.List<string>; namespace Plivo.XML { public class Prosody : PlivoElement { public Prosody(string body, dict parameters) : base(body, parameters) { Nestables = new l...
mit
C#
7653ce80cd3b7c17d85dcc261ecf563b1791706a
add a period after EVERYTHING
EVAST9919/osu,peppy/osu,DrabWeb/osu,UselessToucan/osu,UselessToucan/osu,ZLima12/osu,smoogipooo/osu,peppy/osu,EVAST9919/osu,DrabWeb/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,ppy/osu,naoey/osu,smoogipoo/osu,UselessToucan/osu,ZLima12/osu,naoey/osu,johnneijzen/osu,smoogipoo/osu,2yangk23/osu,peppy/osu-new,NeoAdonis/osu,ppy/os...
osu.Game.Rulesets.Osu/Mods/OsuModArrange.cs
osu.Game.Rulesets.Osu/Mods/OsuModArrange.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using System.Collections.Generic; using osu.Framework.Extensions.IEnumerableExtensions; using osu.Framework.Graphics; using osu.Game.Graphics; using osu.G...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using System.Collections.Generic; using osu.Framework.Extensions.IEnumerableExtensions; using osu.Framework.Graphics; using osu.Game.Graphics; using osu.G...
mit
C#
1ac9c7c15a88fe24132084b93c2d619cfb46b2da
Add license header to WebRequestExtensions
NeoAdonis/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,peppy/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu
osu.Game/Extensions/WebRequestExtensions.cs
osu.Game/Extensions/WebRequestExtensions.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.IO.Network; using osu.Framework.Extensions.IEnumerableExtensions; using System.Collections.Generic; using Newtonsoft.Json; using Newtonsoft.Json.Linq...
using osu.Framework.IO.Network; using osu.Framework.Extensions.IEnumerableExtensions; using System.Collections.Generic; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace osu.Game.Extensions { public class Cursor { [JsonExtensionData] public IDictionary<string, JToken> Properties; ...
mit
C#
0bed45a0eb3f10106f28cf6019d260cb16a5328b
Solve issue when running the app in IE 11
xizhe-zhang/aspnet5-angular2-typescript,myomyinthan/aspnet5-angular2-typescript,myomyinthan/aspnet5-angular2-typescript,myomyinthan/aspnet5-angular2-typescript,myomyinthan/aspnet5-angular2-typescript,chsakell/aspnet5-angular2-typescript,xizhe-zhang/aspnet5-angular2-typescript,chsakell/aspnet5-angular2-typescript,xizhe-...
src/PhotoGallery/Views/Shared/_Layout.cshtml
src/PhotoGallery/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>@ViewBag.Title</title> @*<base href="/">*@ <link href="~/lib/css/bootstrap.css" rel="stylesheet" /> <link ...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>@ViewBag.Title</title> @*<base href="/">*@ <link href="~/lib/css/bootstrap.css" rel="stylesheet" /> <link ...
mit
C#
7622ab289c4e04e61d65645a8fbe54c301a4571b
Enforce TLS 1.2
SkillsFundingAgency/das-referencedata,SkillsFundingAgency/das-referencedata
src/SFA.DAS.ReferenceData.Api/Global.asax.cs
src/SFA.DAS.ReferenceData.Api/Global.asax.cs
using Microsoft.ApplicationInsights.Extensibility; using Microsoft.Azure; using System.Net; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace SFA.DAS.ReferenceData.Api { public class WebApiApplication : System.Web.HttpApplication { protecte...
using Microsoft.ApplicationInsights.Extensibility; using Microsoft.Azure; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace SFA.DAS.ReferenceData.Api { public class WebApiApplication : System.Web.HttpApplication { protected void Application...
mit
C#
7b629160de72743dd126a143586d80fe85ea0be9
Update Program.cs
ShadowNoire/NadekoBot,Nielk1/NadekoBot,gfrewqpoiu/NadekoBot,ScarletKuro/NadekoBot,shikhir-arora/NadekoBot
src/NadekoBot/Program.cs
src/NadekoBot/Program.cs
using NadekoBot.Core.Services; using System.Diagnostics; using System.Threading.Tasks; namespace NadekoBot { public sealed class Program { public static async Task Main(string[] args) { if (args.Length == 2 && int.TryParse(args[0], out int shardId) &...
using NadekoBot.Core.Services; using System.Diagnostics; using System.Threading.Tasks; namespace NadekoBot { public sealed class Program { public static async Task Main(string[] args) { if (args.Length == 2 && int.TryParse(args[0], out int shardId) &...
mit
C#
7dbe1df846142ccd111633c2e7934f4a2485a34f
Revert "Enabling startup error logging"
sanjaysingh/mabweb,sanjaysingh/mabweb,sanjaysingh/mabweb,sanjaysingh/mabweb
src/MabWeb/Program.cs
src/MabWeb/Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; namespace MabWeb { public class Program { public static void Main(string[] args) { var host = new WebHostBuilder() .U...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; namespace MabWeb { public class Program { public static void Main(string[] args) { var host = new WebHostBuilder() .U...
mit
C#
21f4103d8a07ac458f23954a7285e3ae36c92dbc
Switch to version 1.3.0-new-subs01
Abc-Arbitrage/Zebus,biarne-a/Zebus,rbouallou/Zebus,AtwooTM/Zebus
src/SharedVersionInfo.cs
src/SharedVersionInfo.cs
using System.Reflection; [assembly: AssemblyVersion("1.3.0")] [assembly: AssemblyFileVersion("1.3.0")] [assembly: AssemblyInformationalVersion("1.3.0-new-subs01")]
using System.Reflection; [assembly: AssemblyVersion("1.2.2")] [assembly: AssemblyFileVersion("1.2.2")] [assembly: AssemblyInformationalVersion("1.2.2-new-subs01")]
mit
C#
3c56c4e2d1dcd2ee3c279b41e08bdf00040f6089
Remove ValueRequired attribute from DbUser Email field
samcook/AspNet.Identity.Shaolinq
AspNet.Identity.Shaolinq/DataModel/DbUser.cs
AspNet.Identity.Shaolinq/DataModel/DbUser.cs
using System; using Platform.Validation; using Shaolinq; namespace AspNet.Identity.Shaolinq.DataModel { [DataAccessObject(Name = "User")] public abstract class DbUser : DataAccessObject<Guid> { [Index(Unique = true)] [PersistedMember] public abstract string UserName { get; set; } [PersistedMember] publi...
using System; using Platform.Validation; using Shaolinq; namespace AspNet.Identity.Shaolinq.DataModel { [DataAccessObject(Name = "User")] public abstract class DbUser : DataAccessObject<Guid> { [Index(Unique = true)] [PersistedMember] public abstract string UserName { get; set; } [PersistedMember] publi...
mit
C#
55582db7306bbb9e7520545246f1c17b0c8a4d58
split 'speed' into X and Y directions
kevin-d-omara/PongOut
Assets/Scripts/Controllers/BallController.cs
Assets/Scripts/Controllers/BallController.cs
using UnityEngine; using System.Collections; public class BallController : MonoBehaviour { public float speedX = 100f; public float speedY = 100f; }
using UnityEngine; using System.Collections; public class BallController : MonoBehaviour { public float speed = 500f; }
mit
C#
6bd85cecf55f5e1ae16911b7a826cd4d365b8f07
Use string interpolation in key error
iridinite/shiftdrive
Client/Assets.cs
Client/Assets.cs
/* ** Project ShiftDrive ** (C) Mika Molenkamp, 2016. */ using System.Collections.Generic; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Audio; namespace ShiftDrive { /// <summary> /// A simple static container, for holding game assets like textures and meshes. /// </summary> ...
/* ** Project ShiftDrive ** (C) Mika Molenkamp, 2016. */ using System.Collections.Generic; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Audio; namespace ShiftDrive { /// <summary> /// A simple static container, for holding game assets like textures and meshes. /// </summary> ...
bsd-3-clause
C#
65a917f46649cd96c325c9be440d39700d0bb351
Remove redundant use of dammit (!) in dictionary
morelinq/MoreLINQ,morelinq/MoreLINQ
MoreLinq/Collections/Dictionary.cs
MoreLinq/Collections/Dictionary.cs
#region License and Terms // MoreLINQ - Extensions to LINQ to Objects // Copyright (c) 2020 Atif Aziz, Leandro F. Vieira (leandromoh). All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy o...
#region License and Terms // MoreLINQ - Extensions to LINQ to Objects // Copyright (c) 2020 Atif Aziz, Leandro F. Vieira (leandromoh). All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy o...
apache-2.0
C#
b29cf94991f1d0709bceb16563719c18dd2fe1db
Update AssemblyInfo.cs
nicjansma/rename-regex
source/Properties/AssemblyInfo.cs
source/Properties/AssemblyInfo.cs
// <copyright file="AssemblyInfo.cs" company="Nic Jansma"> // Copyright (c) Nic Jansma 2020 All Right Reserved // </copyright> // <author>Nic Jansma</author> // <email>nic@nicj.net</email> using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General In...
// <copyright file="AssemblyInfo.cs" company="Nic Jansma"> // Copyright (c) Nic Jansma 2020 All Right Reserved // </copyright> // <author>Nic Jansma</author> // <email>nic@nicj.net</email> using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General In...
mit
C#
d87af835de3894b32a68f62d37d4e7b017baf2a8
fix build
LykkeCity/bitcoinservice,LykkeCity/bitcoinservice
tests/Init/Config.cs
tests/Init/Config.cs
using System; using System.IO; using Autofac; using Autofac.Extensions.DependencyInjection; using AzureRepositories; using Common; using Common.Log; using Core.Bitcoin; using Core.Settings; using LkeServices; using Microsoft.Extensions.DependencyInjection; using NUnit.Framework; // ReSharper disable once CheckNamespa...
using System; using System.IO; using Autofac; using Autofac.Extensions.DependencyInjection; using AzureRepositories; using Common; using Common.Log; using Core.Bitcoin; using Core.Settings; using LkeServices; using Microsoft.Extensions.DependencyInjection; using NUnit.Framework; // ReSharper disable once CheckNamespa...
mit
C#
e30f44c8dfa78db220cf6921b72f5c791a683468
fix failing test
Fody/PropertyChanged,user1568891/PropertyChanged,0x53A/PropertyChanged
PropertyChangedTests/FSharpTest.cs
PropertyChangedTests/FSharpTest.cs
#if(DEBUG) using NUnit.Framework; [TestFixture] public class FSharpTest { WeaverHelper weaverHelper; public FSharpTest() { weaverHelper = new WeaverHelper(@"AssemblyFSharp\AssemblyFSharp.fsproj"); } [Test] public void EnsureReferenceIsRemoved() { var instance = weaverHelp...
#if(DEBUG) using NUnit.Framework; [TestFixture] public class FSharpTest { [Test] public void EnsureReferenceIsRemoved() { var weaverHelper = new WeaverHelper(@"AssemblyFSharp\AssemblyFSharp.fsproj"); var instance = weaverHelper.Assembly.GetInstance("Namespace.ClassWithProperties"); ...
mit
C#
4c4c76a1b61df8078e95eccc0c9d3f5629e8c749
Test suite loader was improved to work with case sensitive paths and nested folders.
ymorozov/Sitecore.TestRunnerJS,ymorozov/Sitecore.TestRunnerJS,ymorozov/Sitecore.TestRunnerJS
code/Sitecore.SpeakTest/TestFixtureController.cs
code/Sitecore.SpeakTest/TestFixtureController.cs
namespace Sitecore.SpeakTest { using System; using System.IO; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Web.Hosting; using System.Web.Http; public class TestFixtureController : ApiController { [HttpGet] public HttpResponseMessage GetByU...
namespace Sitecore.SpeakTest { using System; using System.IO; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Web.Hosting; using System.Web.Http; public class TestFixtureController : ApiController { [HttpGet] public HttpResponseMessage GetByUrl(string url...
mit
C#
e549f9e833ce96f06f46416b69427887f477e932
Update ArrayExample.cs
zulaldogan/unity-csharp-beginner
Arrays/Assets/ArrayExample.cs
Arrays/Assets/ArrayExample.cs
using UnityEngine; public class ArrayExample : MonoBehaviour { public int[] quizes = { 50, 100, 70 }; public string[] names = { "Person1", "Person2", "Person3" }; public GameObject[] myObjects; void Start() { Debug.Log(quizes[2]); Debug.Log(names[0]); } void Update() {...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ArrayExample : MonoBehaviour { // public int[] quizes = new int[3]; /*//Elements public int quiz1 = 50; public int quiz2 = 100; public int quiz3 = 70;*/ public int[] quizes = { 50, 100, 70 }; pub...
mit
C#
ac6e88f923f63c3af08bc5273eeaa81e89d85304
Fix per review
platrant/platrant
Assets/Scripts/CoinHandler.cs
Assets/Scripts/CoinHandler.cs
using UnityEngine; public class CoinHandler : MonoBehaviour { private void OnCollisionEnter2D(Collision2D coll) { GameObject gameObjHit = coll.gameObject; if (gameObjHit.CompareTag("Player")) { gameObjHit.SendMessage("UpdateScore"); Destroy(gameObject); ...
using UnityEngine; public class CoinHandler : MonoBehaviour { private void OnCollisionEnter2D(Collision2D coll) { if (coll.gameObject.CompareTag("Player")) { coll.gameObject.SendMessage("UpdateScore"); Destroy(gameObject); } } }
mit
C#
0b4347a090cd51753b2a76923acf2fc1bbb773eb
Remove unneeded comment
saidmarouf/Doccou,aloisdg/Doccou,aloisdg/CountPages
Counter/Documents/AArchive.cs
Counter/Documents/AArchive.cs
using System.IO; using System.IO.Compression; namespace Counter.Documents { internal abstract class AArchive : ADocument { public string ReadArchive(Stream archiveStream, string path) { using (var archive = new ZipArchive(archiveStream, ZipArchiveMode.Read)) { var zipArchiveEntry = archive.GetEntry(pa...
using System.IO; using System.IO.Compression; namespace Counter.Documents { // we use Microsoft Compression internal abstract class AArchive : ADocument { public string ReadArchive(Stream archiveStream, string path) { using (var archive = new ZipArchive(archiveStream, ZipArchiveMode.Read)) { var zipA...
mit
C#
416555068b9fc3ba542f4003ff997b898eeebb96
Update main window text to include nomod/modded star rating
Piotrekol/StreamCompanion,Piotrekol/StreamCompanion
osu!StreamCompanion/Code/Modules/MapDataGetters/Window/WindowDataGetter.cs
osu!StreamCompanion/Code/Modules/MapDataGetters/Window/WindowDataGetter.cs
using System; using CollectionManager.DataTypes; using CollectionManager.Enums; using osu_StreamCompanion.Code.Core.DataTypes; using osu_StreamCompanion.Code.Interfaces; using osu_StreamCompanion.Code.Windows; namespace osu_StreamCompanion.Code.Modules.MapDataGetters.Window { public class WindowDataGetter :IModul...
using osu_StreamCompanion.Code.Core.DataTypes; using osu_StreamCompanion.Code.Interfaces; using osu_StreamCompanion.Code.Windows; namespace osu_StreamCompanion.Code.Modules.MapDataGetters.Window { public class WindowDataGetter :IModule,IMapDataGetter,IMainWindowUpdater { private MainWindowUpdater _mai...
mit
C#
45089e7ed2dcf1d01cce5f4398326df57a9c8db8
Update Configuration.cs
mjmilan/crisischeckin,brunck/crisischeckin,HTBox/crisischeckin,HTBox/crisischeckin,HTBox/crisischeckin,mjmilan/crisischeckin,mjmilan/crisischeckin,brunck/crisischeckin,brunck/crisischeckin
crisischeckin/Models/Migrations/Configuration.cs
crisischeckin/Models/Migrations/Configuration.cs
namespace Models.Migrations { using System; using System.Data.Entity; using System.Data.Entity.Migrations; using System.Linq; using Common; public sealed class CrisisCheckinConfiguration : DbMigrationsConfiguration<Models.CrisisCheckin> { public CrisisCheckinConfiguration() { ...
namespace Models.Migrations { using System; using System.Data.Entity; using System.Data.Entity.Migrations; using System.Linq; using Common; public sealed class CrisisCheckinConfiguration : DbMigrationsConfiguration<Models.CrisisCheckin> { public CrisisCheckinConfiguration() { ...
apache-2.0
C#
74373f15de7812df2a4f5c0cff6275e0d15f6d2b
Change Namespace
muhammedikinci/FuzzyCore
FuzzyCore/Data/JsonCommand.cs
FuzzyCore/Data/JsonCommand.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Net.Sockets; namespace FuzzyCore.Server.Data { public class JsonCommand { public String CommandType { get; set; } public String Premission { get; set; } pub...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Net.Sockets; namespace fuzzyControl.Server.Data { public class JsonCommand { public String CommandType { get; set; } public String Premission { get; set; } ...
mit
C#
21b4e76b2b8f4ec3c9490b8c4cd4b53d1d12a6f3
Update to released 1.3.0
xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,bholmes/XamarinComponents,bholmes/XamarinComponents,bholmes/XamarinComponents,bholmes/XamarinComponents,xamarin/XamarinComponents,bholmes/XamarinComponents,xamarin/XamarinComponents,bholmes/XamarinComponents,xamarin/XamarinComponents
Android/ARCore/build.cake
Android/ARCore/build.cake
#load "../../common.cake" var TARGET = Argument ("t", Argument ("target", "Default")); var NUGET_VERSION = "1.3.0"; var AAR_VERSION = "1.3.0"; var AAR_URL = string.Format("https://dl.google.com/dl/android/maven2/com/google/ar/core/{0}/core-{0}.aar", AAR_VERSION); var OBJ_VERSION = "0.2.1"; var OBJ_URL = string.Forma...
#load "../../common.cake" var TARGET = Argument ("t", Argument ("target", "Default")); var NUGET_VERSION = "1.2.0"; var AAR_VERSION = "1.2.0"; var AAR_URL = string.Format("https://dl.google.com/dl/android/maven2/com/google/ar/core/{0}/core-{0}.aar", AAR_VERSION); var OBJ_VERSION = "0.2.1"; var OBJ_URL = string.Forma...
mit
C#
5623a9d637a09e5dfa81e7f12943c79b391c49df
Remove duration from annotation
mdsol/Medidata.ZipkinTracerModule
src/Medidata.ZipkinTracer.Core/Models/Serialization/Json/JsonAnnotation.cs
src/Medidata.ZipkinTracer.Core/Models/Serialization/Json/JsonAnnotation.cs
using System; using Newtonsoft.Json; namespace Medidata.ZipkinTracer.Models { internal class JsonAnnotation { private readonly Annotation annotation; [JsonProperty("endpoint")] public JsonEndpoint Endpoint => new JsonEndpoint(annotation.Host); [JsonProperty("value")] ...
using System; using Newtonsoft.Json; namespace Medidata.ZipkinTracer.Models { internal class JsonAnnotation { private readonly Annotation annotation; [JsonProperty("endpoint")] public JsonEndpoint Endpoint => new JsonEndpoint(annotation.Host); [JsonProperty("value")] ...
mit
C#
d13be2ca4e8c6f84109ab1db7de1018b2a5cd57d
Tidy up.
MrJoy/UnityGit
GitShell.cs
GitShell.cs
//----------------------------------------------------------------- // GitShell v0.1 // Copyright 2010 MrJoy, Inc. // All rights reserved // //----------------------------------------------------------------- // Unity editor extension for Git integration. //-----------------------------------------------------------...
//----------------------------------------------------------------- // GitShell v0.1 // Copyright 2010 MrJoy, Inc. // All rights reserved // //----------------------------------------------------------------- // Unity editor extension for Git integration. //-----------------------------------------------------------...
mit
C#
5d6ef63071b51df7db98f386c3ec2affa28cb9f5
fix bag
minus40band/GameMixer
Assets/Scripts/Controllers/BlockController.cs
Assets/Scripts/Controllers/BlockController.cs
using UnityEngine; using System.Collections; public class BlockController : MonoBehaviour { public bool Position = false; public bool Velocity = true; public bool Force = false; public int Speed = 10; private float ypos = 0; // Use this for initialization void Start () { ypos = this.transform.po...
using UnityEngine; using System.Collections; public class BlockController : MonoBehaviour { public bool Position = false; public bool Velocity = true; public bool Force = false; public int Speed = 10; private double ypos = 0; // Use this for initialization void Start () { ypos = this.transform.p...
apache-2.0
C#
0a64dfdf5cc08782625ad3d8da85e645510e4118
Update IMeidoComm
IvionSauce/MeidoBot
MeidoCommon/CommInterfaces.cs
MeidoCommon/CommInterfaces.cs
using System; namespace MeidoCommon { public interface IMeidoComm { /// <summary> /// Full path of the configuration directory. /// </summary> string ConfDir { get; } /// <summary> /// Full path of the data directory. /// </summary> string DataDi...
using System; namespace MeidoCommon { public interface IMeidoComm { string ConfDir { get; } string DataDir { get; } string ConfPathTo(string filename); string DataPathTo(string filename); ILog CreateLogger(IMeidoHook plugin); void RegisterTrigger(string trigg...
bsd-2-clause
C#
3b38460ed391be962a687fb1a2bcbffa666c85f1
更新 .net 4.5 项目版本号
JeffreySu/WxOpen,JeffreySu/WxOpen
src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Properties/AssemblyInfo.cs
src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Senparc.Weixin.WxOpen")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: ...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Senparc.Weixin.WxOpen")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: ...
apache-2.0
C#
42f535ae40d2ca9292fcdd209ee69cb26ef16382
Fix UI test
Wintellect/XamarinSamples,Wintellect/XamarinSamples
FakeDemo/UITests/Tests.cs
FakeDemo/UITests/Tests.cs
using System; using System.IO; using System.Linq; using NUnit.Framework; using Xamarin.UITest; using Xamarin.UITest.Queries; namespace FakeDemo.UITests { [TestFixture(Platform.Android)] [TestFixture(Platform.iOS)] public class Tests { IApp app; Platform platform; public Tests(...
using System; using System.IO; using System.Linq; using NUnit.Framework; using Xamarin.UITest; using Xamarin.UITest.Queries; namespace FakeDemo.UITests { [TestFixture(Platform.Android)] [TestFixture(Platform.iOS)] public class Tests { IApp app; Platform platform; public Tests(...
mit
C#
17b2a4ca0de3c486ab239da7e278fcbb9a7d8cd9
Fix D rank displaying as F
EVAST9919/osu,smoogipooo/osu,peppy/osu-new,peppy/osu,EVAST9919/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,DrabWeb/osu,peppy/osu,ZLima12/osu,ppy/osu,smoogipoo/osu,naoey/osu,2yangk23/osu,smoogipoo/osu,DrabWeb/osu,NeoAdonis/osu,UselessToucan/osu,johnneijzen/osu,NeoAdonis/osu,johnneijzen/osu,DrabWe...
osu.Game/Scoring/ScoreRank.cs
osu.Game/Scoring/ScoreRank.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System.ComponentModel; namespace osu.Game.Scoring { public enum ScoreRank { [Description(@"F")] F, [Description(@"D")] D,...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System.ComponentModel; namespace osu.Game.Scoring { public enum ScoreRank { [Description(@"F")] F, [Description(@"F")] D,...
mit
C#
863b518095df5606b293ffe156c9f7676ace6ca7
Add "are" to the command pattern
ArcticEcho/Hatman
Hatman/Commands/Should.cs
Hatman/Commands/Should.cs
using System.Text.RegularExpressions; using ChatExchangeDotNet; namespace Hatman.Commands { class Should : ICommand { private readonly Regex ptn = new Regex(@"(?i)^((sh|[cw])ould|can|are|will|is)", Extensions.RegOpts); private readonly string[] phrases = new[] { "No.", ...
using System.Text.RegularExpressions; using ChatExchangeDotNet; namespace Hatman.Commands { class Should : ICommand { private readonly Regex ptn = new Regex(@"(?i)^((sh|[cw])ould|can|will|is)", Extensions.RegOpts); private readonly string[] phrases = new[] { "No.", ...
isc
C#
3cb667d13c4f5bb7c88c86c90e08d9c275c09a69
Add license disclaimer
Octopus-ITSM/CefSharp,VioletLife/CefSharp,wangzheng888520/CefSharp,ruisebastiao/CefSharp,rlmcneary2/CefSharp,twxstar/CefSharp,AJDev77/CefSharp,haozhouxu/CefSharp,VioletLife/CefSharp,Livit/CefSharp,ruisebastiao/CefSharp,Haraguroicha/CefSharp,Livit/CefSharp,gregmartinhtc/CefSharp,rlmcneary2/CefSharp,Octopus-ITSM/CefSharp...
CefSharp.WinForms/Internals/DefaultFocusHandler.cs
CefSharp.WinForms/Internals/DefaultFocusHandler.cs
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System.Windows.Forms; namespace CefSharp.WinForms.Internals { internal class DefaultFocusHandler : IFocusHandler { private readonly Chr...
using System.Windows.Forms; namespace CefSharp.WinForms.Internals { internal class DefaultFocusHandler : IFocusHandler { private readonly ChromiumWebBrowser browser; public DefaultFocusHandler(ChromiumWebBrowser browser) { this.browser = browser; } public void OnGotFocus() { } public bool OnSe...
bsd-3-clause
C#
3543ea377f943a2b129a89f33ce92cdab054ea6f
Remove template contents from the home/index view
johanhelsing/vaskelista,johanhelsing/vaskelista
Vaskelista/Views/Home/Index.cshtml
Vaskelista/Views/Home/Index.cshtml
@{ ViewBag.Title = "Home Page"; }
@{ ViewBag.Title = "Home Page"; } <div class="jumbotron"> <h1>ASP.NET</h1> <p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p> <p><a href="http://asp.net" class="btn btn-primary btn-large">Learn more &raquo;</a></p> </di...
mit
C#
e720bed9e5bf755787bc985c1d6d20f45682fc6f
Add custom representation of unrenderable unicode characters.
DrabWeb/osu,nyaamara/osu,DrabWeb/osu,ZLima12/osu,johnneijzen/osu,tacchinotacchi/osu,EVAST9919/osu,UselessToucan/osu,Damnae/osu,NeoAdonis/osu,peppy/osu-new,NeoAdonis/osu,johnneijzen/osu,peppy/osu,UselessToucan/osu,smoogipooo/osu,RedNesto/osu,naoey/osu,ZLima12/osu,smoogipoo/osu,naoey/osu,ppy/osu,theguii/osu,Nabile-Rahman...
osu.Game/Graphics/Sprites/OsuSpriteText.cs
osu.Game/Graphics/Sprites/OsuSpriteText.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Graphics; using osu.Framework.Graphics.Sprites; using osu.Framework.MathUtils; using OpenTK; using OpenTK.Graphics; namespace osu.Game.Gra...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Graphics.Sprites; namespace osu.Game.Graphics.Sprites { class OsuSpriteText : SpriteText { public const float FONT_SIZE = ...
mit
C#
846d7cb68e89f8b4c33d118fbd3e944b65df00c8
Simplify ChildrenOfType implementation
peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework
osu.Framework/Testing/TestingExtensions.cs
osu.Framework/Testing/TestingExtensions.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; namespace osu.Framework.Testing { public static class Testin...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; namespace osu.Framework.Testing { public static class Testin...
mit
C#
6a40ef581ccd8903fd2a02aa8d15b2fc6ebdca37
Fix avatars missing in private message channel tabs / local leaderboards
smoogipoo/osu,smoogipooo/osu,ppy/osu,peppy/osu,peppy/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new
osu.Game/Users/Drawables/DrawableAvatar.cs
osu.Game/Users/Drawables/DrawableAvatar.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Sprites; using osu.Framework.Graphics.Textures; namespace osu.Game.Users.Drawa...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Sprites; using osu.Framework.Graphics.Textures; namespace osu.Game.Users.Drawa...
mit
C#
8ccbc3093f84bac8d84bb0c7bef74e3c4ebc021b
Update existing implementations to be inconclusive instead of just wrong.
ballance/csharp-assessment
Assessment.Tests/Regex.cs
Assessment.Tests/Regex.cs
using System; using Xunit; namespace Assessment.Tests { public class RegexTests { [Fact] public void Should_Validate_New_Mastercard_Format() { // Link to m/c format var regex = new Regex(); Assert.True(regex.ValidateMastercard("5454545454545454")); ...
//if ( typeof window === 'undefined' ) { // require('../../app/regex'); // var expect = require('chai').expect; //} //describe('regular expressions', function() { // it('you should be able to detect a number in a string', function() { // expect(regexAnswers.containsNumber('abc123')).to.eql(true); // expect(re...
mit
C#
5d61f406ea961c6b8b226b0c414826a2530e330e
Add the nullable DateTime type
colethecoder/chronological
Chronological/DataType.cs
Chronological/DataType.cs
using System; using Newtonsoft.Json.Linq; namespace Chronological { public class DataType { public string TimeSeriesInsightsType { get; } internal DataType(string dataType) { TimeSeriesInsightsType = dataType; } internal JProperty ToJProperty() { ...
using System; using Newtonsoft.Json.Linq; namespace Chronological { public class DataType { public string TimeSeriesInsightsType { get; } internal DataType(string dataType) { TimeSeriesInsightsType = dataType; } internal JProperty ToJProperty() { ...
mit
C#
421e23eaa15666a317b8acb82200319118538052
add equal test
ExM/Money,ExM/NMoney
Payments.Test/CurrencyTest.cs
Payments.Test/CurrencyTest.cs
using System; using NUnit.Framework; using System.Threading; using System.Globalization; namespace Payments.Test { [TestFixture] public class CurrencyTest { [TestCase("USD", "USD")] [TestCase("XXX", "XXX")] [TestCase("???", null)] public void Parse(string code, string exp) { if(exp != null) Assert....
using System; using NUnit.Framework; using System.Threading; using System.Globalization; namespace Payments.Test { [TestFixture] public class CurrencyTest { [TestCase("USD", "USD")] [TestCase("XXX", "XXX")] [TestCase("???", null)] public void Parse(string code, string exp) { if(exp != null) Assert....
mit
C#
a7904eca4ffc8c60a60ae734c8489d9e0ffcc07e
Make popups inherit properties.
jkoritzinsky/Avalonia,susloparovdenis/Perspex,SuperJMN/Avalonia,kekekeks/Perspex,Perspex/Perspex,OronDF343/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,Perspex/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,danwalmsley/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Perspex,grokys/Pe...
Perspex.Controls/PopupRoot.cs
Perspex.Controls/PopupRoot.cs
// ----------------------------------------------------------------------- // <copyright file="PopupRoot.cs" company="Steven Kirk"> // Copyright 2014 MIT Licence. See licence.md for more information. // </copyright> // ----------------------------------------------------------------------- namespace Perspex.Controls ...
// ----------------------------------------------------------------------- // <copyright file="PopupRoot.cs" company="Steven Kirk"> // Copyright 2014 MIT Licence. See licence.md for more information. // </copyright> // ----------------------------------------------------------------------- namespace Perspex.Controls ...
mit
C#
6e6b6dce88207fc0af5f1012526d41b02cdc6bcb
Remove white spaces
gzepeda/ApplicationInsights-aspnetcore,gzepeda/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnet5,gzepeda/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnetcore,Microso...
src/Microsoft.ApplicationInsights.AspNet/TelemetryInitializers/WebUserTelemetryInitializer.cs
src/Microsoft.ApplicationInsights.AspNet/TelemetryInitializers/WebUserTelemetryInitializer.cs
namespace Microsoft.ApplicationInsights.AspNet.TelemetryInitializers { using System; using System.Globalization; using Microsoft.ApplicationInsights.Channel; using Microsoft.ApplicationInsights.DataContracts; using Microsoft.AspNet.Hosting; using Microsoft.AspNet.Http; public class WebUser...
namespace Microsoft.ApplicationInsights.AspNet.TelemetryInitializers { using System; using System.Globalization; using Microsoft.ApplicationInsights.Channel; using Microsoft.ApplicationInsights.DataContracts; using Microsoft.AspNet.Hosting; using Microsoft.AspNet.Http; public class WebUser...
mit
C#
500dae69e6079afbbb90841aa4a16db969943060
add unit test
MediaBrowser/MediaBrowser.Naming,MediaBrowser/Emby.Naming,softworkz/Emby.Naming
MediaBrowser.Naming.Tests/TV/SimpleEpisodeTests.cs
MediaBrowser.Naming.Tests/TV/SimpleEpisodeTests.cs
using MediaBrowser.Naming.Common; using MediaBrowser.Naming.TV; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Globalization; using Patterns.Logging; namespace MediaBrowser.Naming.Tests.TV { [TestClass] public class SimpleEpisodeTests { [TestMethod] public void TestSimple...
using MediaBrowser.Naming.Common; using MediaBrowser.Naming.TV; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Globalization; using Patterns.Logging; namespace MediaBrowser.Naming.Tests.TV { [TestClass] public class SimpleEpisodeTests { [TestMethod] public void TestSimple...
mit
C#
3e45fef6c647f7fdc7d3f5c07b48b2e6e4056f87
Simplify uri -> filename conversion
mono/debugger-libs,mono/debugger-libs
Mono.Debugging/Mono.Debugging.Client/SourceLink.cs
Mono.Debugging/Mono.Debugging.Client/SourceLink.cs
using System; using System.IO; namespace Mono.Debugging.Client { [Serializable] public class SourceLink { public string Uri { get; } public string RelativeFilePath { get; } public SourceLink (string uri, string relativeFilePath) { RelativeFilePath = relativeFilePath; Uri = uri; } public string ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace Mono.Debugging.Client { [Serializable] public class SourceLink { // Keep the / character to use as a path separator to help group related symbols static readonly HashSet<char> invalids = new HashSet<...
mit
C#
3ebee4dcadebf013e43a62c7eebbc06ebb1a1cd7
Change back fullpath to filename in serverlogs.
palette-software/PaletteInsightAgent,palette-software/PaletteInsightAgent,palette-software/PaletteInsightAgent,palette-software/PaletteInsightAgent
PaletteInsightAgent/LogPoller/LogsToDbConverter.cs
PaletteInsightAgent/LogPoller/LogsToDbConverter.cs
using NLog; using System.Reflection; using System; using System.Data; using System.Text.RegularExpressions; using System.Net; using PaletteInsightAgent.Output; using System.IO; namespace PaletteInsightAgent.LogPoller { class LogsToDbConverter { private static readonly Logger Log = LogManager.GetCurre...
using NLog; using System.Reflection; using System; using System.Data; using System.Text.RegularExpressions; using System.Net; using PaletteInsightAgent.Output; using System.IO; namespace PaletteInsightAgent.LogPoller { class LogsToDbConverter { private static readonly Logger Log = LogManager.GetCurre...
mit
C#
b97bf7aaff53c671a3701cd434ad53256ca86b30
Add environment selection option
gnamma/client
Assets/Scripts/Client.cs
Assets/Scripts/Client.cs
using UnityEngine; using System.Collections; using Protocol; using System.Threading; public class Client : MonoBehaviour { public string alias = "parzival"; public string environment = "pillars.gsml"; private Net net; private Builder builder; void Awake() { net = GetComponent<Net>(); ...
using UnityEngine; using System.Collections; using Protocol; using System.Threading; public class Client : MonoBehaviour { public string alias = "parzival"; private Net net; private Builder builder; void Awake() { net = GetComponent<Net>(); builder = GetComponent<Builder>(); } voi...
mit
C#
2cc7909c786213f06bc3d03e96d12352e8a14e9a
Fix dead code in FrameExtensions
jamesqo/typed-xaml
src/Typed.Xaml/FrameExtensions.cs
src/Typed.Xaml/FrameExtensions.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading.Tasks; using System.Windows.Controls; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media.Animation; namespace Typed.Xaml { #if !NET451 public static class FrameExtensions { public static bool Navi...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading.Tasks; using System.Windows.Controls; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media.Animation; namespace Typed.Xaml { #if NETCORE50 public static class FrameExtensions { public static bool Na...
mit
C#
90b181c9d6696495722d3f6a8e24d87a94b0e6b1
Update ShellCommandSuspendedException.cs
tiksn/TIKSN-Framework
TIKSN.Core/Shell/ShellCommandSuspendedException.cs
TIKSN.Core/Shell/ShellCommandSuspendedException.cs
using System; namespace TIKSN.Shell { public class ShellCommandSuspendedException : Exception { public ShellCommandSuspendedException() { } public ShellCommandSuspendedException(string message) : base(message) { } public ShellCommandSuspendedException(...
using System; namespace TIKSN.Shell { public class ShellCommandSuspendedException : Exception { public ShellCommandSuspendedException() { } public ShellCommandSuspendedException(string message) : base(message) { } public ShellCommandSuspendedException(...
mit
C#
d06959e1ddcf0e13b82c1eb1eca97c52ef034e37
Update incorrect xmldoc
ppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu
osu.Game/Screens/Ranking/Statistics/StatisticItem.cs
osu.Game/Screens/Ranking/Statistics/StatisticItem.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using System; using JetBrains.Annotations; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Localisation; na...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using System; using JetBrains.Annotations; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Localisation; na...
mit
C#
d5411a9cf6e0f21d3824f501e262156311bec933
Add support for new column name in fortis export
blaise-braye/my-accounts
MyAccounts.Business/AccountOperations/Fortis/FortisOperationExportCsvMap.cs
MyAccounts.Business/AccountOperations/Fortis/FortisOperationExportCsvMap.cs
using CsvHelper.Configuration; using MyAccounts.Business.AccountOperations.Contracts; namespace MyAccounts.Business.AccountOperations.Fortis { public sealed class FortisOperationExportCsvMap : ClassMap<FortisOperation> { public FortisOperationExportCsvMap() { Map(m => m.Reference).N...
using CsvHelper.Configuration; using MyAccounts.Business.AccountOperations.Contracts; namespace MyAccounts.Business.AccountOperations.Fortis { public sealed class FortisOperationExportCsvMap : ClassMap<FortisOperation> { public FortisOperationExportCsvMap() { Map(m => m.Reference).N...
mit
C#
a19ea7aeeccc9be7ee5dc5e394b901b7f45bf8b5
Revert "Increase black hole pull power"
iridinite/shiftdrive
Client/BlackHole.cs
Client/BlackHole.cs
/* ** Project ShiftDrive ** (C) Mika Molenkamp, 2016. */ using Microsoft.Xna.Framework; namespace ShiftDrive { /// <summary> /// A <seealso cref="NamedObject"/> representing a gravitational singularity. /// </summary> internal sealed class BlackHole : NamedObject { public BlackHole() { ...
/* ** Project ShiftDrive ** (C) Mika Molenkamp, 2016. */ using Microsoft.Xna.Framework; namespace ShiftDrive { /// <summary> /// A <seealso cref="NamedObject"/> representing a gravitational singularity. /// </summary> internal sealed class BlackHole : NamedObject { public BlackHole() { ...
bsd-3-clause
C#
79ed8b9afd0c877b743c46f3be767b3ca6a11db6
change bcc broadcast method to POST
LykkeCity/bitcoinservice,LykkeCity/bitcoinservice
src/BitcoinApi/Controllers/BccController.cs
src/BitcoinApi/Controllers/BccController.cs
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using BitcoinApi.Filters; using BitcoinApi.Models.Bcc; using BitcoinApi.Models.Offchain; using Core.OpenAssets; using LkeServices.Transactions; using Microsoft.AspNetCore.Mvc; namespace BitcoinApi.Controllers { [Route...
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using BitcoinApi.Filters; using BitcoinApi.Models.Bcc; using BitcoinApi.Models.Offchain; using Core.OpenAssets; using LkeServices.Transactions; using Microsoft.AspNetCore.Mvc; namespace BitcoinApi.Controllers { [Route...
mit
C#
eab4a9fc2a67dae954cca26e49bb76949335018c
Fix for failing test.
jherby2k/AudioWorks
AudioWorks/AudioWorks.Api/AudioFileFactory.cs
AudioWorks/AudioWorks.Api/AudioFileFactory.cs
using System; using AudioWorks.Common; using AudioWorks.Extensions; using JetBrains.Annotations; using System.IO; namespace AudioWorks.Api { [PublicAPI] public static class AudioFileFactory { [NotNull] public static AudioFile Create([NotNull] string path) { if (string.I...
using System; using AudioWorks.Common; using AudioWorks.Extensions; using JetBrains.Annotations; using System.IO; namespace AudioWorks.Api { [PublicAPI] public static class AudioFileFactory { [NotNull] public static AudioFile Create([NotNull] string path) { if (string.I...
agpl-3.0
C#
933e0c30bfb96ba937f1c9d47845c4aa1d861918
Remove empty box on post redirect (#1995)
btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver
BTCPayServer/Views/Shared/PostRedirect.cshtml
BTCPayServer/Views/Shared/PostRedirect.cshtml
@model PostRedirectViewModel @{ Layout = null; var routeData = Context.GetRouteData(); var routeParams = new Dictionary<string, string>(); if (routeData != null) { routeParams["walletId"] = routeData.Values["walletId"]?.ToString(); } var action = Model.FormUrl ?? Url.Action(Model....
@model PostRedirectViewModel @{ Layout = null; var routeData = Context.GetRouteData(); var routeParams = new Dictionary<string, string>(); if (routeData != null) { routeParams["walletId"] = routeData.Values["walletId"]?.ToString(); } var action = Model.FormUrl ?? Url.Action(Model....
mit
C#
5d890e323399cc5cd83b059349c05a61214cd776
Add GitTasks methods for current branch.
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
source/Nuke.Common/Tools/Git/GitTasks.cs
source/Nuke.Common/Tools/Git/GitTasks.cs
// Copyright Matthias Koch, Sebastian Karasek 2018. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Linq; using Nuke.Common.Tooling; namespace Nuke.Common.Tools.Git { public static partial class GitTasks { public static bool Gi...
// Copyright Matthias Koch, Sebastian Karasek 2018. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Linq; using Nuke.Common.Tooling; namespace Nuke.Common.Tools.Git { public static partial class GitTasks { public static bool Gi...
mit
C#
83611ca9994f855705b5e0bc35a387c53f08bb9e
Change Foreground Match Data "Title Match Mode" default value
danielchalmers/DesktopWidgets
DesktopWidgets/Classes/ForegroundMatchData.cs
DesktopWidgets/Classes/ForegroundMatchData.cs
using System.ComponentModel; using Xceed.Wpf.Toolkit.PropertyGrid.Attributes; namespace DesktopWidgets.Classes { [ExpandableObject] public class ForegroundMatchData { [DisplayName("Title")] public string Title { get; set; } [DisplayName("Title Match Mode")] public StringMa...
using System.ComponentModel; using Xceed.Wpf.Toolkit.PropertyGrid.Attributes; namespace DesktopWidgets.Classes { [ExpandableObject] public class ForegroundMatchData { [DisplayName("Title")] public string Title { get; set; } [DisplayName("Title Match Mode")] public StringMa...
apache-2.0
C#
e925b4baa9883f4057bf2415f3e72c5f70585777
Add comments
DinoV/azure-sdk-tools,markcowl/azure-sdk-tools,markcowl/azure-sdk-tools,akromm/azure-sdk-tools,markcowl/azure-sdk-tools,akromm/azure-sdk-tools,akromm/azure-sdk-tools,markcowl/azure-sdk-tools,DinoV/azure-sdk-tools,DinoV/azure-sdk-tools,akromm/azure-sdk-tools,akromm/azure-sdk-tools,markcowl/azure-sdk-tools,DinoV/azure-sd...
WindowsAzurePowershell/src/Management.Utilities/Common/WindowsAzureEnvironment.cs
WindowsAzurePowershell/src/Management.Utilities/Common/WindowsAzureEnvironment.cs
// ---------------------------------------------------------------------------------- // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache...
// ---------------------------------------------------------------------------------- // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache...
apache-2.0
C#
2621bde96aa02b5415636c214ef03de109526bdf
remove ambigious reference
MIS-Department/HR-Department,MIS-Department/HR-Department,MIS-Department/HR-Department
HR-Department.IntegrationTest/EmployeeTest.cs
HR-Department.IntegrationTest/EmployeeTest.cs
using System.Data.SqlClient; using HR_Department.DataLayer; using NUnit.Framework; namespace HR_Department.IntegrationTest { [TestFixture] public class EmployeeTest { [Test] public void EmployeeGetAlltest() { using (var connection = new SqlConnection(ConfigurationSettin...
using System.Data.SqlClient; using HR_Department.DataLayer; using NUnit.Framework; namespace HR_Department.IntegrationTest { [TestFixture] public class EmployeeTest { [Test] public void EmployeeGetAlltest() { using (var connection = new SqlConnection(ConfigurationSettin...
mit
C#