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
cb6b89a5f9b3e13d01c0ba0ba46032201b57ce28
Handle FEZMod PreInitialize crashes.
AngelDE98/FEZMod,AngelDE98/FEZMod
FEZ.Mod.mm/FezGame/Program.cs
FEZ.Mod.mm/FezGame/Program.cs
using System; using FezGame.Mod; using FezGame.Mod; namespace FezGame { public class Program { public static void orig_Main(string[] args) { } public static void Main(string[] args) { try { FEZMod.PreInitialize(args); } catch (Exception e) { ModLogger.L...
using System; using FezGame.Mod; using FezGame.Mod; namespace FezGame { public class Program { public static void orig_Main(string[] args) { } public static void Main(string[] args) { FEZMod.PreInitialize(args); ModLogger.Log("FEZMod", "Passing to FEZ..."); orig_Main(args); } pr...
mit
C#
22b9d1ad1e8abb1b9eb55975c865f3c3ecb5327b
Fix path output for inputs
jefflinse/MSBuildTracer
MSBuildTracer/ImportTracer.cs
MSBuildTracer/ImportTracer.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using MBEV = Microsoft.Build.Evaluation; using MBEX = Microsoft.Build.Execution; namespace MSBuildTracer { class ImportTracer { private MBEV.Projec...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using MBEV = Microsoft.Build.Evaluation; using MBEX = Microsoft.Build.Execution; namespace MSBuildTracer { class ImportTracer { private MBEV.Projec...
mit
C#
5323e9c91e58b657d91605574a08a1019d766743
Update EnumerableTests.cs
keith-hall/Extensions,keith-hall/Extensions
tests/EnumerableTests.cs
tests/EnumerableTests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using HallLibrary.Extensions; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Tests { [TestClass] public class EnumerableTests { [TestMethod] public void TestCountExceeds() { var src = Enumerable.Range(1, 4)...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using HallLibrary.Extensions; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Tests { [TestClass] public class EnumerableTests { [TestMethod] public void TestCountExceeds() { var src = Enumerable.Range(1, 4)...
apache-2.0
C#
38e5d3a23f12a38315f53a77ae5182c821a69268
make paging option defaults settable
Kukkimonsuta/Odachi
src/Odachi.Extensions.Collections/PagingOptions.cs
src/Odachi.Extensions.Collections/PagingOptions.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Odachi.Extensions.Collections; namespace Odachi.Extensions.Collections { /// <summary> /// Holds information about requested paging. /// </summary> public class PagingOptions { public static int DefaultPageSiz...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Odachi.Extensions.Collections; namespace Odachi.Extensions.Collections { /// <summary> /// Holds information about requested paging. /// </summary> public class PagingOptions { public const int DefaultPageSize...
apache-2.0
C#
65a846de6946ff968c44af63d1ef3b18da897458
Remove geometry us in RasterizingLayerSample
charlenni/Mapsui,pauldendulk/Mapsui,charlenni/Mapsui
Samples/Mapsui.Samples.Common/Maps/Special/RasterizingLayerSample.cs
Samples/Mapsui.Samples.Common/Maps/Special/RasterizingLayerSample.cs
using System; using System.Collections.Generic; using Mapsui.Layers; using Mapsui.Layers.Tiling; using Mapsui.Providers; using Mapsui.Styles; using Mapsui.UI; namespace Mapsui.Samples.Common.Maps { public class RasterizingLayerSample : ISample { public string Name => "Rasterizing Layer"; publi...
using System; using System.Collections.Generic; using Mapsui.Layers; using Mapsui.Layers.Tiling; using Mapsui.Providers; using Mapsui.Styles; using Mapsui.UI; namespace Mapsui.Samples.Common.Maps { public class RasterizingLayerSample : ISample { public string Name => "Rasterizing Layer"; publi...
mit
C#
a8ace172ae67508fe7c20cc585496683b0c87f6d
improve the test method.
jwChung/Experimentalism,jwChung/Experimentalism
test/Experiment.AutoFixtureUnitTest/AssemblyLevelTest.cs
test/Experiment.AutoFixtureUnitTest/AssemblyLevelTest.cs
using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using Jwc.Experiment; using Xunit; using Xunit.Extensions; namespace Jwc.Experiment { public class AssemblyLevelTest { [Fact] public void SutReferencesOnlySpecifiedAssemblies() { var sut = type...
using System.IO; using System.Linq; using System.Text; using Jwc.Experiment; using Xunit; using Xunit.Extensions; namespace Jwc.Experiment { public class AssemblyLevelTest { [Fact] public void SutReferencesOnlySpecifiedAssemblies() { var sut = typeof(AutoDataTheoremAttribut...
mit
C#
fe4aed3dbe60c2aa63aaae50c11e4189132c438f
Allow using [Preserve] attributes at the assembly level
mono/maccore,cwensley/maccore
src/Foundation/PreserveAttribute.cs
src/Foundation/PreserveAttribute.cs
// // PreserveAttribute.cs // // Authors: // Jb Evain // // Copyright 2009-2010, Novell, Inc. // Copyright 2012 Xamarin Inc. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without re...
// // PreserveAttribute.cs // // Authors: // Jb Evain // // Copyright 2009, Novell, Inc. // Copyright 2010, Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restri...
apache-2.0
C#
fb5e5a0736cc2631957427e9be588a935965c675
Fix compilation error introduced with my previous fix
cwensley/maccore,beni55/maccore,mono/maccore,jorik041/maccore
src/Foundation/NSUrlConnection.cs
src/Foundation/NSUrlConnection.cs
// // NSUrlConnection.cs: // Author: // Miguel de Icaza // using System; using System.Reflection; using System.Collections; using System.Runtime.InteropServices; using MonoMac.ObjCRuntime; namespace MonoMac.Foundation { public partial class NSUrlConnection { static Selector selSendSynchronousRequ...
// // NSUrlConnection.cs: // Author: // Miguel de Icaza // using System; using System.Reflection; using System.Collections; using System.Runtime.InteropServices; using MonoMac.ObjCRuntime; namespace MonoMac.Foundation { public partial class NSUrlConnection { static Selector selSendSynchronousRequ...
apache-2.0
C#
49af8064160f9758b927b867d8a9852827ba507e
Update CanvasRenderTarget.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D
src/Core2D.Screenshot/CanvasRenderTarget.cs
src/Core2D.Screenshot/CanvasRenderTarget.cs
using Avalonia; using Avalonia.Platform; using Avalonia.Rendering; using Avalonia.Skia.Helpers; using SkiaSharp; namespace Core2D.Screenshot; public class CanvasRenderTarget : IRenderTarget { private readonly SKCanvas _canvas; private readonly double _dpi; public CanvasRenderTarget(SKCanvas canvas, doubl...
using Avalonia; using Avalonia.Platform; using Avalonia.Rendering; using Avalonia.Skia.Helpers; using SkiaSharp; namespace Core2D.Screenshot; public class CanvasRenderTarget : IRenderTarget { private readonly SKCanvas _canvas; private readonly double _dpi; public CanvasRenderTarget(SKCanvas canvas, doubl...
mit
C#
b43ee2d61c20a20c9ff464b2a2a15c9ff0e23579
Add descriptions to enum members
peppy/osu-new,NeoAdonis/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu,peppy/osu,peppy/osu,ppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu
osu.Game/Beatmaps/CountdownType.cs
osu.Game/Beatmaps/CountdownType.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.ComponentModel; namespace osu.Game.Beatmaps { /// <summary> /// The type of countdown shown before the start of gameplay on a given beatmap. ///...
// 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. namespace osu.Game.Beatmaps { /// <summary> /// The type of countdown shown before the start of gameplay on a given beatmap. /// </summary> public enum Co...
mit
C#
bc881dd2e253706222c6444c33eecb426dd514ec
Update BinarySearch.cs
natalya-k/algorithms
search/BinarySearch.cs
search/BinarySearch.cs
namespace Algorithms { static class BinarySearch { public static int? Search(int[] array, int target) { int begin = 0; int end = array.Length - 1; int guess; while (end >= begin) { //guess = (begin + end) / 2; ...
namespace Algorithms { class BinarySearch { public static int? Search(int[] array, int target) { int begin = 0; int end = array.Length - 1; int guess; while (end >= begin) { //guess = (begin + end) / 2; ...
mit
C#
b3c65a0eafd4ca78d32bad735a14d7bf9bca48a4
Return string response, not XML
Mozketo/TFSbot
Changesets/run.csx
Changesets/run.csx
#load "..\extensions\TfsEx.csx" using System; using System.Configuration; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log) { DateTime dFrom = DateTime.Now.Subtract(TimeSpan.FromDays(...
#load "..\extensions\TfsEx.csx" using System; using System.Configuration; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log) { DateTime dFrom = DateTime.Now.Subtract(TimeSpan.FromDays(...
mit
C#
1195c22a82f77abca5c35e6ca78c2225529454cd
Update to MouseInputState
bostelk/delta
Delta.Core/Input/States/MouseInputState.cs
Delta.Core/Input/States/MouseInputState.cs
using System; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework; namespace Delta.Input.States { #if WINDOWS public sealed class MouseInputState { public MouseState MouseState { get; private set; } public Vector2 Position { get; private set; } public Vector2 PositionDelta { g...
using System; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework; namespace Delta.Input.States { #if WINDOWS public sealed class MouseInputState { MouseState state; Button _left; Button _right; Button _middle; Button _x1; Button _x2; int _x; int...
mit
C#
752e675559c93148b7c03c3aa7c7f4ecd2b682a9
Add docs
mgoertz-msft/roslyn,bartdesmet/roslyn,weltkante/roslyn,bartdesmet/roslyn,sharwell/roslyn,tannergooding/roslyn,AlekseyTs/roslyn,dotnet/roslyn,physhi/roslyn,AlekseyTs/roslyn,AmadeusW/roslyn,tmat/roslyn,mavasani/roslyn,tmat/roslyn,weltkante/roslyn,ErikSchierboom/roslyn,mavasani/roslyn,mavasani/roslyn,diryboy/roslyn,jasonm...
src/Workspaces/Core/Portable/FindSymbols/SyntaxTree/SyntaxTreeIndex_Forwarders.cs
src/Workspaces/Core/Portable/FindSymbols/SyntaxTree/SyntaxTreeIndex_Forwarders.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using System.Collections.Generic; using System.Collections.Immutable; using Microsoft.CodeAnalys...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using System.Collections.Generic; using System.Collections.Immutable; using Microsoft.CodeAnalys...
mit
C#
f9bdb664ee7b8fd1c2a041f6d91b92fedca32d3b
Update diffcalc test
peppy/osu,peppy/osu,peppy/osu-new,UselessToucan/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu
osu.Game.Rulesets.Mania.Tests/ManiaDifficultyCalculatorTest.cs
osu.Game.Rulesets.Mania.Tests/ManiaDifficultyCalculatorTest.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 NUnit.Framework; using osu.Game.Beatmaps; using osu.Game.Rulesets.Difficulty; using osu.Game.Rulesets.Mania.Difficulty; using osu.Game.Tests.Beatmaps; namespace os...
// 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 NUnit.Framework; using osu.Game.Beatmaps; using osu.Game.Rulesets.Difficulty; using osu.Game.Rulesets.Mania.Difficulty; using osu.Game.Tests.Beatmaps; namespace os...
mit
C#
fe364dcf235b5a393903f2dfe0b7b95f437b7adf
Add comment about ParentPid check.
zacbrown/hiddentreasure-etw-demo
hiddentreasure-etw-demo/RemoteThreadInjection.cs
hiddentreasure-etw-demo/RemoteThreadInjection.cs
using System; using O365.Security.ETW; namespace hiddentreasure_etw_demo { public static class RemoteThreadInjection { public static UserTrace CreateTrace() { var filter = new EventFilter(Filter .EventIdIs(3)); filter.OnEvent += (IEventRecord r) => { ...
using System; using O365.Security.ETW; namespace hiddentreasure_etw_demo { public static class RemoteThreadInjection { public static UserTrace CreateTrace() { var filter = new EventFilter(Filter .EventIdIs(3)); filter.OnEvent += (IEventRecord r) => { ...
mit
C#
7515d4942aeccd77f8bd62297fec711e8db65d1d
fix using
Fody/Resourcer
Resourcer.Fody/ResourceFinder.cs
Resourcer.Fody/ResourceFinder.cs
using System.IO; using System.Linq; using Fody; using Mono.Cecil; using Mono.Cecil.Cil; public partial class ModuleWeaver { public Resource FindResource(string searchPath, string @namespace, string codeDirPath, Instruction instruction, MethodDefinition method) { var resources = ModuleDefinition.Resour...
using System; using System.IO; using System.Linq; using Fody; using Mono.Cecil; using Mono.Cecil.Cil; public partial class ModuleWeaver { public Resource FindResource(string searchPath, string @namespace, string codeDirPath, Instruction instruction, MethodDefinition method) { var resources = ModuleDef...
mit
C#
cdfd95a3ccbb62417d4d1f786fb2d35eb617062a
Remove old code
pdelvo/Pdelvo.Minecraft.Proxy,pdelvo/Pdelvo.Minecraft.Proxy
Pdelvo.Minecraft.Proxy/Pdelvo.Minecraft.Proxy.Service/ProxyService.cs
Pdelvo.Minecraft.Proxy/Pdelvo.Minecraft.Proxy.Service/ProxyService.cs
using Pdelvo.Minecraft.Proxy.Library; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Linq; using System.ServiceProcess; using System.Text; using System.Threading.Tasks; namespace Pdelvo.Minecraft.Proxy.Service { public partial...
using Pdelvo.Minecraft.Proxy.Library; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Linq; using System.ServiceProcess; using System.Text; using System.Threading.Tasks; namespace Pdelvo.Minecraft.Proxy.Service { public partial...
mit
C#
13aacb7d9a7d30540b24e2313db1f83b80d69bbf
Update MainWindowTests.cs
JohanLarsson/Gu.Wpf.Geometry
Gu.Wpf.Geometry.UiTests/MainWindowTests.cs
Gu.Wpf.Geometry.UiTests/MainWindowTests.cs
namespace Gu.Wpf.Geometry.UiTests { using Gu.Wpf.Geometry.UiTests.Helpers; using Gu.Wpf.UiAutomation; using NUnit.Framework; public class MainWindowTests { [Test] public void ClickAllTabs() { // Just a smoke test so that we do not explode. using (var...
namespace Gu.Wpf.Geometry.UiTests { using Gu.Wpf.Geometry.UiTests.Helpers; using Gu.Wpf.UiAutomation; using NUnit.Framework; public class MainWindowTests { [Test] public void ClickAllTabs() { // Just a smoke test so that everything builds. using (var...
mit
C#
f8ebca60c44b6102cedc795c141adc219a5f3f63
Fix date/time format in FileLogger
Seddryck/RsPackage
SsrsDeploy/Logging/FileLogger.cs
SsrsDeploy/Logging/FileLogger.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SsrsDeploy.Logging { class FileLogger : ILogger { private TextWriter writer; private readonly string path; public FileLogger(string path) ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SsrsDeploy.Logging { class FileLogger : ILogger { private TextWriter writer; private readonly string path; public FileLogger(string path) ...
apache-2.0
C#
671cc81bc95f458a8ec8c346c497cc8c33b53a82
fix RemoveObjectTag writing
Alexx999/SwfSharp
SwfSharp/Tags/RemoveObjectTag.cs
SwfSharp/Tags/RemoveObjectTag.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using SwfSharp.Utils; namespace SwfSharp.Tags { public class RemoveObjectTag : RemoveObject2Tag { public ushort CharacterId { get; set; } public RemoveObjectTag(int size) : base(TagType.RemoveObj...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using SwfSharp.Utils; namespace SwfSharp.Tags { public class RemoveObjectTag : RemoveObject2Tag { public ushort CharacterId { get; set; } public RemoveObjectTag(int size) : base(TagType.RemoveObj...
mit
C#
9e68c9fb5b277905a417422b6d9eb9e63ef0dc6d
Update version
Yonom/MuffinFramework
MuffinFramework/Properties/AssemblyInfo.cs
MuffinFramework/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; // 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("MuffinFramework")] [assembly: AssemblyDescription("")] ...
using System.Reflection; using System.Resources; // 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("MuffinFramework")] [assembly: AssemblyDescription("")] ...
mit
C#
a252035deebcfdd1675c5fd291ac1dce7b28dc27
Complete RequestHandler test coverage
Myslik/NArchitecture
NArchitecture.Tests/RequestHandlerTests.cs
NArchitecture.Tests/RequestHandlerTests.cs
using FakeItEasy; using System; using System.Threading.Tasks; using Xunit; namespace NArchitecture.Tests { public class RequestHandlerTests { private class Request : IRequest { } private class RequestHandler : RequestHandler<Request> { protected override Task Handle(Reques...
using System.Threading.Tasks; using Xunit; namespace NArchitecture.Tests { public class RequestHandlerTests { private class RequestWithoutResponse : IRequest { } private class RequestWithoutResponseHandler : RequestHandler<RequestWithoutResponse> { protected override Task ...
mit
C#
9d040ceb8acbca9c7878b4f6fea4ef49bfdc4faa
Add [STAThread] to Main for COM support if WIN32
Carbenium/banshee,petejohanson/banshee,dufoli/banshee,allquixotic/banshee-gst-sharp-work,lamalex/Banshee,ixfalia/banshee,stsundermann/banshee,petejohanson/banshee,arfbtwn/banshee,arfbtwn/banshee,mono-soc-2011/banshee,allquixotic/banshee-gst-sharp-work,babycaseny/banshee,ixfalia/banshee,Carbenium/banshee,lamalex/Banshee...
src/Clients/Nereid/Nereid/Client.cs
src/Clients/Nereid/Nereid/Client.cs
// // Client.cs // // Author: // Aaron Bockover <abockover@novell.com> // // Copyright (C) 2007-2008 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, ...
// // Client.cs // // Author: // Aaron Bockover <abockover@novell.com> // // Copyright (C) 2007-2008 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, ...
mit
C#
305363587df444c7de1417c0ed6606d19bc88772
refactor 'setupmess' test cases
amiralles/contest,amiralles/contest
src/Contest.Bugs/DuplicateSetups.cs
src/Contest.Bugs/DuplicateSetups.cs
using _ = System.Action<Contest.Core.Runner>; using static System.Console; class fixure_wide_setup_teardown { _ before_each = test => { WriteLine(">>>> fixture setup"); }; _ after_each = test => { WriteLine(">>>> fixture teardown"); }; _ foo = assert => assert.Pass(); _ bar = assert => assert.Pass(); } class...
using _ = System.Action<Contest.Core.Runner>; using static System.Console; class fix_one { _ before_each = test => { WriteLine(">>>> setup"); }; _ foo = assert => assert.Pass(); _ bar = assert => assert.Pass(); } class fix_two { _ baz = assert => assert.Pass(); _ bazzinga = assert => assert.Pass(); }
mit
C#
57adb34aa127c9555acfce2e4624b0f95f9f6729
Update PathOp.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D
src/Core2D/Model/Renderer/PathOp.cs
src/Core2D/Model/Renderer/PathOp.cs
 namespace Core2D.Renderer { /// <summary> /// Specifies path op. /// </summary> public enum PathOp { /// <summary> /// Difference. /// </summary> Difference = 0, /// <summary> /// Intersect. /// </summary> Intersect = 1, ///...
 namespace Core2D.Renderer { /// <summary> /// Specifies path op. /// </summary> public enum PathOp { /// <summary> /// Difference. /// </summary> Difference = 0, /// <summary> /// Intersect. /// </summary> Intersect = 1, ///...
mit
C#
056235961cf4bb215eea646cee5d793e11c5ab86
Add parameter to the public method
charlenni/Mapsui,pauldendulk/Mapsui,charlenni/Mapsui
Mapsui/Utilities/OpenStreetMap.cs
Mapsui/Utilities/OpenStreetMap.cs
using BruTile.Predefined; using BruTile.Web; using Mapsui.Layers; namespace Mapsui.Utilities { public static class OpenStreetMap { private const string DefaultUserAgent = "Default Mapsui user-agent"; private static readonly BruTile.Attribution OpenStreetMapAttribution = new BruTile.Attribution...
using BruTile.Predefined; using BruTile.Web; using Mapsui.Layers; namespace Mapsui.Utilities { public static class OpenStreetMap { private const string DefaultUserAgent = "Default Mapsui user-agent"; private static readonly BruTile.Attribution OpenStreetMapAttribution = new BruTile.Attribution...
mit
C#
e38d453b1736764fbe860f9e9f5e76407ceea72e
Update Kernel.cs
zarlo/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos
Tests/Kernels/Cosmos.Compiler.Tests.MethodTests/Kernel.cs
Tests/Kernels/Cosmos.Compiler.Tests.MethodTests/Kernel.cs
using System; using System.Collections.Generic; using System.Text; using Cosmos.TestRunner; using Sys = Cosmos.System; namespace Cosmos.Compiler.Tests.MethodTests { public class Kernel : Sys.Kernel { protected override void BeforeRun() { Console.WriteLine("Cosmos booted successfull...
using System; using System.Collections.Generic; using System.Text; using Cosmos.TestRunner; using Sys = Cosmos.System; namespace Cosmos.Compiler.Tests.MethodTests { public class Kernel : Sys.Kernel { protected override void BeforeRun() { Console.WriteLine("Cosmos booted successfull...
bsd-3-clause
C#
65a32b8e2b19e842e70feee4eab04450da526825
Improve performance for realtime API
kiyoaki/bitflyer-api-dotnet-client
src/BitFlyer.Apis/RealtimeApi.cs
src/BitFlyer.Apis/RealtimeApi.cs
using PubNubMessaging.Core; using System; using System.Text; using Utf8Json; namespace BitFlyer.Apis { public class RealtimeApi { private readonly Pubnub _pubnub; public RealtimeApi() { _pubnub = new Pubnub("nopublishkey", BitFlyerConstants.SubscribeKey); } ...
using PubNubMessaging.Core; using System; using Utf8Json; namespace BitFlyer.Apis { public class RealtimeApi { private readonly Pubnub _pubnub; public RealtimeApi() { _pubnub = new Pubnub("nopublishkey", BitFlyerConstants.SubscribeKey); } public void Subsc...
mit
C#
3ffcf0299c01bb2b20a103a45b233c412b0ab284
Fix stupid error from scafolding
slav40o/Poller,slav40o/Poller,slav40o/Poller
PollerWeb/Poller.Data/PollerDb.cs
PollerWeb/Poller.Data/PollerDb.cs
namespace Poller.Data { using Microsoft.AspNet.Identity.EntityFramework; using Models; using Migrations; using System.Data.Entity; public class PollerDb : IdentityDbContext<ApplicationUser> { public PollerDb() : base("PollerD", throwIfV1Schema: false) { ...
namespace Poller.Data { using Microsoft.AspNet.Identity.EntityFramework; using Models; using Migrations; using System.Data.Entity; public class PollerDb : IdentityDbContext<ApplicationUser> { public PollerDb() : base("PollerDbConnection", throwIfV1Schema: false) { ...
mit
C#
2860f5a5cdbee1deb8602ee07b11bdd95d6dcc98
Revert "Fix D rank displaying as F"
DrabWeb/osu,naoey/osu,2yangk23/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu-new,johnneijzen/osu,ppy/osu,EVAST9919/osu,ZLima12/osu,EVAST9919/osu,NeoAdonis/osu,DrabWeb/osu,ppy/osu,peppy/osu,smoogipooo/osu,NeoAdonis/osu,johnneijzen/osu,ZLima12/osu,NeoAdonis/osu,naoey/osu,smoogipoo/osu,2yangk23/osu,DrabWeb/osu,n...
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(@"F")] 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(@"D")] D,...
mit
C#
95f88a521dbb5a43dc7e991b024be6d3287489c1
add AcceptsReturn, AcceptsTab
TakeAsh/cs-WpfUtility
WpfUtility/TextPrompt.xaml.cs
WpfUtility/TextPrompt.xaml.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windo...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windo...
mit
C#
643cfbf0b13af7574ce9f7027b4dd0c42cda0c8f
Update AssemblyVersion to 1.6
alexguirre/RAGENativeUI,alexguirre/RAGENativeUI
Source/Properties/AssemblyInfo.cs
Source/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("RAGENativeUI")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("RAGENativeUI")] [assembly: AssemblyCopyright("Copyright 2016")] [assembly: As...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("RAGENativeUI")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("RAGENativeUI")] [assembly: AssemblyCopyright("Copyright 2016")] [assembly: As...
mit
C#
21f614bb2e7faeeafb694a99e633f109a368f9ee
disable app insights telemetry from core.all libs
bitwarden/core,bitwarden/core,bitwarden/core,bitwarden/core
src/Icons/Startup.cs
src/Icons/Startup.cs
using System; using Bit.Icons.Services; using Microsoft.ApplicationInsights.Extensibility; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace Bit.Icons { public class Startup { publ...
using System; using Bit.Icons.Services; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace Bit.Icons { public class Startup { public Startup(IConfiguration configuration) { ...
agpl-3.0
C#
5a252f6b422e50bce64dfa7e68e955042fb384bd
Update PlayerMovement.cs
afroraydude/First_Unity_Game,afroraydude/First_Unity_Game,afroraydude/First_Unity_Game
Real_Game/Assets/Scripts/PlayerMovement.cs
Real_Game/Assets/Scripts/PlayerMovement.cs
using UnityEngine; using System.Collections; public class PlayerMovement : MonoBehaviour { public GameManager manager; public float moveSpeed; private float maxSpeed = 5f; public int deathCount; public int killY = -1.5; public GameObject deathParticals; private Vector3 input; private Vector3 spawn; // Us...
using UnityEngine; using System.Collections; public class PlayerMovement : MonoBehaviour { public GameManager manager; public float moveSpeed; private float maxSpeed = 5f; public int deathCount; public int killY = -2; public GameObject deathParticals; private Vector3 input; private Vector3 spawn; // Use ...
mit
C#
5495d5e960a053d370b16a9ca5f34bbb5086a625
Build and publish prerelease package
RockFramework/Rock.Encryption
Rock.Encryption/Properties/AssemblyInfo.cs
Rock.Encryption/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; 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("Ro...
using System.Reflection; using System.Runtime.CompilerServices; 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("Ro...
mit
C#
c6d7b247e8d895889ee0c273da8738637e0e5717
Add Dev/Ino fields to Interop.Sys.FileStatus
botaberg/coreclr,AlexGhiondea/coreclr,yeaicc/coreclr,russellhadley/coreclr,gkhanna79/coreclr,AlexGhiondea/coreclr,yeaicc/coreclr,JosephTremoulet/coreclr,AlexGhiondea/coreclr,alexperovich/coreclr,wateret/coreclr,sagood/coreclr,pgavlin/coreclr,hseok-oh/coreclr,alexperovich/coreclr,YongseopKim/coreclr,YongseopKim/coreclr,...
src/mscorlib/shared/Interop/Unix/System.Native/Interop.Stat.cs
src/mscorlib/shared/Interop/Unix/System.Native/Interop.Stat.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Runtime.InteropServices; using Microsoft.Win32.SafeHandles; internal static partial clas...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Runtime.InteropServices; using Microsoft.Win32.SafeHandles; internal static partial clas...
mit
C#
9fbbede027f76880e4649631f189a5c08eb03d8c
Fix spacing
EVAST9919/osu,peppy/osu,smoogipoo/osu,2yangk23/osu,smoogipoo/osu,ppy/osu,EVAST9919/osu,peppy/osu-new,ZLima12/osu,UselessToucan/osu,ZLima12/osu,johnneijzen/osu,UselessToucan/osu,ppy/osu,peppy/osu,johnneijzen/osu,ppy/osu,2yangk23/osu,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,Neo...
osu.Game.Tournament/Screens/Ladder/Components/DrawableMatchPairing.cs
osu.Game.Tournament/Screens/Ladder/Components/DrawableMatchPairing.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 osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using OpenTK; namespace osu.Game.Tournament.Screens.Ladder.Components { public class Drawable...
// Copyright (c) 2007-2018 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.Containers; namespace osu.Game.Tournament.Screens.Ladder.Components { public class DrawableMatchPairing :...
mit
C#
c38abf4841a7c7514423eb09a63de8a6e2517518
Update ValuesController.cs
cayodonatti/TopGearApi
TopGearApi/Controllers/ValuesController.cs
TopGearApi/Controllers/ValuesController.cs
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using System.Web.Mvc; namespace TopGearApi.Controllers { public class ValuesController : ApiController { // GET api/values public IEnumerable...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using System.Web.Mvc; namespace TopGearApi.Controllers { public class ValuesController : ApiController { // GET api/values public IEnumerable...
mit
C#
c532cb553de9bbe4d4fd673a3a27909c2deb2c7f
Fix CodeFactor
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Nito/AsyncEx/TaskRemembler.cs
WalletWasabi/Nito/AsyncEx/TaskRemembler.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WalletWasabi.Nito.AsyncEx { /// <summary> /// To remember tasks those were fired to forget and so wait for them during dispose. /// </summary> public class TaskRemembler { private HashSe...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WalletWasabi.Nito.AsyncEx { /// <summary> /// To remember tasks those were fired to forget and so wait for them during dispose. /// </summary> public class TaskRemembler { private HashSe...
mit
C#
431c696332c0ccd112c61b7065be03522a3d8945
Fix small codacy issue
themehrdad/NetTelebot,vertigra/NetTelebot-2.0
NetTelebot.Tests/MockServerObject/ResponseString.cs
NetTelebot.Tests/MockServerObject/ResponseString.cs
namespace NetTelebot.Tests.MockServerObject { internal static class ResponseString { internal const string mExpectedBodyForSendMessageResult = @"{ ok: ""true"", result: { message_id: 123, date: 0, chat: { id: 123, type: ""private"" }}}"; internal const string mExpectedBodyForGetUse...
namespace NetTelebot.Tests.MockServerObject { internal static class ResponseString { internal static readonly string mExpectedBodyForSendMessageResult = @"{ ok: ""true"", result: { message_id: 123, date: 0, chat: { id: 123, type: ""private"" }}}"; internal static readonly string mE...
mit
C#
57b4953123f8fd8f9e1393b93a1133d7ed3c2c1e
Add spec for RemoveHostnameCommand
appharbor/appharbor-cli
src/AppHarbor.Tests/Commands/RemoveHostnameCommandTest.cs
src/AppHarbor.Tests/Commands/RemoveHostnameCommandTest.cs
using AppHarbor.Commands; using Moq; using Ploeh.AutoFixture.Xunit; using Xunit; using Xunit.Extensions; namespace AppHarbor.Tests.Commands { public class RemoveHostnameCommandTest { [Theory, AutoCommandData] public void ShouldThrowIfNoArguments(RemoveHostnameCommand command) { Assert.Throws<CommandExcepti...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace AppHarbor.Tests.Commands { public class RemoveHostnameCommandTest { } }
mit
C#
334a73fd03b18e0fc9634bb797498f099482a72b
Rename FromUtf8Bytes => ToUtf8String
dsbenghe/Novell.Directory.Ldap.NETStandard,dsbenghe/Novell.Directory.Ldap.NETStandard
src/Novell.Directory.Ldap.NETStandard/ExtensionMethods.cs
src/Novell.Directory.Ldap.NETStandard/ExtensionMethods.cs
using System; using System.Collections.Generic; using System.Text; namespace Novell.Directory.Ldap { internal static partial class ExtensionMethods { /// <summary> /// Shortcut for <see cref="string.IsNullOrEmpty"/> /// </summary> internal static bool IsEmpty(this string input)...
using System; using System.Collections.Generic; using System.Text; namespace Novell.Directory.Ldap { internal static partial class ExtensionMethods { /// <summary> /// Shortcut for <see cref="string.IsNullOrEmpty"/> /// </summary> internal static bool IsEmpty(this string input)...
mit
C#
8ee1704ca0cc1d16f07a5d19239c5aa95951af8e
Fix summary of NoRawValueLayoutRendererWrapper class (#3532)
sean-gilliam/NLog,304NotModified/NLog,UgurAldanmaz/NLog,snakefoot/NLog,NLog/NLog,luigiberrettini/NLog,BrutalCode/NLog,BrutalCode/NLog,UgurAldanmaz/NLog,luigiberrettini/NLog
src/NLog/LayoutRenderers/Wrappers/NoRawValueLayoutRendererWrapper.cs
src/NLog/LayoutRenderers/Wrappers/NoRawValueLayoutRendererWrapper.cs
// // Copyright (c) 2004-2019 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Redistributions of ...
// // Copyright (c) 2004-2019 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Redistributions of ...
bsd-3-clause
C#
dd7fe8003bb69fb3f81ba98a535980a1c840e8b8
edit by index.cshtml
emksaz/testgit2,emksaz/testgit2,emksaz/testgit2
testgit23/testgit23/Views/Home/Index.cshtml
testgit23/testgit23/Views/Home/Index.cshtml
@{ 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-lg">Learn more &raquo;</a></p> </div> ...
@{ 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-lg">Learn more &raquo;</a></p> </div> ...
apache-2.0
C#
df540fbda33fb849e1191f0e0724e4ae1315b203
Update Index.cshtml
ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab
Anlab.Mvc/Views/Home/Index.cshtml
Anlab.Mvc/Views/Home/Index.cshtml
@{ ViewData["Title"] = "Home Page"; } <div class="col-8"> <p class="lead">The UC Davis Analytical Laboratory is a core support facility of the UC Davis College of Agriculture and Environmental Sciences.</p> <p>The laboratory is located in Hoagland Hall with a Sample Receiving area in nearby Hoagland ...
@{ ViewData["Title"] = "Home Page"; } <div class="col-8"> <div class="alert alert-info"> <button type="button" class="close" data-dismiss="alert">×</button> Update posted: December 8, 2020<br /><br /> <strong>Please Note Holiday Closure Information:</strong><br /><br /> The Lab wi...
mit
C#
b8f647f061b243de2047c8885b7f7ab0c7e324cf
add subcommand test
hakomikan/CommandUtility
CommandInterfaceTest/SpikeTest.cs
CommandInterfaceTest/SpikeTest.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.CodeAnalysis.CSharp.Scripting; using Microsoft.CodeAnalysis.CSharp; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using System.IO; using System.Reflection; using CommandInterface; using static CommandInterfaceTest....
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.CodeAnalysis.CSharp.Scripting; using Microsoft.CodeAnalysis.CSharp; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using System.IO; using System.Reflection; using CommandInterface; using static CommandInterfaceTest....
bsd-2-clause
C#
adad3c36556a207401613253e0a288bbb4c5551f
Fix DI bug
ErikEJ/EntityFramework7.SqlServerCompact,ErikEJ/EntityFramework.SqlServerCompact
src/Provider40/Query/ExpressionVisitors/SqlCeTranslatingExpressionVisitorFactory.cs
src/Provider40/Query/ExpressionVisitors/SqlCeTranslatingExpressionVisitorFactory.cs
using System.Linq.Expressions; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Query.Expressions; using Microsoft.EntityFrameworkCore.Utilities; namespace Microsoft.EntityFrameworkCore.Query.ExpressionVisitors { /// <summary> /// A facto...
using System.Linq.Expressions; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Query.Expressions; using Microsoft.EntityFrameworkCore.Utilities; namespace Microsoft.EntityFrameworkCore.Query.ExpressionVisitors { /// <summary> /// A facto...
apache-2.0
C#
cf2c887e966fc3ca59e5524de9fc9ac419634e08
fix formatting
Recognos/Metrics.NET,etishor/Metrics.NET,ntent-ad/Metrics.NET,mnadel/Metrics.NET,Recognos/Metrics.NET,MetaG8/Metrics.NET,MetaG8/Metrics.NET,huoxudong125/Metrics.NET,alhardy/Metrics.NET,cvent/Metrics.NET,MetaG8/Metrics.NET,DeonHeyns/Metrics.NET,etishor/Metrics.NET,Liwoj/Metrics.NET,DeonHeyns/Metrics.NET,ntent-ad/Metrics...
Src/Metrics/PerfCounters/PerformanceCounterGauge.cs
Src/Metrics/PerfCounters/PerformanceCounterGauge.cs
using System; using System.Diagnostics; namespace Metrics.PerfCounters { public class PerformanceCounterGauge : Gauge { private static readonly Func<float, string> DefaultFormat = f => f.ToString("F"); private readonly Func<float, string> format; private readonly PerformanceCounter pe...
using System; using System.Diagnostics; namespace Metrics.PerfCounters { public class PerformanceCounterGauge : Gauge { private static readonly Func<float, string> DefaultFormat = f => f.ToString("F"); private readonly Func<float, string> format; private readonly PerformanceCounter pe...
apache-2.0
C#
45d77f28cbe04a3952b81c7929f7e3ceda0bf370
fix typo in MagicScaler benchmark method name
bleroy/core-imaging-playground
NetCore/LoadResizeSaveParallel.cs
NetCore/LoadResizeSaveParallel.cs
using System.Threading.Tasks; using BenchmarkDotNet.Attributes; namespace ImageProcessing { public class LoadResizeSaveParallel : LoadResizeSave { [Benchmark(Baseline = true, Description = "System.Drawing Load, Resize, Save - Parallel"/*, OperationsPerInvoke = ImagesCount*/)] public...
using System.Threading.Tasks; using BenchmarkDotNet.Attributes; namespace ImageProcessing { public class LoadResizeSaveParallel : LoadResizeSave { [Benchmark(Baseline = true, Description = "System.Drawing Load, Resize, Save - Parallel"/*, OperationsPerInvoke = ImagesCount*/)] public...
mit
C#
0353fd55dcf1934b05d823877f7f3cab82157e5f
Build script now creates individual zip file packages to align with the NuGet packages and semantic versioning.
autofac/Autofac.Multitenant
Properties/VersionAssemblyInfo.cs
Properties/VersionAssemblyInfo.cs
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18033 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18033 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
mit
C#
8264e2b0132a0cf11addd0ba12e2a18ec412992c
Update AssemblyInfo.cs
paragmeshram/Focusr
Focusr/Properties/AssemblyInfo.cs
Focusr/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("Focusr")] [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("Focusr")] [assembly: AssemblyDescription...
mit
C#
4c601d288180efbdcdba4d97e854353f048e818a
Add test data seeder to DbContext.
derrickcreamer/NoteFolder,derrickcreamer/NoteFolder
NoteFolder/Models/File.cs
NoteFolder/Models/File.cs
using System; using System.Data.Entity; using System.Collections.Generic; using System.Linq; using System.Web; namespace NoteFolder.Models { public class FileTestInit : DropCreateDatabaseAlways<FileDbContext> { protected override void Seed(FileDbContext db) { var docs = new File { Name = "Documents", Descriptio...
using System; using System.Data.Entity; using System.Collections.Generic; using System.Linq; using System.Web; namespace NoteFolder.Models { public class FileDbContext : DbContext { public DbSet<File> Files { get; set; } } public class File { public int ID { get; set; } public string Name { get; set; } pu...
mit
C#
6f306bc1c2684825ff3cb11a73da5dbc8a2e9143
Reduce default bucket count for HTTP request duration to 16
andrasm/prometheus-net
Prometheus.AspNetCore/HttpMetrics/HttpRequestDurationOptions.cs
Prometheus.AspNetCore/HttpMetrics/HttpRequestDurationOptions.cs
namespace Prometheus.HttpMetrics { public sealed class HttpRequestDurationOptions : HttpMetricsOptionsBase { private const string DefaultName = "http_request_duration_seconds"; private const string DefaultHelp = "Provides the duration in seconds of HTTP requests from an ASP.NET appl...
namespace Prometheus.HttpMetrics { public sealed class HttpRequestDurationOptions : HttpMetricsOptionsBase { private const string DefaultName = "http_request_duration_seconds"; private const string DefaultHelp = "Provides the duration in seconds of HTTP requests from an ASP.NET appl...
mit
C#
aa481e944b2ee3a901f6c8ac24dd386832fc93da
Add the ChatComponent to the Index page.
jamesmontemagno/MotzCodesLive,jamesmontemagno/MotzCodesLive,jamesmontemagno/MotzCodesLive
Twitch-SignalRSaturdays/XamChat.BlazorClient/Pages/Index.cshtml
Twitch-SignalRSaturdays/XamChat.BlazorClient/Pages/Index.cshtml
@page "/" <h1>Hello, world!</h1> Welcome to your new app. <ChatComponent/>
@page "/" <h1>Hello, world!</h1> Welcome to your new app. <SurveyPrompt Title="How is Blazor working for you?" />
mit
C#
c68eed129d6c42bd81e8d427edb440356a237f04
Update SingleEntryCurrencyConversionCompositionStrategy.cs
tiksn/TIKSN-Framework
TIKSN.Core/Finance/SingleEntryCurrencyConversionCompositionStrategy.cs
TIKSN.Core/Finance/SingleEntryCurrencyConversionCompositionStrategy.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using TIKSN.Finance.Helpers; namespace TIKSN.Finance { public class SingleEntryCurrencyConversionCompositionStrategy : ICurrencyConversionCompositionStrategy { public async Task<Mon...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using TIKSN.Finance.Helpers; namespace TIKSN.Finance { public class SingleEntryCurrencyConversionCompositionStrategy : ICurrencyConversionCompositionStrategy { public async Task<Mon...
mit
C#
8d095b68eb054d6a823bc8c98d6e4ed24f056beb
optimize file cache provider
tinohager/Nager.PublicSuffix,tinohager/Nager.PublicSuffix,tinohager/Nager.PublicSuffix
src/Nager.PublicSuffix/FileCacheProvider.cs
src/Nager.PublicSuffix/FileCacheProvider.cs
using System; using System.IO; using System.Threading.Tasks; namespace Nager.PublicSuffix { public class FileCacheProvider : ICacheProvider { private readonly string _cacheFilePath; private readonly TimeSpan _timeToLive; public FileCacheProvider(string cacheFileName = "publicsuffixcac...
using System; using System.IO; using System.Threading.Tasks; namespace Nager.PublicSuffix { public class FileCacheProvider : ICacheProvider { private readonly string _cacheName; private readonly TimeSpan _timeToLive; public FileCacheProvider(string fileCacheName = "publicsuffixcache.d...
mit
C#
87a86c521ad308773dd852ed3d81a6f8b7df3289
Make all actor's protected methods public
OrleansContrib/Orleankka,yevhen/Orleankka,mhertis/Orleankka,pkese/Orleankka,mhertis/Orleankka,pkese/Orleankka,AntyaDev/Orleankka,AntyaDev/Orleankka,yevhen/Orleankka,OrleansContrib/Orleankka
Source/Orleankka/Actor.cs
Source/Orleankka/Actor.cs
using System; using System.Threading.Tasks; using Orleans; namespace Orleankka { using Core; using Services; using Utility; public interface IActor {} public abstract class Actor : IActor { ActorRef self; protected Actor() {} protected Actor(string id,...
using System; using System.Threading.Tasks; using Orleans; namespace Orleankka { using Core; using Services; using Utility; public interface IActor {} public abstract class Actor : IActor { ActorRef self; protected Actor() {} protected Actor(string id,...
apache-2.0
C#
8722681a428fb24922c236e6a45a9aa1c650d210
Reduce contributors to work for cloud tests.
Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex
backend/tools/TestSuite/TestSuite.Shared/Fixtures/CreatedAppFixture.cs
backend/tools/TestSuite/TestSuite.Shared/Fixtures/CreatedAppFixture.cs
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
mit
C#
b7899440a6bb987a502abc2a353f8fb7e588ea2d
fix Automate not serialising object types as strings
Pathoschild/StardewMods
Automate/Framework/Models/ModConfigObject.cs
Automate/Framework/Models/ModConfigObject.cs
using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace Pathoschild.Stardew.Automate.Framework.Models { /// <summary>An object identifier.</summary> internal class ModConfigObject { /// <summary>The object type.</summary> [JsonConverter(typeof(StringEnumConverter))] publi...
namespace Pathoschild.Stardew.Automate.Framework.Models { /// <summary>An object identifier.</summary> internal class ModConfigObject { /// <summary>The object type.</summary> public ObjectType Type { get; set; } /// <summary>The object ID.</summary> public int ID { get; set...
mit
C#
aba71fbf4bcaec669994dac25d87c9a97efa93a6
Use boxenterprise.net when viewing file of folder from Acumatica
Acumatica/acumatica-boxstorageprovider,Acumatica/acumatica-boxstorageprovider
BoxStorageProvider/Pages/SM/SM202670.aspx.cs
BoxStorageProvider/Pages/SM/SM202670.aspx.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using PX.Data; using PX.SM.BoxStorageProvider; using PX.Common; public partial class Pages_SM_SM202670 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using PX.Data; using PX.SM.BoxStorageProvider; using PX.Common; public partial class Pages_SM_SM202670 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs...
mit
C#
a88f450c750fac814913acae6ec0c3b679868733
Remove unused delegate
roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University
R7.University/Models/Delegates.cs
R7.University/Models/Delegates.cs
using R7.University.Models; namespace R7.University { public delegate string GetDocumentTitle (IDocument document); }
using R7.University.Models; namespace R7.University { public delegate string LocalizeHandler (string resourceKey); public delegate string GetDocumentTitle (IDocument document); }
agpl-3.0
C#
ef264bf29f85232006f863ca99d5672a3f29ecfe
Allow control over references being added
andrewdavey/cassette,damiensawyer/cassette,damiensawyer/cassette,damiensawyer/cassette,andrewdavey/cassette,honestegg/cassette,honestegg/cassette,honestegg/cassette,andrewdavey/cassette
src/Cassette/BundleProcessing/ParseReferences.cs
src/Cassette/BundleProcessing/ParseReferences.cs
using System.IO; namespace Cassette.BundleProcessing { public abstract class ParseReferences<T> : IBundleProcessor<T> where T : Bundle { public void Process(T bundle) { foreach (var asset in bundle.Assets) { if (ShouldParseAsset(asset)...
using System.IO; namespace Cassette.BundleProcessing { public abstract class ParseReferences<T> : IBundleProcessor<T> where T : Bundle { public void Process(T bundle) { foreach (var asset in bundle.Assets) { if (ShouldParseAsset(asset)...
mit
C#
f882ab8586cfe5fff215802dbe6afb1ff112cdad
allow to use args to set url address More here: https://stackoverflow.com/q/45710570/2833802
ORuban/aspnet-core-experimentarium,ORuban/aspnet-core-experimentarium
src/Experimentarium.AspNetCore.WebApi/Program.cs
src/Experimentarium.AspNetCore.WebApi/Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace Experimentarium.AspNetCore.WebApi { ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace Experimentarium.AspNetCore.WebApi { ...
mit
C#
66b02f9312ea616b7e210fa225754126867693e9
Switch to allow system bus monitoring
tmds/Tmds.DBus
Monitor.cs
Monitor.cs
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System; using System.Collections.Generic; using NDesk.DBus; using org.freedesktop.DBus; public class ManagedDBusTest { public static void Main (string[] args) { string addr = Addr...
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System; using System.Collections.Generic; using NDesk.DBus; using org.freedesktop.DBus; public class ManagedDBusTest { public static void Main (string[] args) { //TODO: allow sele...
mit
C#
402d77c907905c47ff416cc29f6defc9bd209213
allow binding type to be set in constructor
alexrster/SAML2,elerch/SAML2
src/SAML2.Core/Config/ServiceProviderEndpoint.cs
src/SAML2.Core/Config/ServiceProviderEndpoint.cs
using System.Configuration; namespace SAML2.Config { /// <summary> /// Service Provider Endpoint configuration element. /// </summary> public class ServiceProviderEndpoint { public ServiceProviderEndpoint() { } public ServiceProviderEndpoint(EndpointType type, string localPath, str...
using System.Configuration; namespace SAML2.Config { /// <summary> /// Service Provider Endpoint configuration element. /// </summary> public class ServiceProviderEndpoint { public ServiceProviderEndpoint() { } public ServiceProviderEndpoint(EndpointType type, string localPath, str...
mpl-2.0
C#
93e618e52b4c41ef48a1b6ba865cdcf103c9e241
Update control and move management
Sparox/GGJ_2015
Game/Assets/Scripts/Character2DController.cs
Game/Assets/Scripts/Character2DController.cs
using UnityEngine; using System.Collections; using UnitySampleAssets._2D; [RequireComponent(typeof (PlatformerCharacter2D))] public class Character2DController : MonoBehaviour { private bool jump; public KeyCode actionKey; public KeyCode leftKey; public KeyCode rightKey; private PlatformerCharacter2D character...
using UnityEngine; using System.Collections; using UnitySampleAssets._2D; [RequireComponent(typeof (PlatformerCharacter2D))] public class Character2DController : MonoBehaviour { private bool jump; public KeyCode actionKey; public KeyCode leftKey; public KeyCode rightKey; private PlatformerCharacter2D character...
mit
C#
fc9f39d0cb5ec10903dba933df30694ba3e13150
Add RegisterExpensesAsync for IExpenseService.
ProjectBlueMonkey/BlueMonkey,ProjectBlueMonkey/BlueMonkey
client/BlueMonkey/BlueMonkey.ExpenseServices/IExpenseService.cs
client/BlueMonkey/BlueMonkey.ExpenseServices/IExpenseService.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using BlueMonkey.Business; namespace BlueMonkey.ExpenseServices { public interface IExpenseService { Task<IEnumerable<Expense>> GetExpensesAsync(); Task<IEnumerable<Expense>> Get...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using BlueMonkey.Business; namespace BlueMonkey.ExpenseServices { public interface IExpenseService { Task<IEnumerable<Expense>> GetExpensesAsync(); Task<IEnumerable<Expense>> Get...
mit
C#
82dfbed59bc66276c0669787e976b0190e6f6783
Revert "chore(Quartz): change scheduler start time (#35)"
smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp
src/StockportWebapp/Scheduler/QuartzScheduler.cs
src/StockportWebapp/Scheduler/QuartzScheduler.cs
using System; using System.Threading.Tasks; using Quartz; using Quartz.Impl; using StockportWebapp.FeatureToggling; using StockportWebapp.Models; using StockportWebapp.Repositories; using StockportWebapp.Services; using StockportWebapp.Utils; using Microsoft.Extensions.Logging; namespace StockportWebapp.Scheduler { ...
using System; using System.Threading.Tasks; using Quartz; using Quartz.Impl; using StockportWebapp.FeatureToggling; using StockportWebapp.Models; using StockportWebapp.Repositories; using StockportWebapp.Services; using StockportWebapp.Utils; using Microsoft.Extensions.Logging; namespace StockportWebapp.Scheduler { ...
mit
C#
a29549389d5ccce13a2989639353674f8856b2a3
Rename and make the PastaPricer first acceptance test more readable.
dupdob/Michonne,dupdob/Michonne,dupdob/Michonne
PastaPricer.Tests/Acceptance/PastaPricerAcceptanceTests.cs
PastaPricer.Tests/Acceptance/PastaPricerAcceptanceTests.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="PastaPricerAcceptanceTests.cs" company="No lock... no deadlock" product="Michonne"> // Copyright 2014 Cyrille DUPUYDAUBY (@Cyrdup), Thomas PIERRAIN (@tpierrain) // License...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="PastaPricerAcceptanceTests.cs" company="No lock... no deadlock" product="Michonne"> // Copyright 2014 Cyrille DUPUYDAUBY (@Cyrdup), Thomas PIERRAIN (@tpierrain) // License...
apache-2.0
C#
671cbd0e9e60118bc67add465b38ad06ffb45f71
Comment was in the wrong place
UnityTechnologies/PlaygroundProject,UnityTechnologies/PlaygroundProject
PlaygroundProject/Assets/Scripts/Movement/PickUpAndHold.cs
PlaygroundProject/Assets/Scripts/Movement/PickUpAndHold.cs
using UnityEngine; public class PickUpAndHold : MonoBehaviour { public KeyCode pickUpKey = KeyCode.B; public KeyCode dropKey = KeyCode.N; // An object need to closer than this distance to be picked up. public float pickUpDistance = 1f; private Transform carriedObject = null; private int pickupLayer = 0; p...
using UnityEngine; public class PickUpAndHold : MonoBehaviour { // An object need to closer than that distance to be picked up. public KeyCode pickUpKey = KeyCode.B; public KeyCode dropKey = KeyCode.N; public float pickUpDistance = 1f; private Transform carriedObject = null; private int pickupLayer = 0; p...
mit
C#
23c7132c4fdc452ab2e3b1b7d60fd179f0ea4082
Add missing license header
peppy/osu,2yangk23/osu,2yangk23/osu,ppy/osu,EVAST9919/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,UselessToucan/osu,UselessToucan/osu,peppy/osu,johnneijzen/osu,ppy/osu,ppy/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,EVAST9919/osu,johnneijzen/osu,NeoAdonis/osu,UselessToucan/osu
osu.Game/Rulesets/Objects/PathControlPoint.cs
osu.Game/Rulesets/Objects/PathControlPoint.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.Bindables; using osu.Game.Rulesets.Objects.Types; using osuTK; namespace osu.Game.Rulesets.Objects { public class PathControlPoint ...
using System; using osu.Framework.Bindables; using osu.Game.Rulesets.Objects.Types; using osuTK; namespace osu.Game.Rulesets.Objects { public class PathControlPoint : IEquatable<PathControlPoint> { /// <summary> /// The position of this <see cref="PathControlPoint"/>. /// </summary> ...
mit
C#
6ba1bc381c07d68d7af35d3e631dbe6cac7b9b93
Add version value to the DefaultSkinConfiguration dictionary
NeoAdonis/osu,peppy/osu-new,ppy/osu,smoogipooo/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,peppy/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu
osu.Game/Skinning/DefaultSkinConfiguration.cs
osu.Game/Skinning/DefaultSkinConfiguration.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 osuTK.Graphics; namespace osu.Game.Skinning { /// <summary> /// A skin configuration pre-populated with sane defaults. /// </summary> public class ...
// 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 osuTK.Graphics; namespace osu.Game.Skinning { /// <summary> /// A skin configuration pre-populated with sane defaults. /// </summary> public class ...
mit
C#
dd8a338ce7704079594b1762e02b08e28f7e24ee
Bump version to 0.1.0.1
nicolaiarocci/Eve.NET
Eve.NET/Properties/AssemblyInfo.cs
Eve.NET/Properties/AssemblyInfo.cs
using System.Resources; using System.Reflection; using System.Runtime.CompilerServices; 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. [ass...
using System.Resources; using System.Reflection; using System.Runtime.CompilerServices; 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. [ass...
bsd-3-clause
C#
5506f26d22cde3ce168dfbfd8d163ab52685549b
Fix sleep time
isudzumi/playSound
playSound/CommonFunction.cs
playSound/CommonFunction.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Threading; using System.Threading.Tasks; namespace playSound { public static class CommonFunction { private const Int32 SLEEP_TIME = 1800000; public static DateTime playTime { ge...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Threading; using System.Threading.Tasks; namespace playSound { public static class CommonFunction { private const Int32 SLEEP_TIME = 240000;//1800000; public static DateTime play...
mit
C#
887efa6bcfaae0dd052004ae87f7b458a041c189
Fix camera flicker.
adurdin/ggj2015
Alcove/Assets/Player/FollowCursor.cs
Alcove/Assets/Player/FollowCursor.cs
using UnityEngine; using System.Collections; public class FollowCursor : MonoBehaviour { new private Camera camera; private Transform cameraTransform; public Transform cursorTransform; public const float viewportMargin = 0.05f; public void Start () { camera = GetComponent<Camera>(); cameraTransform = camera...
using UnityEngine; using System.Collections; public class FollowCursor : MonoBehaviour { new private Camera camera; private Transform cameraTransform; public Transform cursorTransform; public const float viewportMargin = 0.05f; public void Start () { camera = GetComponent<Camera>(); cameraTransform = camera...
mit
C#
1a8cc0f9234bda02d10b64822d9ecab6013b8319
Range function: added yield versions. More checks are also done and it now throws exceptions if one arg is incorrect
julsam/VineScript
VineScript/Utils.cs
VineScript/Utils.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using VineScript.Core; namespace VineScript { public class Utils { public static List<int> Range(int stop) { return Range(0, stop); } public static L...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using VineScript.Core; namespace VineScript { class Utils { public static List<int> Range(int end) { return Range(0, end); } public static List<int> ...
mit
C#
280d83449abc6bbedc6da4ea5284c49901b3e661
Add Load Project Test
geaz/coreDox,geaz/coreDox,geaz/coreDox
tests/coreDox.Core.Tests/Project/ProjectTests.cs
tests/coreDox.Core.Tests/Project/ProjectTests.cs
using coreDox.Core.Project; using coreDox.Core.Project.Config; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.IO; namespace coreDox.Core.Tests.Projects { [TestClass] public class ProjectTests { private string _tmpPath = Path.Combine(Path.GetTempPath(), "testProject"); [Te...
using coreDox.Core.Project; using coreDox.Core.Project.Config; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.IO; namespace coreDox.Core.Tests.Projects { [TestClass] public class ProjectTests { private string _tmpPath = Path.Combine(Path.GetTempPath(), "testProject"); [Te...
mit
C#
1c89aeb602695c98f6a71b479bdbdfe01af83b62
Update Tests to reflect attribute move
simo9000/Consola,simo9000/Consola,simo9000/Consola
Consola.Tests/Scriptables/Progeny.cs
Consola.Tests/Scriptables/Progeny.cs
using Consola.Library; using Consola.Library.util; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Tests.Scriptables { public class Progeny : Scriptable { [Description("Simple Name Field")] public string Name { get; ...
using Consola.Library; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Tests.Scriptables { public class Progeny : Scriptable { [Description("Simple Name Field")] public string Name { get; set; } } }
mit
C#
52be0d5af887be80a9793dead235522004e72268
Set thread count to 1 in kestrel options.
LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform
src/CompetitionPlatform/Program.cs
src/CompetitionPlatform/Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; namespace CompetitionPlatform { public class Program { public static void Main(string[] args) { var host = new WebHostBuilder() ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; namespace CompetitionPlatform { public class Program { public static void Main(string[] args) { var host = new WebHostBuilder() ...
mit
C#
820089abc29a655fe459f219a373021d6e554ca2
Remove whitespace
MindscapeHQ/NLog.Raygun,MindscapeHQ/NLog.Raygun,MindscapeHQ/NLog.Raygun
src/NLog.Raygun/RaygunException.cs
src/NLog.Raygun/RaygunException.cs
using System; namespace NLog.Raygun { public class RaygunException : Exception { public RaygunException(string message) : base(message) { } public RaygunException(string message, Exception innerException) : base(message, innerException) { ...
using System; namespace NLog.Raygun { public class RaygunException : Exception { public RaygunException(string message) : base(message) { } public RaygunException(string message, Exception innerException) : base(message, innerException) { ...
mit
C#
1c597534c5d0275965cd841dff344fdd416ef03a
Bump version
kamil-mrzyglod/Oxygenize
Oxygenize/Properties/AssemblyInfo.cs
Oxygenize/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; 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("Ox...
using System.Reflection; using System.Runtime.CompilerServices; 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("Ox...
mit
C#
b03d6914cfc6d0e81d5deeb61eac472f91c689fd
test git3-v1
emksaz/testgit2,emksaz/testgit2,emksaz/testgit2
testgit23/testgit23/Views/Home/Index.cshtml
testgit23/testgit23/Views/Home/Index.cshtml
@{ 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-lg">Learn more &raquo;</a></p> </div> ...
@{ 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-lg">Learn more &raquo;</a></p> </div> ...
apache-2.0
C#
e9cb628f820ba7226cce379a601b9867053eef76
Improve formatting
SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia
src/Avalonia.Controls/Converters/CornerRadiusFilterConverter.cs
src/Avalonia.Controls/Converters/CornerRadiusFilterConverter.cs
using System; using System.Globalization; using Avalonia.Data.Converters; namespace Avalonia.Controls.Converters { /// <summary> /// Converts an existing CornerRadius struct to a new CornerRadius struct, /// with filters applied to extract only the specified corners, leaving the others set to 0. /// <...
using System; using System.Globalization; using Avalonia.Data.Converters; namespace Avalonia.Controls.Converters { /// <summary> /// Converts an existing CornerRadius struct to a new CornerRadius struct, /// with filters applied to extract only the specified corners, leaving the others set to 0. /// ...
mit
C#
cb34a0e28073a71294b3e851376075e730d82383
Fix unique control name for WPF
blebougge/Catel
src/Catel.MVVM/Catel.MVVM.Shared/Extensions/StringExtensions.cs
src/Catel.MVVM/Catel.MVVM.Shared/Extensions/StringExtensions.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="StringExtensions.cs" company="Catel development team"> // Copyright (c) 2008 - 2015 Catel development team. All rights reserved. // </copyright> // -----------------------------...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="StringExtensions.cs" company="Catel development team"> // Copyright (c) 2008 - 2015 Catel development team. All rights reserved. // </copyright> // -----------------------------...
mit
C#
43daa7c7c09463acac11095bc93f304e1c20ae83
Use `Colour2` of orange theme for explicit pill
NeoAdonis/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu,peppy/osu-new,ppy/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,peppy/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu
osu.Game/Overlays/BeatmapSet/ExplicitBeatmapPill.cs
osu.Game/Overlays/BeatmapSet/ExplicitBeatmapPill.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.Containers; using osu.Framework.Graphics.Shapes; using osu.Game.Graphics; using...
// 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.Containers; using osu.Framework.Graphics.Shapes; using osu.Game.Graphics; using...
mit
C#
92347692d45ecd52e1698d7fac01a3cdcd612983
Implement timer functionality
eightlittlebits/elbgb
elbgb.gameboy/Timer.cs
elbgb.gameboy/Timer.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace elbgb.gameboy { class Timer : ClockedComponent { public static class Registers { public const ushort DIV = 0xFF04; public const ushort TIMA = 0xFF05; public const ushort TMA =...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace elbgb.gameboy { class Timer : ClockedComponent { public static class Registers { public const ushort DIV = 0xFF04; public const ushort TIMA = 0xFF05; public const ushort TMA =...
mit
C#
8d81ccaf00133736e2a1c361b74131643d9a0495
make some easy tests green first
ZA-PT/Obsidian,ZA-PT/Obsidian,ZA-PT/Obsidian,ZA-PT/Obsidian
src/Obsidian.Persistence/Repositories/PermissionScopeMongoRepository.cs
src/Obsidian.Persistence/Repositories/PermissionScopeMongoRepository.cs
using Obsidian.Domain.Repositories; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Obsidian.Domain; using MongoDB.Driver; namespace Obsidian.Persistence.Repositories { public class PermissionScopeMongoRepository : IPermissionScopeRepository { pri...
using Obsidian.Domain.Repositories; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Obsidian.Domain; using MongoDB.Driver; namespace Obsidian.Persistence.Repositories { public class PermissionScopeMongoRepository : IPermissionScopeRepository { pub...
apache-2.0
C#
3603aab4abed866204bd4c08c40f495240a77cd7
Add admin menu item for events #1899
HTBox/allReady,BillWagner/allReady,binaryjanitor/allReady,BillWagner/allReady,stevejgordon/allReady,dpaquette/allReady,stevejgordon/allReady,HamidMosalla/allReady,HTBox/allReady,c0g1t8/allReady,stevejgordon/allReady,dpaquette/allReady,HamidMosalla/allReady,mgmccarthy/allReady,HTBox/allReady,dpaquette/allReady,binaryjan...
AllReadyApp/Web-App/AllReady/Views/Shared/_AdminNavigationPartial.cshtml
AllReadyApp/Web-App/AllReady/Views/Shared/_AdminNavigationPartial.cshtml
@using AllReady.Constants @using AllReady.Security @if (User.IsUserType(UserType.SiteAdmin) || User.IsUserType(UserType.OrgAdmin)) { //var descriptor = (Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor)ViewContext.ActionDescriptor; //var areaName = descriptor.RouteValues["area"]; // there must b...
@using AllReady.Constants @using AllReady.Security @if (User.IsUserType(UserType.SiteAdmin) || User.IsUserType(UserType.OrgAdmin)) { //var descriptor = (Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor)ViewContext.ActionDescriptor; //var areaName = descriptor.RouteValues["area"]; // there must b...
mit
C#
fca6abd7af50ef27f879e226f8bc5fdf1ea49dd8
Use ExceptionMessageResult (ErrorMEssageResult instead?)
dotJEM/web-host,dotJEM/web-host,dotJEM/web-host
DotJEM.Web.Host/Diagnostics/ExceptionHandlers/WebHostExceptionHandler.cs
DotJEM.Web.Host/Diagnostics/ExceptionHandlers/WebHostExceptionHandler.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.ExceptionHandling; using System.Web.Http.Results; using DotJEM.Web.Host.Providers.Pipeline; namespace DotJEM.We...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.ExceptionHandling; using DotJEM.Web.Host.Providers.Pipeline; namespace DotJEM.Web.Host.Diagnostics.ExceptionHan...
mit
C#
3a7310094e91eb87e56e45a0e6324b63bcb612e4
Add exemplo de botao
IgorFachini/Projeto01_TDP2,IgorFachini/Projeto01_TDP2,IgorFachini/Projeto01_TDP2
Supermercado/Views/Home/About.cshtml
Supermercado/Views/Home/About.cshtml
@using Resources @{ ViewBag.Title = "About"; } <h1>Sobre nos ...</h1> <p>@Resources.Site.Texto</p> <p> <a href="~/Home/Ingles">Ingles - Estados Unidos</a></p> <p> <a href="~/Home/Portugues">Portugues - Brasil</a> </p> <p> <a href="~/Home/Portugues" class="btn btn-primary"> <span class...
@using Resources @{ ViewBag.Title = "About"; } <h1>Sobre nos ...</h1> <p>@Resources.Site.Texto</p> <p> <a href="~/Home/Ingles">Ingles - Estados Unidos</a></p> <p> <a href="~/Home/Portugues">Portugues - Brasil</a> </p>
mit
C#
77c0ad34d6fc7a9c6124299833b733f39165bb35
Add missing ErrorCode values from zmq.h.
jgoz/netzmq,jgoz/netzmq,jgoz/netzmq,jgoz/netzmq,jgoz/netzmq
src/proj/ZeroMQ/Proxy/ErrorCode.cs
src/proj/ZeroMQ/Proxy/ErrorCode.cs
namespace ZeroMQ.Proxy { internal enum ErrorCode { Eperm = 1, Enoent = 2, Esrch = 3, Eintr = 4, Eio = 5, Enxio = 6, E2Big = 7, Enoexec = 8, Ebadf = 9, Echild = 10, Eagain = 11, Enomem = 12, E...
namespace ZeroMQ.Proxy { internal enum ErrorCode { Eperm = 1, Enoent = 2, Esrch = 3, Eintr = 4, Eio = 5, Enxio = 6, E2Big = 7, Enoexec = 8, Ebadf = 9, Echild = 10, Eagain = 11, Enomem = 12, E...
apache-2.0
C#
76379cbedfc019021ed97e1a661ac14628ea4dd7
Update Environment Repository
RichardSlater/CheckyChatbot,RichardSlater/CheckyChatbot,RichardSlater/CheckyChatbot,RichardSlater/CheckyChatbot
src/Common/Healthbot/EnvironmentRepository.cs
src/Common/Healthbot/EnvironmentRepository.cs
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using Microsoft.Azure.Documents.Client; namespace Healthbot { public class EnvironmentRepository { private readonly Dictionary<string, string> _context; private readonly DocumentClient _client; pr...
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using Microsoft.Azure.Documents.Client; namespace Healthbot { public class EnvironmentRepository { private readonly Dictionary<string, string> _context; private readonly DocumentClient _client; pr...
apache-2.0
C#
08fcdc8ee46748eee4c8d66d5842b57f16d9d896
Update difficulty calculator tests with floating point differences
NeoAdonis/osu,ppy/osu,peppy/osu,smoogipoo/osu,ppy/osu,ppy/osu,peppy/osu,UselessToucan/osu,peppy/osu,smoogipooo/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu
osu.Game.Rulesets.Osu.Tests/OsuDifficultyCalculatorTest.cs
osu.Game.Rulesets.Osu.Tests/OsuDifficultyCalculatorTest.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 NUnit.Framework; using osu.Game.Beatmaps; using osu.Game.Rulesets.Difficulty; using osu.Game.Rulesets.Osu.Difficulty; using osu.Game.Rulesets.Osu.Mods; using osu.Ga...
// 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 NUnit.Framework; using osu.Game.Beatmaps; using osu.Game.Rulesets.Difficulty; using osu.Game.Rulesets.Osu.Difficulty; using osu.Game.Rulesets.Osu.Mods; using osu.Ga...
mit
C#
55d057c8cda2715bb33a8a43776d6d985eb8ce44
disable sensitive data logging
collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists
src/FilterLists.Services/DependencyInjection/Extensions/ConfigureServicesCollection.cs
src/FilterLists.Services/DependencyInjection/Extensions/ConfigureServicesCollection.cs
using AutoMapper; using FilterLists.Data; using FilterLists.Services.FilterList; using FilterLists.Services.Seed; using FilterLists.Services.Snapshot; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInje...
using AutoMapper; using FilterLists.Data; using FilterLists.Services.FilterList; using FilterLists.Services.Seed; using FilterLists.Services.Snapshot; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInje...
mit
C#
293f97286aa215eb3a4a4321f88976759739eb9a
Add route to support children
peasy/Samples,peasy/Samples,ahanusa/Peasy.NET,peasy/Peasy.NET,ahanusa/facile.net,peasy/Samples
Orders.com.Web.Api/App_Start/WebApiConfig.cs
Orders.com.Web.Api/App_Start/WebApiConfig.cs
using Orders.com.Web.Api.Filters; using System.Web.Http; namespace Orders.com.Web.Api { public static class WebApiConfig { public static void Register(HttpConfiguration config) { // Web API configuration and services GlobalConfiguration.Configuration.DependencyResolver ...
using Orders.com.Web.Api.Filters; using System.Web.Http; namespace Orders.com.Web.Api { public static class WebApiConfig { public static void Register(HttpConfiguration config) { // Web API configuration and services GlobalConfiguration.Configuration.DependencyResolver ...
mit
C#
94fae2f9beb77e368d3c35f0b60063cfa228f27c
Enforce token type.
Brightspace/D2L.Security.OAuth2
D2L.Security.OAuth2/Validation/D2L.Security.AuthTokenValidation/TokenValidation/Default/JWTValidator.cs
D2L.Security.OAuth2/Validation/D2L.Security.AuthTokenValidation/TokenValidation/Default/JWTValidator.cs
using System; using System.IdentityModel.Tokens; using System.Security.Claims; using D2L.Security.AuthTokenValidation.PublicKeys; namespace D2L.Security.AuthTokenValidation.TokenValidation.Default { internal sealed class JWTValidator : IJWTValidator { private const string ALLOWED_SIGNATURE_ALGORITHM = "RS...
using System; using System.IdentityModel.Tokens; using System.Security.Claims; using D2L.Security.AuthTokenValidation.PublicKeys; namespace D2L.Security.AuthTokenValidation.TokenValidation.Default { internal sealed class JWTValidator : IJWTValidator { private const string ALLOWED_SIGNATURE_ALGORITHM = "RS...
apache-2.0
C#
43588a2a6ba40378f0e4bff9fef182002e60a9a9
Fix build
Tlaster/iHentai
src/iHentai.Services/EHentai/ApiExtensions.cs
src/iHentai.Services/EHentai/ApiExtensions.cs
using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Flurl; using Flurl.Http; using iHentai.Html; namespace iHentai.Services.EHentai { internal static class ApiExtensions { public static Task<T?> GetHtmlAsync<T>( this Url url, CancellationToken can...
using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Flurl; using Flurl.Http; using iHentai.Html; namespace iHentai.Services.EHentai { internal static class ApiExtensions { public static Task<T> GetHtmlAsync<T>( this Url url, CancellationToken canc...
mit
C#
4f97ff00120ac326272f0b5589c680934e57afc3
Update Index.cshtml
ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab
Anlab.Mvc/Views/Home/Index.cshtml
Anlab.Mvc/Views/Home/Index.cshtml
@{ ViewData["Title"] = "Home Page"; } <div class="col-8"> <div class="alert alert-info"> <button type="button" class="close" data-dismiss="alert">×</button> Updated: January 11, 2021<br /><br /> A modest rate increase will be implemented on February 1, 2021. </div> <p class=...
@{ ViewData["Title"] = "Home Page"; } <div class="col-8"> <p class="lead">The UC Davis Analytical Laboratory is a core support facility of the UC Davis College of Agriculture and Environmental Sciences.</p> <p>The laboratory is located in Hoagland Hall with a Sample Receiving area in nearby Hoagland ...
mit
C#
28c430090212955f94a7f5b89d17600829078c23
Remove most proxy logic from ProcessProxy
lou1306/CIV,lou1306/CIV
CIV.Ccs/Processes/ProcessProxy.cs
CIV.Ccs/Processes/ProcessProxy.cs
using System.Collections.Generic; using static CIV.Ccs.CcsParser; using CIV.Interfaces; namespace CIV.Ccs { /// <summary> /// Proxy class that delays the creation of a new Process instance until it /// is needed. /// </summary> class ProcessProxy : Proxy<CcsProcess, ProcessContext>, IHasWeakTransi...
using System.Collections.Generic; using static CIV.Ccs.CcsParser; using CIV.Interfaces; namespace CIV.Ccs { /// <summary> /// Proxy class that delays the creation of a new Process instance until it /// is needed. /// </summary> class ProcessProxy : CcsProcess { protected ProcessContext...
mit
C#