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
7e4450ecea8c16f852ff6f88689a8fe9afbb1145
Update ServiceProviderFixture.cs
tiksn/TIKSN-Framework
TIKSN.Framework.IntegrationTests/ServiceProviderFixture.cs
TIKSN.Framework.IntegrationTests/ServiceProviderFixture.cs
using System; using System.Collections.Generic; using Autofac; using Autofac.Extensions.DependencyInjection; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using TIKSN.Data.Mongo; using TIKSN.DependencyInjection; using TIKSN.Framework.IntegrationTests.Data.Mongo; namespace TIKSN.Framewo...
using System; using System.Collections.Generic; using Autofac; using Autofac.Extensions.DependencyInjection; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using TIKSN.Data.Mongo; using TIKSN.DependencyInjection; using TIKSN.Framework.IntegrationTests.Data.Mongo; namespace TIKSN.Framewo...
mit
C#
80a1f2044ecf77d02a9f02576ed58608e18c77fa
Add UserAsyncTest
ats124/backlog4net
src/Backlog4net.Test/UserMethodsTest.cs
src/Backlog4net.Test/UserMethodsTest.cs
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Runtime.Remoting; using System.Text; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Backlog4net.Test { using Api; using Api.Option; using Backlog4net.Internal.Json;...
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Runtime.Remoting; using System.Text; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Backlog4net.Test { using Api; using Api.Option; using Backlog4net.Internal.Json;...
mit
C#
fc573a6975446a5ce282de392a7a836a07ff44f5
Fix contract, closes #2933
quails4Eva/NSwag,RSuter/NSwag,RSuter/NSwag,quails4Eva/NSwag,RSuter/NSwag,quails4Eva/NSwag,quails4Eva/NSwag,RSuter/NSwag,RSuter/NSwag
src/NSwag.Core/OpenApiServerVariable.cs
src/NSwag.Core/OpenApiServerVariable.cs
//----------------------------------------------------------------------- // <copyright file="OpenApiServerVariable.cs" company="NSwag"> // Copyright (c) Rico Suter. All rights reserved. // </copyright> // <license>https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md</license> // <author>Rico Suter, mail@rsut...
//----------------------------------------------------------------------- // <copyright file="OpenApiServerVariable.cs" company="NSwag"> // Copyright (c) Rico Suter. All rights reserved. // </copyright> // <license>https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md</license> // <author>Rico Suter, mail@rsut...
mit
C#
511e152c672a9665569d29906f1ef1b524ab755b
Hide post link if not "writer"
mattgwagner/alert-roster
alert-roster.web/Views/Shared/_Layout.cshtml
alert-roster.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</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/libs") </head> <body> <div class="navbar navbar-inverse navbar-fixed-top"> ...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/libs") </head> <body> <div class="navbar navbar-inverse navbar-fixed-top"> ...
mit
C#
29be14e8daf07e020f4b6638f93a72c359ab79c9
add text analysis
Appleseed/base,Appleseed/base
Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/SolrResponseItem.cs
Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/SolrResponseItem.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Appleseed.Base.Alerts.Model { class SolrResponseItem { public string id { get; set; } public string item_type { get; set; } public string address_1 { get; set;...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Appleseed.Base.Alerts.Model { class SolrResponseItem { public string id { get; set; } public string item_type { get; set; } public string address_1 { get; set;...
apache-2.0
C#
b89c3817e9d79b7af5c8b19cd2c952cdc50ef46c
Add command work
Julien-Mialon/XamarinStore.Forms
XamarinStore.Forms/XamarinStore.Forms/XamarinStore.Forms/ViewModels/BasketPageViewModel.cs
XamarinStore.Forms/XamarinStore.Forms/XamarinStore.Forms/ViewModels/BasketPageViewModel.cs
using System.Collections.Generic; using System.Linq; using System.Windows.Input; using Acr.XamForms.UserDialogs; using Xamarin.Forms; using XamarinStore.Forms.Data; using XamarinStore.Forms.Helpers; using XamarinStore.Forms.UIModels; using XamarinStore.Forms.Views; using XLabs.Ioc; namespace XamarinStore.Forms.ViewMo...
using System.Collections.Generic; using System.Linq; using System.Windows.Input; using Xamarin.Forms; using XamarinStore.Forms.Data; using XamarinStore.Forms.Helpers; using XamarinStore.Forms.UIModels; using XamarinStore.Forms.Views; namespace XamarinStore.Forms.ViewModels { public class BasketPageViewModel : BaseVi...
mit
C#
64b834686ebf680373919499e1e12651a81fc530
test for no denominations
dgg/nmoneys,dgg/nmoneys
src/NMoneys.Tests/Change/ChangeCountTester.cs
src/NMoneys.Tests/Change/ChangeCountTester.cs
using System.Linq; using NMoneys.Change; using NMoneys.Extensions; using NUnit.Framework; namespace NMoneys.Tests.Change { [TestFixture] public class ChangeCountTester { [Test] public void ChangeCount_Zero_OneWayOfChoosingNoDenominations() { var zero = Money.Zero(); Denomination[] any = { new Denominat...
using System.Linq; using NMoneys.Change; using NMoneys.Extensions; using NUnit.Framework; namespace NMoneys.Tests.Change { [TestFixture] public class ChangeCountTester { [Test] public void ChangeCount_Zero_OneWayOfChoosingNoDenominations() { var zero = Money.Zero(); Denomination[] any = { new Denomina...
bsd-3-clause
C#
ef13ae484ed88fb30d9904bd61314fcecb832d56
fix fragmented error message
DefactoSoftware/JSONAPI.NET,SathishN/JSONAPI.NET,SphtKr/JSONAPI.NET,danshapir/JSONAPI.NET,JSONAPIdotNET/JSONAPI.NET
JSONAPI/Core/JsonApiConfiguration.cs
JSONAPI/Core/JsonApiConfiguration.cs
using System; using System.Collections.Generic; using System.Web.Http; using System.Web.Http.Dispatcher; using JSONAPI.ActionFilters; using JSONAPI.Http; using JSONAPI.Json; using JSONAPI.Payload; namespace JSONAPI.Core { /// <summary> /// Configuration API for JSONAPI.NET /// </summary> public class ...
using System; using System.Collections.Generic; using System.Web.Http; using System.Web.Http.Dispatcher; using JSONAPI.ActionFilters; using JSONAPI.Http; using JSONAPI.Json; using JSONAPI.Payload; namespace JSONAPI.Core { /// <summary> /// Configuration API for JSONAPI.NET /// </summary> public class ...
mit
C#
8dde7054db39ffb9a212a8d0fc7e7b8e2d0e6523
Remove "New" string from asset name
bartlomiejwolk/AnimationPathAnimator
Libraries/ScriptableObjectUtility.cs
Libraries/ScriptableObjectUtility.cs
using UnityEngine; using UnityEditor; using System.IO; namespace ATP.AnimationPathTools { public static class ScriptableObjectUtility { /// <summary> // This makes it easy to create, name and place unique new ScriptableObject asset files. /// </summary> public static void CreateAsset<T> () where T : Script...
using UnityEngine; using UnityEditor; using System.IO; namespace ATP.AnimationPathTools { public static class ScriptableObjectUtility { /// <summary> // This makes it easy to create, name and place unique new ScriptableObject asset files. /// </summary> public static void CreateAsset<T> () where T : Script...
mit
C#
82d9c9a7e05132f2146e911f7c34c18dd9802f67
Update ArrayEntity.cs
dimmpixeye/Unity3dTools
Runtime/LibMisc/ArrayEntity.cs
Runtime/LibMisc/ArrayEntity.cs
// Project : ecs // Contacts : Pix - ask@pixeye.games using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using Unity.IL2CPP.CompilerServices; using UnityEngine; namespace Pixeye.Framework { [Serializable] public struct ArrayEntity { public int length; public ent[] source; ...
// Project : ecs // Contacts : Pix - ask@pixeye.games using System; using System.Runtime.CompilerServices; using Unity.IL2CPP.CompilerServices; namespace Pixeye.Framework { [Serializable] public struct ArrayEntity { public int length; public ent[] source; public ref ent this[int index] { [MethodImpl(...
mit
C#
228e43af265f8964767593ce89dff94bf135d514
clean up
edewit/fh-dotnet-sdk,feedhenry/fh-dotnet-sdk,edewit/fh-dotnet-sdk,feedhenry/fh-dotnet-sdk,edewit/fh-dotnet-sdk,feedhenry/fh-dotnet-sdk,edewit/fh-dotnet-sdk,edewit/fh-dotnet-sdk,feedhenry/fh-dotnet-sdk
tests/InMemoryDataStoreTest.cs
tests/InMemoryDataStoreTest.cs
using System.IO; using FHSDK.Services; using FHSDK.Services.Data; using FHSDK.Sync; using FHSDKPortable; using Newtonsoft.Json.Linq; using Xunit; namespace tests { public class InMemoryDataStoreTest { private readonly string _dataPersistFile; private readonly IIOService _ioService; pu...
using System.IO; using FHSDK.Services; using FHSDK.Services.Data; using FHSDK.Sync; using FHSDKPortable; using Newtonsoft.Json.Linq; using Xunit; namespace tests { public class InMemoryDataStoreTest { private string _dataPersistDir; private string _dataPersistFile; private IIOService _...
apache-2.0
C#
8766e4abfab5e670bf77dd946fc2cb031536a211
Fix test name
peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework
osu.Framework.Tests/Visual/Testing/TestSceneDerivedTestWithDerivedMethodsWithAttributes.cs
osu.Framework.Tests/Visual/Testing/TestSceneDerivedTestWithDerivedMethodsWithAttributes.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.Framework.Testing; namespace osu.Framework.Tests.Visual.Testing { public class TestSceneDerivedTestWithDerivedMethodsWithAttributes ...
// 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.Framework.Testing; namespace osu.Framework.Tests.Visual.Testing { public class TestSceneDerivedTestWithOverriddenTestMethodsWithCust...
mit
C#
90f7c0e039dbbaccae91f6968eb8e10c0e4959f8
Update ModelManager.cs
wangyaron/VRProject
TestGit/Assets/ModelManager.cs
TestGit/Assets/ModelManager.cs
using UnityEngine; using System.Collections; public class ModelManager : MonoBehaviour { private int tag = 8; private bool isShow = false; private string model_name = "hello"; void Start () { Debug.Log("git测试"); } // Update is called once per frame void Update () { ...
using UnityEngine; using System.Collections; public class ModelManager : MonoBehaviour { private int tag = 5; private string model_name = "hello"; void Start () { Debug.Log("git测试"); } // Update is called once per frame void Update () { transform.Rotate(Vector3.up, T...
apache-2.0
C#
620c2311ac887eebf82c8c31583661bfe0aba517
Add test
johnneijzen/osu,NeoAdonis/osu,NeoAdonis/osu,EVAST9919/osu,ppy/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,EVAST9919/osu,ppy/osu,ZLima12/osu,ppy/osu,UselessToucan/osu,2yangk23/osu,smoogipoo/osu,johnneijzen/osu,NeoAdonis/osu,ZLima12/osu,2yangk23/osu...
osu.Game.Tests/Visual/Online/TestSceneFullscreenOverlay.cs
osu.Game.Tests/Visual/Online/TestSceneFullscreenOverlay.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.Framework.Graphics; using osu.Framework.Graphics.Shapes; using osu.Game.Overlays; using osuTK.Graphics; namespace osu.Game.Tests.Visual....
// 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.Framework.Graphics; using osu.Framework.Graphics.Shapes; using osu.Game.Overlays; using osuTK.Graphics; namespace osu.Game.Tests.Visual....
mit
C#
f9edc57f6f2325c97d4324b439104498be249943
Comment update.
bogosoft/Maybe
Bogosoft.Maybe/ObjectExtensions.cs
Bogosoft.Maybe/ObjectExtensions.cs
namespace Bogosoft.Maybe { /// <summary> /// Provides a set of static methods for conversions between objects and <see cref="MayBe{T}"/> objects. /// </summary> public static class ObjectExtensions { /// <summary> /// Convert the current object to an instance of the <see cre...
namespace Bogosoft.Maybe { /// <summary> /// Provides a set of static methods for conversions between objects and may bes. /// </summary> public static class ObjectExtensions { /// <summary> /// Convert the current object to an instance of the <see cref="MayBe{T}"/> class. ...
mit
C#
ecc7fac6e5397d93402bb7cceed73d01ce3744d4
Initialize MassTransit logger with TopShelf during host startup
jacobpovar/MassTransit,SanSYS/MassTransit,phatboyg/MassTransit,MassTransit/MassTransit,phatboyg/MassTransit,MassTransit/MassTransit,SanSYS/MassTransit,jacobpovar/MassTransit
src/MassTransit.Host/Program.cs
src/MassTransit.Host/Program.cs
// Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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...
// Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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#
a13b4bb1ff070614c18ac9547b189a31f7837598
Make InheritedAreMarkedSerializable() produce a more informative failure message.
gliljas/nhibernate-core,alobakov/nhibernate-core,lnu/nhibernate-core,ngbrown/nhibernate-core,nhibernate/nhibernate-core,ManufacturingIntelligence/nhibernate-core,fredericDelaporte/nhibernate-core,fredericDelaporte/nhibernate-core,RogerKratz/nhibernate-core,nkreipke/nhibernate-core,RogerKratz/nhibernate-core,RogerKratz/...
src/NHibernate.Test/NHAssert.cs
src/NHibernate.Test/NHAssert.cs
using System; using System.Reflection; using System.Text; using NUnit.Framework; using System.Collections.Generic; using System.Linq; namespace NHibernate.Test { public class NHAssert { #region Serializable public static void HaveSerializableAttribute(System.Type clazz) { HaveSerializableAtt...
using System; using System.Reflection; using System.Text; using NUnit.Framework; using System.Collections.Generic; namespace NHibernate.Test { public class NHAssert { #region Serializable public static void HaveSerializableAttribute(System.Type clazz) { HaveSerializableAttribute(clazz, null, ...
lgpl-2.1
C#
f885840e05067f7aa48362712e9909717d8b187d
Set default Options value to null for UsageRecordService
stripe/stripe-dotnet
src/Stripe.net/Services/UsageRecords/UsageRecordService.cs
src/Stripe.net/Services/UsageRecords/UsageRecordService.cs
namespace Stripe { using System.Threading; using System.Threading.Tasks; public class UsageRecordService : ServiceNested<UsageRecord>, INestedCreatable<UsageRecord, UsageRecordCreateOptions> { public UsageRecordService() : base(null) { } public Usage...
namespace Stripe { using System.Threading; using System.Threading.Tasks; public class UsageRecordService : ServiceNested<UsageRecord>, INestedCreatable<UsageRecord, UsageRecordCreateOptions> { public UsageRecordService() : base(null) { } public Usage...
apache-2.0
C#
a72928ddbd6636ea6248884ef7530e2cb9f8f46d
Implement SendBackspace and SentHotstring on Windows frontend
yatsek/IronAHK,michaltakac/IronAHK,yatsek/IronAHK,yatsek/IronAHK,yatsek/IronAHK,polyethene/IronAHK,michaltakac/IronAHK,yatsek/IronAHK,polyethene/IronAHK,polyethene/IronAHK,michaltakac/IronAHK,michaltakac/IronAHK,polyethene/IronAHK,michaltakac/IronAHK
Rusty/Windows/KeyboardHook.cs
Rusty/Windows/KeyboardHook.cs
using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Windows.Forms; using System.Text; namespace IronAHK.Rusty { partial class Windows { public class KeyboardHook : Core.KeyboardHook { // credit to http://blogs.msdn.com/toub/archive/2006/05/03/5...
using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Windows.Forms; namespace IronAHK.Rusty { partial class Windows { public class KeyboardHook : Core.KeyboardHook { // credit to http://blogs.msdn.com/toub/archive/2006/05/03/589423.aspx for sav...
bsd-2-clause
C#
5204fc88a4f6dd781d4ce30d02699f76a6ba322f
Clean up attacher
andrew-vant/dragalt
dragnavball.cs
dragnavball.cs
using KSP.UI.Screens.Flight; using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; [KSPAddon(KSPAddon.Startup.Flight, false)] public class NavBallAttacher : MonoBehaviour { void Start() { print("Starting draggable navball"); // We want to drag the navball's frame around. The frame is // the ...
using KSP.UI.Screens.Flight; using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; [KSPAddon(KSPAddon.Startup.Flight, false)] public class NavBallAttacher : MonoBehaviour { void Start() { print("Starting draggable navball"); GameObject ball = FindObjectOfType<NavBall>().gameObject; GameObjec...
mit
C#
f6953f7c44ab12d228aa15ec254303ffa57c5c80
Add tests consuming ReactiveBuilder
inputfalken/Sharpy
tests/Sharpy.ReactiveBuilder.Tests/ReactiveBuilderTests.cs
tests/Sharpy.ReactiveBuilder.Tests/ReactiveBuilderTests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; using NUnit.Framework; namespace Sharpy.ReactiveBuilder.Tests { [TestFixture] internal class ReactiveBuilderTests { [Test] public void Not_Null() => Assert.NotNull(new Builder.Builder().Observable(b ...
using System; using NUnit.Framework; namespace Sharpy.ReactiveBuilder.Tests { [TestFixture] internal class ReactiveBuilderTests { [Test] public void Not_Null() => Assert.NotNull(new Builder.Builder().Observable(b => b.Integer())); [Test] public void Not_Null_With_Counter() => ...
mit
C#
d6a5bc2130e99a22dc9c6f89f30ae3f044e1738c
Add TODO for later review
larsbrubaker/agg-sharp,MatterHackers/agg-sharp,jlewin/agg-sharp
DataConverters3D/Object3D/Json/IObject3DContractResolver.cs
DataConverters3D/Object3D/Json/IObject3DContractResolver.cs
/* Copyright (c) 2017, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following ...
/* Copyright (c) 2017, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following ...
bsd-2-clause
C#
ebc0ecfebdfa1fdeb518c71a831c409e6cc26685
Fix overlay layout measure
helix-toolkit/helix-toolkit,holance/helix-toolkit,chrkon/helix-toolkit,JeremyAnsel/helix-toolkit,Iluvatar82/helix-toolkit
Source/HelixToolkit.Wpf.SharpDX/Model/Elements2D/Overlay.cs
Source/HelixToolkit.Wpf.SharpDX/Model/Elements2D/Overlay.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SharpDX; namespace HelixToolkit.Wpf.SharpDX.Elements2D { internal sealed class Overlay : ContentElement2D { protected override bool OnHitTest(ref Vector2 mousePoint, out HitTest2DR...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SharpDX; namespace HelixToolkit.Wpf.SharpDX.Elements2D { internal sealed class Overlay : ContentElement2D { protected override bool OnHitTest(ref Vector2 mousePoint, out HitTest2DR...
mit
C#
80e7ecc9a2c3b2536054b015bb7fa1773fff3ded
Refactor Subtract Doubles Operation to use GetValues and CloneWithValues
ajlopez/TensorSharp
Src/TensorSharp/Operations/SubtractDoubleDoubleOperation.cs
Src/TensorSharp/Operations/SubtractDoubleDoubleOperation.cs
namespace TensorSharp.Operations { using System; using System.Collections.Generic; using System.Linq; using System.Text; public class SubtractDoubleDoubleOperation : IBinaryOperation<double, double, double> { public Tensor<double> Evaluate(Tensor<double> tensor1, Tensor<double...
namespace TensorSharp.Operations { using System; using System.Collections.Generic; using System.Linq; using System.Text; public class SubtractDoubleDoubleOperation : IBinaryOperation<double, double, double> { public Tensor<double> Evaluate(Tensor<double> tensor1, Tensor<double...
mit
C#
1f018c59b47034a0480ea7fa025a6f90d119c01d
Fix for Crashing commands.
rrampersad/TestAppMobileCenter
TestAppMobilecenter/TestAppMobilecenter/Commands/Command.cs
TestAppMobilecenter/TestAppMobilecenter/Commands/Command.cs
using System; using System.Collections.Generic; using System.Reflection; using System.Text; using System.Windows.Input; namespace TestAppMobilecenter.Commands { //https://github.com/xamarin/Xamarin.Forms/blob/master/Xamarin.Forms.Core/Command.cs public class Command : ICommand { readonly Func<obj...
using System; using System.Collections.Generic; using System.Reflection; using System.Text; using System.Windows.Input; namespace TestAppMobilecenter.Commands { //https://github.com/xamarin/Xamarin.Forms/blob/master/Xamarin.Forms.Core/Command.cs public class Command : ICommand { readonly Func<obj...
apache-2.0
C#
8b59db6988557561c6655cdf21946364baed1da5
Update AssemblyFileVersion to 2.0.2.0
dominiqa/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,shipram/azure-sdk-for-net,scottrille/azure-sdk-for-net,vivsriaus/azure-sdk-for-net,AzCiS/azure-sdk-for-net,robertla/azure-sdk-for-net,DheerendraRathor/azure-sdk-for-net,nathannfan/azure-sdk-for-net,cwickham3/azure-sdk-for-net,shahabhijeet/azure-sdk-for-net,shaha...
microsoft-azure-api/Configuration/Microsoft.WindowsAzure.Configuration/Properties/AssemblyInfo.cs
microsoft-azure-api/Configuration/Microsoft.WindowsAzure.Configuration/Properties/AssemblyInfo.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.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agr...
// // 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.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agr...
apache-2.0
C#
9a4913063d843776b6d15fcf7c67e654dfe36e3a
clean up: remove unused import
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
resharper/resharper-unity/src/Yaml/Psi/DeferredCaches/AnimatorUsages/IAnimatorScriptUsage.cs
resharper/resharper-unity/src/Yaml/Psi/DeferredCaches/AnimatorUsages/IAnimatorScriptUsage.cs
using JetBrains.Annotations; using JetBrains.Serialization; namespace JetBrains.ReSharper.Plugins.Unity.Yaml.Psi.DeferredCaches.AnimatorUsages { public interface IAnimatorScriptUsage : IScriptUsage { [NotNull] string Name { get; } void WriteTo([NotNull] UnsafeWriter writer); ...
using System; using JetBrains.Annotations; using JetBrains.Serialization; namespace JetBrains.ReSharper.Plugins.Unity.Yaml.Psi.DeferredCaches.AnimatorUsages { public interface IAnimatorScriptUsage : IScriptUsage { [NotNull] string Name { get; } void WriteTo([NotNull] UnsafeWrit...
apache-2.0
C#
3a72ba64d196fbe0fae4d4403c679edb3eb634c9
Hide ffmpeg banner
Yuisbean/WebMConverter,o11c/WebMConverter,nixxquality/WebMConverter
Components/FFmpeg.cs
Components/FFmpeg.cs
using System; using System.Diagnostics; using System.IO; namespace WebMConverter { class FFmpeg : Process //Refactoring, faggots. { public string FFmpegPath; public FFmpeg(string argument, bool win32 = false) { string folder; if (win32) folder =...
using System; using System.Diagnostics; using System.IO; namespace WebMConverter { class FFmpeg : Process //Refactoring, faggots. { public string FFmpegPath; public FFmpeg(string argument, bool win32 = false) { string folder; if (win32) folder =...
mit
C#
a1199a52d97aea1dce7f360c265ff271a390ec3a
Update App.cs
TorbenK/TK.CustomMap
Sample/TK.CustomMap.Sample/TK.CustomMap.Sample/App.cs
Sample/TK.CustomMap.Sample/TK.CustomMap.Sample/App.cs
using TK.CustomMap.Api.Google; using Xamarin.Forms; namespace TK.CustomMap.Sample { public class App : Application { public App() { GmsPlace.Init("YOUR API KEY"); GmsDirection.Init("YOUR API KEY"); // The root page of your application MainPage =...
using TK.CustomMap.Api.Google; using Xamarin.Forms; namespace TK.CustomMap.Sample { public class App : Application { public App() { GmsPlace.Init("YOUR API KEY"); GmsDirection.Init("AIzaSyCpAu6gru_MOol9M3Kg4ZNIMrEnRl9JS6A"); // The root page of your applica...
mit
C#
8cad3ea5a6a745ffad6d1414a7391bdd9b936347
Fix to be able to load unmanaged dlls in the carna-runner.
averrunci/Carna
Source/CarnaConsoleRunner/CarnaAssemblyLoadContext.cs
Source/CarnaConsoleRunner/CarnaAssemblyLoadContext.cs
// Copyright (C) 2020 Fievus // // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. using System; using System.Reflection; using System.Runtime.Loader; namespace Carna.ConsoleRunner { internal class CarnaAssemblyLoadContext : AssemblyLoadConte...
// Copyright (C) 2020 Fievus // // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. using System; using System.Reflection; using System.Runtime.Loader; namespace Carna.ConsoleRunner { internal class CarnaAssemblyLoadContext : AssemblyLoadConte...
mit
C#
52de2d548fd8b175d28e65a28dee7608701664aa
Remove superfulous new line
sbennett1990/signify.cs
SignifyCS/Main.cs
SignifyCS/Main.cs
/* * Copyright (c) 2017 Scott Bennett <scottb@fastmail.com> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "...
/* * Copyright (c) 2017 Scott Bennett <scottb@fastmail.com> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "...
isc
C#
01c4ec39c024e6301783354eb136eac116e20b7c
Fix issue with multi-selected checkboxes within a group not being posted properly.
abhaypsingh/SimpleBrowser,abhaypsingh/SimpleBrowser
SimpleBrowser/Internal/StringUtil.cs
SimpleBrowser/Internal/StringUtil.cs
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.Web; namespace SimpleBrowser { internal static class StringUtil { private static readonly Random Randomizer = new Random(Convert.ToInt32(DateTime.UtcNow.Ticks % int.MaxValue)); public sta...
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.Web; namespace SimpleBrowser { internal static class StringUtil { private static readonly Random Randomizer = new Random(Convert.ToInt32(DateTime.UtcNow.Ticks % int.MaxValue)); public sta...
bsd-3-clause
C#
e2320c81d5c5ab68a786432753241fccbce3aa74
Make obsoletE
mavasani/roslyn,mavasani/roslyn,jasonmalinowski/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,mavasani/roslyn,bartdesmet/roslyn,shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,dotnet/roslyn,bartdesmet/roslyn,bartdesmet/roslyn,shyamnamboodiripad/roslyn,CyrusNa...
src/Features/Core/Portable/ExternalAccess/VSTypeScript/Api/VSTypeScriptDiagnosticData.cs
src/Features/Core/Portable/ExternalAccess/VSTypeScript/Api/VSTypeScriptDiagnosticData.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.Collections.Immutable; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.CodeAna...
// 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.Collections.Immutable; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.CodeAnalysis.Text; us...
mit
C#
c602b6cff382ba1d139ef074a196316d3f29723f
FIx issue looking up property aliases for built-in datatypes
imulus/census,imulus/census
Src/Census/UmbracoObject/Property.cs
Src/Census/UmbracoObject/Property.cs
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Web; using Census.Interfaces; namespace Census.UmbracoObject { public class Property : IUmbracoObject { public string Name { get { return "Document Type"; } } public List<string> BackofficePages...
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Web; using Census.Interfaces; namespace Census.UmbracoObject { public class Property : IUmbracoObject { public string Name { get { return "Document Type"; } } public List<string> BackofficePages...
mit
C#
f85717ed16cecca47162b22ee4841ff8db809bcc
Make Page handle edit summary
Skalman/svwikt-suite
SvwiktSuite/SvwiktSuite/Core/Page.cs
SvwiktSuite/SvwiktSuite/Core/Page.cs
using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json.Linq; namespace SvwiktSuite { public class Page { public Page(JToken json) : this( title: (string)json ["title"], text: (string)json ["revisions"] [0] ["*"] + "\n", ...
using System; using Newtonsoft.Json.Linq; using System.Collections.Generic; namespace SvwiktSuite { public class Page { public Page(JToken json) : this( title: (string)json ["title"], text: (string)json ["revisions"] [0] ["*"] + "\n", timestam...
mpl-2.0
C#
92fadd748469605f33d5b67824fda44888a6211e
fix locked file in peverify test
GeertvanHorrik/Fody,Fody/Fody
Tests/FodyHelpers/PeVerifierTests.cs
Tests/FodyHelpers/PeVerifierTests.cs
using System; using System.IO; using Fody; using Mono.Cecil; using Xunit; #pragma warning disable 618 public class PeVerifierTests : TestBase { [Fact] public void StaticPathResolution() { Assert.True(PeVerifier.FoundPeVerify); } [Fact] public void Should_verify_current_assembly() {...
using System; using System.IO; using Fody; using Mono.Cecil; using Xunit; #pragma warning disable 618 public class PeVerifierTests : TestBase { [Fact] public void StaticPathResolution() { Assert.True(PeVerifier.FoundPeVerify); } [Fact] public void Should_verify_current_assembly() {...
mit
C#
8f57bf2498f628b0b751390714e4554faeb7617b
Add choices of hover sample sets
UselessToucan/osu,UselessToucan/osu,ZLima12/osu,Frontear/osuKyzer,DrabWeb/osu,smoogipoo/osu,EVAST9919/osu,ppy/osu,UselessToucan/osu,peppy/osu,naoey/osu,ppy/osu,2yangk23/osu,Nabile-Rahmani/osu,smoogipoo/osu,naoey/osu,peppy/osu,ppy/osu,johnneijzen/osu,johnneijzen/osu,DrabWeb/osu,peppy/osu-new,naoey/osu,DrabWeb/osu,ZLima1...
osu.Game/Graphics/UserInterface/OsuButton.cs
osu.Game/Graphics/UserInterface/OsuButton.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 System.ComponentModel; using osu.Framework.Allocation; using osu.Framework.Audio; using osu.Framework.Audio.Sample; using osu.Framework.Extensions; using ...
// 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.Allocation; using osu.Framework.Audio; using osu.Framework.Audio.Sample; using osu.Framework.Graphics.UserInterface; using osu.Framework.Inpu...
mit
C#
4266ed9d4a6de5d04289d00b74c85c18dd389463
Update Strings.cs
gerco/duplicati,sitofabi/duplicati,gerco/duplicati,duplicati/duplicati,agrajaghh/duplicati,sitofabi/duplicati,sitofabi/duplicati,duplicati/duplicati,mnaiman/duplicati,mnaiman/duplicati,klammbueddel/duplicati,sitofabi/duplicati,agrajaghh/duplicati,klammbueddel/duplicati,duplicati/duplicati,agrajaghh/duplicati,sitofabi/d...
Duplicati/Library/Compression/Strings.cs
Duplicati/Library/Compression/Strings.cs
using Duplicati.Library.Localization.Short; namespace Duplicati.Library.Compression.Strings { internal static class FileArchiveZip { public static string CompressionlevelDeprecated(string optionname) { return LC.L(@"Please use the {0} option instead", optionname); } public static string Compressionl...
using Duplicati.Library.Localization.Short; namespace Duplicati.Library.Compression.Strings { internal static class FileArchiveZip { public static string CompressionlevelDeprecated(string optionname) { return LC.L(@"Please use the {0} option instead", optionname); } public static string Compressionl...
lgpl-2.1
C#
115cbe11ae71b0c2667653ee7d649316e24bc3ca
Remove IEquatable<T> inheritance from ITabsterDocument.
GetTabster/Tabster
Tabster.Core/FileTypes/ITabsterDocument.cs
Tabster.Core/FileTypes/ITabsterDocument.cs
#region using System; using System.IO; #endregion namespace Tabster.Core.FileTypes { public interface ITabsterDocument { Version FileVersion { get; } FileInfo FileInfo { get; } void Load(string filename); void Save(); void Save(string fileName); ...
#region using System; using System.IO; #endregion namespace Tabster.Core.FileTypes { public interface ITabsterDocument : IEquatable<ITabsterDocument> { Version FileVersion { get; } FileInfo FileInfo { get; } void Load(string filename); void Save(); void...
apache-2.0
C#
d2cad3895a14f0f68d42251b63a63d66a900e1ae
use %domain%+url when redirecting to search instead of %current% + url
joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net
Joinrpg/Views/Shared/SuperSearchPartial.cshtml
Joinrpg/Views/Shared/SuperSearchPartial.cshtml
<span class="input-group input-group-xs"> <script> function getRefToSearchResultsPage() { var searchString = document.getElementById('SearchRequest').value; return '/search?searchString=' + encodeURIComponent(searchString); } </script> <input type="text" id="SearchR...
<span class="input-group input-group-xs"> <script> function getRefToSearchResultsPage() { var searchString = document.getElementById('SearchRequest').value; return 'search?searchString=' + encodeURIComponent(searchString); } </script> <input type="text" id="SearchRe...
mit
C#
c8e0d29bdb2596e847b01233d3155d5238624ac0
Remove trailing whistespace
aloisdg/edx-csharp
edX/Module3/Program.cs
edX/Module3/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace Module3 { public class Program { public static void Main() { try { HandlePeople(); // ToDo // cour...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace Module3 { public class Program { public static void Main() { try { HandlePeople(); // ToDo // cour...
mit
C#
6ab28bd0bb998e89dcdfe70c16aa8ef1911d74b8
optimize leastsquares
dkackman/LinqStatistics
LinqStatisticsTests/LeastSquaresTests.cs
LinqStatisticsTests/LeastSquaresTests.cs
using System; using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using LinqStatistics; namespace LinqStatisticsTests { [TestClass] public class LeastSquaresTests { [TestMethod] [ExpectedException(typeof(InvalidOperationException))] ...
using System; using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using LinqStatistics; namespace LinqStatisticsTests { [TestClass] public class LeastSquaresTests { [TestMethod] [ExpectedException(typeof(InvalidOperationException))] ...
apache-2.0
C#
0ed0f1e392eb3a0c0c12691060c25b391dc7da43
Optimize further
xPaw/adventofcode-solutions,xPaw/adventofcode-solutions,xPaw/adventofcode-solutions
2021/Answers/Solutions/Day13.cs
2021/Answers/Solutions/Day13.cs
using System; using System.Linq; using System.Text; namespace AdventOfCode2021; [Answer(13)] class Day13 : IAnswer { public (string Part1, string Part2) Solve(string input) { var inputs = input.Split("\n\n"); var numbers = inputs[0] .Split('\n') .Select(l => l .Split(',', 2) .Select(n => int.Parse...
using System; using System.Linq; using System.Text; namespace AdventOfCode2021; [Answer(13)] class Day13 : IAnswer { public (string Part1, string Part2) Solve(string input) { var inputs = input.Split("\n\n"); var numbers = inputs[0] .Split('\n') .Select(l => l .Split(',', 2) .Select(n => int.Parse...
unlicense
C#
9989b36029d609abc8cc29653c06f5223936b8fa
Remove extra blank lines
mattherman/MbDotNet,mattherman/MbDotNet,SuperDrew/MbDotNet
MbDotNet/Models/Imposters/RetrievedImposter.cs
MbDotNet/Models/Imposters/RetrievedImposter.cs
using Newtonsoft.Json; namespace MbDotNet.Models.Imposters { public class RetrievedImposter { /// <summary> /// The port the imposter is set up to accept requests on. /// </summary> [JsonProperty("port")] public int Port { get; private set; } /// <summary> ...
using Newtonsoft.Json; namespace MbDotNet.Models.Imposters { public class RetrievedImposter { /// <summary> /// The port the imposter is set up to accept requests on. /// </summary> [JsonProperty("port")] public int Port { get; private set; } /// <summary> ...
mit
C#
a02b3fe01536ecb8584e7ce3fc1a7fcf74f80d49
refactor of InventoryCollection for good measure
BogusCurry/arribasim-dev,justinccdev/opensim,intari/OpenSimMirror,zekizeki/agentservice,rryk/omp-server,M-O-S-E-S/opensim,ft-/arribasim-dev-extras,N3X15/VoxelSim,allquixotic/opensim-autobackup,ft-/arribasim-dev-tests,ft-/arribasim-dev-extras,RavenB/opensim,QuillLittlefeather/opensim-1,bravelittlescientist/opensim-perfo...
OpenSim/Framework/InventoryCollection.cs
OpenSim/Framework/InventoryCollection.cs
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
bsd-3-clause
C#
9d3acaa5843ee0f71a3d70314f944ee36235b2c0
Add drink alone action
Guityyo/minerparty,Guityyo/minerparty
Assets/AI/Actions/drinkAlone.cs
Assets/AI/Actions/drinkAlone.cs
using UnityEngine; using System.Collections; using System.Collections.Generic; using RAIN.Action; using RAIN.Core; [RAINAction] public class drinkAlone : RAINAction { private Thief thief; public override void Start(RAIN.Core.AI ai){ base.Start(ai); thief = GameObject.Find("Thief").GetComponent<Thief>();...
using UnityEngine; using System.Collections; using System.Collections.Generic; using RAIN.Action; using RAIN.Core; [RAINAction] public class drinkAlone : RAINAction { private Thief thief; public override void Start(RAIN.Core.AI ai){ base.Start(ai); thief = GameObject.Find("Thief").GetComponent<Thief>();...
apache-2.0
C#
0f2407277defdffe39231647ba54a61279816593
disable app-insights in debug builds
akatakritos/Landmine.Web,JakeLunn/Landmine.Web,JakeLunn/Landmine.Web,JakeLunn/Landmine.Web,akatakritos/Landmine.Web,akatakritos/Landmine.Web,akatakritos/Landmine.Web,JakeLunn/Landmine.Web
LandmineWeb/Global.asax.cs
LandmineWeb/Global.asax.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; using Autofac; using Autofac.Integration.Mvc; using Autofac.Integration.WebApi; using Landmine.Domain.Concrete; using Microsoft.ApplicationInsights...
using System; using System.Collections.Generic; using System.Linq; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; using Autofac; using Autofac.Integration.Mvc; using Autofac.Integration.WebApi; using Landmine.Domain.Concrete; namespace LandmineWeb { public ...
mit
C#
0b0f586375853c46ce44a19c457761a17f0cde0d
Fix the paths for a few libraries
PlayScriptRedux/monomac,dlech/monomac,kangaroo/monomac
src/Constants.cs
src/Constants.cs
// // 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 restriction, including // without limitation the rights to use, copy, modify, merge, publish, ...
// // 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 restriction, including // without limitation the rights to use, copy, modify, merge, publish, ...
apache-2.0
C#
5db523cf0873b4e6d8020e4784be9b30a4c2111e
Read pages and break them down into streams If file stream was not owned by us, rewind it after reading
paszczi/MLabs.Ogg
Mlabs.Ogg/src/OggReader.cs
Mlabs.Ogg/src/OggReader.cs
using System; using System.IO; using System.Linq; namespace Mlabs.Ogg { public class OggReader { private readonly Stream m_fileStream; private readonly bool m_owns; public OggReader(string fileName) { if (fileName == null) throw new ArgumentNullException("fileName"...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Mlabs.Ogg.Metadata; namespace Mlabs.Ogg { public class OggReader { private readonly Stream m_fileStream; private readonly bool m_owns; public OggReader(string fileName) { if (...
mit
C#
156745ba000432a4c6954fe2c91b55f723d079d3
Add method for NyaaBang descriptions
IvionSauce/MeidoBot
NyaaSpam/BangShorthands.cs
NyaaSpam/BangShorthands.cs
using System; using System.Collections.Generic; static class BangShorthands { static readonly Dictionary<string, string[]> bangs; const char prefix = '!'; static BangShorthands() { var shortHand = new string[] { "HS", "HS480", "HS720", "HS1080...
using System; using System.Collections.Generic; static class BangShorthands { static readonly Dictionary<string, string[]> bangs; const char prefix = '!'; static BangShorthands() { var shortHand = new string[] { "HS", "HS480", "HS720", "HS1080...
bsd-2-clause
C#
2af3d87c45a7eb6f4c2a8ac8d9542a357aa7b8b0
Bump version
nixxquality/WebMConverter,o11c/WebMConverter,Yuisbean/WebMConverter
Properties/AssemblyInfo.cs
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("We...
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("We...
mit
C#
7f126578476e3e07b9cb30d78f7cc31dc0bff767
Update version
transistor1/SQLFormatterPlugin
Properties/AssemblyInfo.cs
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("SQ...
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("SQ...
bsd-3-clause
C#
a85b7579f4d895e0df7720bbe20bd74e1450378b
Use managed sha256 explicitly
detunized/lastpass-sharp,rottenorange/lastpass-sharp,detunized/lastpass-sharp
src/FetcherHelper.cs
src/FetcherHelper.cs
using System; using System.Security.Cryptography; using System.Text; namespace LastPass { static class FetcherHelper { public static byte[] MakeKey(string username, string password, int iterationCount) { // TODO: Check for invalid interationCount if (iterationCount == 1...
using System; using System.Security.Cryptography; using System.Text; namespace LastPass { static class FetcherHelper { public static byte[] MakeKey(string username, string password, int iterationCount) { // TODO: Check for invalid interationCount if (iterationCount == 1...
mit
C#
e9c334561de186134a704dd06919d1ac0ff7b02b
add new CurrentSession DokanOptions
dokan-dev/dokan-dotnet,magol/dokan-dotnet,dokan-dev/dokan-dotnet,TrabacchinLuigi/dokan-dotnet,magol/dokan-dotnet,viciousviper/dokan-dotnet,TrabacchinLuigi/dokan-dotnet,TrabacchinLuigi/dokan-dotnet,dokan-dev/dokan-dotnet,viciousviper/dokan-dotnet,magol/dokan-dotnet,viciousviper/dokan-dotnet
DokanNet/DokanOptions.cs
DokanNet/DokanOptions.cs
using System; namespace DokanNet { [Flags] public enum DokanOptions : long { DebugMode = 1, // ouput debug message StderrOutput = 2, // ouput debug message to stderr AltStream = 4, // use alternate stream WriteProtection = 8, // mount drive as write-protected. Netwo...
using System; namespace DokanNet { [Flags] public enum DokanOptions : long { DebugMode = 1, // ouput debug message StderrOutput = 2, // ouput debug message to stderr AltStream = 4, // use alternate stream WriteProtection = 8, // mount drive as write-protected. Netwo...
mit
C#
9bc6e9673bb9dfd711aac98d61d7c1c346c09e54
Fix PingPong Test
p-org/PSharp
Samples/PSharpFramework/PingPong/Test.cs
Samples/PSharpFramework/PingPong/Test.cs
using System; using System.Collections.Generic; using Microsoft.PSharp; namespace PingPong { public class Test { static void Main(string[] args) { Test.Execute(); Console.ReadLine(); } [Microsoft.PSharp.Test] public static void Execute() ...
using System; using Microsoft.PSharp; namespace SystematicTesting { class Config : Event { public MachineId Id; public Config(MachineId id) : base(-1, -1) { this.Id = id; } } class E1 : Event { public E1() : base(1, -1) { } } class E2 : Event { public ...
mit
C#
d5385b113c7a698efbd1404003132947aafafdf6
Scale TextOutline with Camera's OrthographicSize
NitorInc/NitoriWare,Barleytree/NitoriWare,uulltt/NitoriWare,plrusek/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare
Assets/Scripts/UI/TextOutline.cs
Assets/Scripts/UI/TextOutline.cs
//Found this online using UnityEngine; using System.Collections; public class TextOutline : MonoBehaviour { public float pixelSize = 1; public int cloneCount = 8; public Color outlineColor = Color.black; public bool resolutionDependant = false; public int doubleResolution = 1024; private TextMesh textMesh; ...
//Found this online using UnityEngine; using System.Collections; public class TextOutline : MonoBehaviour { public float pixelSize = 1; public int cloneCount = 8; public Color outlineColor = Color.black; public bool resolutionDependant = false; public int doubleResolution = 1024; private TextMesh textMesh; ...
mit
C#
d841565f8f71fbe1ba0a5dc0eafc04c72e18841e
Bump version
roman-yagodin/R7.News,roman-yagodin/R7.News,roman-yagodin/R7.News
R7.News/Properties/SolutionInfo.cs
R7.News/Properties/SolutionInfo.cs
using System.Reflection; [assembly: AssemblyCompany ("R7.Labs")] [assembly: AssemblyProduct ("R7.News")] [assembly: AssemblyCopyright ("Roman M. Yagodin")] [assembly: AssemblyTrademark ("")] [assembly: AssemblyVersion ("1.8.0")] [assembly: AssemblyInformationalVersion ("1.8.0-beta.1")]
using System.Reflection; [assembly: AssemblyCompany ("R7.Labs")] [assembly: AssemblyProduct ("R7.News")] [assembly: AssemblyCopyright ("Roman M. Yagodin")] [assembly: AssemblyTrademark ("")] [assembly: AssemblyVersion ("1.8.0")] [assembly: AssemblyInformationalVersion ("1.8.0")]
agpl-3.0
C#
078d25397279404c98416148ddc9d909fa03c807
Update ValuesOut.cs
EricZimmerman/RegistryPlugins
RegistryPlugin.RunMRU/ValuesOut.cs
RegistryPlugin.RunMRU/ValuesOut.cs
using System; using RegistryPluginBase.Interfaces; namespace RegistryPlugin.RunMRU { public class ValuesOut:IValueOut { public ValuesOut(string valueName, string executable, int mruPosition, DateTimeOffset? openedOn) { Executable = executable; ValueName = valueName; ...
using System; using RegistryPluginBase.Interfaces; namespace RegistryPlugin.RunMRU { public class ValuesOut:IValueOut { public ValuesOut(string valueName, string executable, int mruPosition, DateTimeOffset? openedOn) { Executable = executable; ValueName = valueName; ...
mit
C#
bfe0db15580395d485ee8bfc005281a82bda7081
add extension method
isukces/isukces.code
isukces.code/interfaces/ITypeNameResolver.cs
isukces.code/interfaces/ITypeNameResolver.cs
using System; namespace isukces.code.interfaces { public interface ITypeNameResolver { string GetTypeName(Type type); } public static class TypeToNameResolverExtensions { public static string GetMemeberName(this ITypeNameResolver resolver, Type type, string instanceName) { ...
using System; namespace isukces.code.interfaces { public interface ITypeNameResolver { string GetTypeName(Type type); } public static class TypeToNameResolverExtensions { public static string GetMemeberName(this ITypeNameResolver resolver, Type type, string instanceName) { ...
mit
C#
e29937efcfc935807379de8a6363869597f60f07
Fix Track test to use valid tracking number
goshippo/shippo-csharp-client
ShippoTesting/TrackTest.cs
ShippoTesting/TrackTest.cs
using System; using System.Collections; using System.Collections.Generic; using NUnit.Framework; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Shippo; namespace ShippoTesting { [TestFixture ()] public class TrackTest : ShippoTest { private const String TRACKING_NO = "920559016491733753...
using System; using System.Collections; using System.Collections.Generic; using NUnit.Framework; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Shippo; namespace ShippoTesting { [TestFixture ()] public class TrackTest : ShippoTest { [Test ()] public void TestValidGetStatus () ...
apache-2.0
C#
035804e684ec8802e2b96a706bc610886c5a6f8c
Change path for def template generator
duduluu/RimTrans
RimTrans.Builder.Test/GenHelper.cs
RimTrans.Builder.Test/GenHelper.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using RimTrans.Builder; using RimTrans.Builder.Crawler; namespace RimTransLibTest { public static class GenHelper { public static void Gen_DefTypeNameOf() { Console.Write(DefTyp...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using RimTrans.Builder; using RimTrans.Builder.Crawler; namespace RimTransLibTest { public static class GenHelper { public static void Gen_DefTypeNameOf() { Console.Write(DefTyp...
mit
C#
c4c6210c2b60b960f5a9e73ddbbdf85d7598ca05
delete blank
matsurigoto/mvc-base-project,matsurigoto/mvc-base-project
Core/AutoFacModule/TaskModule.cs
Core/AutoFacModule/TaskModule.cs
using System.Reflection; using Autofac; using Core.Common.Task; namespace Core.AutofacModule { /// <summary> /// Autofac用來註冊Task相關的服務 /// </summary> public class TaskModule : Autofac.Module { /// <summary> /// Override to add registrations to the container. /// </summary> ...
using System.Reflection; using Autofac; using Core.Common.Task; namespace Core.AutofacModule { /// <summary> /// Autofac用來註冊Task相關的服務 /// </summary> public class TaskModule : Autofac.Module { /// <summary> /// Override to add registrations to the container. /// </summary> ...
mit
C#
ef0cae3d7a57286366f7ab408fe8ac40c79b493d
Throw for null
SteamDatabase/ValveResourceFormat
Decompiler/BasicVpkFileLoader.cs
Decompiler/BasicVpkFileLoader.cs
using System; using System.IO; using SteamDatabase.ValvePak; namespace ValveResourceFormat.IO { public class BasicVpkFileLoader : IFileLoader { private readonly Package CurrentPackage; public BasicVpkFileLoader(Package package) { CurrentPackage = package ?? throw new Argume...
using System.IO; using SteamDatabase.ValvePak; namespace ValveResourceFormat.IO { public class BasicVpkFileLoader : IFileLoader { private readonly Package CurrentPackage; public BasicVpkFileLoader(Package package) { CurrentPackage = package; } public Resour...
mit
C#
7d7c239ee898bc4666f6dd1b251d9ddcaaf39579
Update assembly version to 3.0.3
mattnis/ZendeskApi_v2,CKCobra/ZendeskApi_v2,mwarger/ZendeskApi_v2,dcrowe/ZendeskApi_v2
ZendeskApi_v2/Properties/AssemblyInfo.cs
ZendeskApi_v2/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("Ze...
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("Ze...
apache-2.0
C#
d776e93208ff31df211f5c1258d5f4ef5dd3f80c
Add overload to ProductInformation to determine which assembly to use
JJVertical/dotnet-apiport,mjrousos/dotnet-apiport,JJVertical/dotnet-apiport,conniey/dotnet-apiport,Microsoft/dotnet-apiport,Microsoft/dotnet-apiport,twsouthwick/dotnet-apiport,mjrousos/dotnet-apiport,Microsoft/dotnet-apiport,conniey/dotnet-apiport,conniey/dotnet-apiport,twsouthwick/dotnet-apiport
src/Microsoft.Fx.Portability/ProductInformation.cs
src/Microsoft.Fx.Portability/ProductInformation.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.Fx.Portability.Resources; using System; using System.Reflection; namespace Microsoft.Fx.Portability { public class ProductInformation { ...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.Fx.Portability.Resources; using System; using System.Reflection; namespace Microsoft.Fx.Portability { public class ProductInformation { ...
mit
C#
4d1d82d9941b4ead34ae2e5b64725b7fd308c3ad
Increase the time for each test; a full run will be slower, but individual method runs become more stable.
BenJenkinson/nodatime,zaccharles/nodatime,zaccharles/nodatime,jskeet/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,malcolmr/nodatime,malcolmr/nodatime,nodatime/nodatime,nodatime/nodatime,zaccharles/nodatime,malcolmr/nodatime,zaccharles/nodatime,jskeet/nodatime,zaccharles/nodatime,zaccharles/nodatime
src/NodaTime.Benchmarks/Timing/BenchmarkOptions.cs
src/NodaTime.Benchmarks/Timing/BenchmarkOptions.cs
#region Copyright and license information // Copyright 2001-2009 Stephen Colebourne // Copyright 2009-2010 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 // // ht...
#region Copyright and license information // Copyright 2001-2009 Stephen Colebourne // Copyright 2009-2010 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 // // ht...
apache-2.0
C#
f00d243df3d066e065a3d74f1be0a04bbb5fd3b9
Disable mipmap generation for LargeTextureStore
EVAST9919/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,Tom94/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-fr...
osu.Framework/Graphics/Textures/LargeTextureStore.cs
osu.Framework/Graphics/Textures/LargeTextureStore.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using osu.Framework.IO.Stores; using OpenTK.Graphics.ES30; namespace osu.Framework.Graphics.Textures { /// <summary> /// A texture store that bypasses...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using osu.Framework.IO.Stores; namespace osu.Framework.Graphics.Textures { /// <summary> /// A texture store that bypasses atlasing and removes textur...
mit
C#
611f4df484972eb8236c2b3fd7ed12faf67d9d14
Add licence header
johnneijzen/osu,johnneijzen/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,ZLima12/osu,DrabWeb/osu,peppy/osu,NeoAdonis/osu,peppy/osu-new,ZLima12/osu,UselessToucan/osu,peppy/osu,Frontear/osuKyzer,DrabWeb/osu,EVAST9919/osu,2yangk23/osu,ppy/osu,UselessToucan/osu,DrabWeb/osu,Nabile-Rahmani/osu,Drezi126/osu,naoey/osu,ppy/osu,Use...
osu.Game.Rulesets.Catch/Tests/TestCaseCatchPlayer.cs
osu.Game.Rulesets.Catch/Tests/TestCaseCatchPlayer.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 NUnit.Framework; using osu.Game.Beatmaps; using osu.Game.Rulesets.Catch.Objects; namespace osu.Game.Rulesets.Catch.Tests { [TestFixture] public...
using NUnit.Framework; using osu.Game.Beatmaps; using osu.Game.Rulesets.Catch.Objects; namespace osu.Game.Rulesets.Catch.Tests { [TestFixture] public class TestCaseCatchPlayer : Game.Tests.Visual.TestCasePlayer { protected override Beatmap CreateBeatmap() { var beatm...
mit
C#
795ebeb1037c7777c75cf1a0e8414304ebc00257
bump version
distantcam/Anotar,Fody/Anotar,mstyura/Anotar,modulexcite/Anotar
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("Anotar")] [assembly: AssemblyProduct("Anotar")] [assembly: AssemblyVersion("2.14.0")] [assembly: AssemblyFileVersion("2.14.0")]
using System.Reflection; [assembly: AssemblyTitle("Anotar")] [assembly: AssemblyProduct("Anotar")] [assembly: AssemblyVersion("2.13.1")] [assembly: AssemblyFileVersion("2.13.1")]
mit
C#
4ede16318ad15edd2a5f06b379e46a54066eb0c9
Set the project's version number to what I currently expect.
antiduh/nsspi
NSspi/Properties/AssemblyInfo.cs
NSspi/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: AssemblyTi...
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: AssemblyTi...
bsd-2-clause
C#
80f3e8edbc416c298c401aa02f36967a2de47b18
Fix stupid stuff.
TomDataworks/opensim,RavenB/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,TomDataworks/opensim,TomDataworks/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,TomDataworks/opensim,TomDataworks/opensim,TomDataworks/opensim,RavenB/opensim,TomDataworks/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibL...
OpenSim/Framework/CustomTypes.cs
OpenSim/Framework/CustomTypes.cs
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
bsd-3-clause
C#
a9b6b03723822deb5f2ad6ead4617ca88116ea0a
Remove extra iterations
smoogipooo/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework
osu.Framework.Benchmarks/BenchmarkEnum.cs
osu.Framework.Benchmarks/BenchmarkEnum.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 BenchmarkDotNet.Attributes; using osu.Framework.Extensions.EnumExtensions; namespace osu.Framework.Benchmarks { [MemoryDiagnoser] public clas...
// 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 System.Runtime.CompilerServices; using BenchmarkDotNet.Attributes; using osu.Framework.Extensions.EnumExtensions; namespace osu.Framework.Benchmarks ...
mit
C#
766becf56ec945fc44e57447659b06993960b10e
Make virtual tracks reeeeeeeaaally long
EVAST9919/osu-framework,DrabWeb/osu-framework,naoey/osu-framework,default0/osu-framework,Nabile-Rahmani/osu-framework,Tom94/osu-framework,DrabWeb/osu-framework,ZLima12/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,naoey/osu-framework,Nabile-Rahma...
osu.Framework/Audio/Track/TrackVirtual.cs
osu.Framework/Audio/Track/TrackVirtual.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using osu.Framework.Timing; namespace osu.Framework.Audio.Track { public class TrackVirtual : Track { private readonly StopwatchClock...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using osu.Framework.Timing; namespace osu.Framework.Audio.Track { public class TrackVirtual : Track { private readonly StopwatchClock...
mit
C#
61b8fb03665b925193801877a73fdfe09c179bc7
Allow ScreenTestCase to support content
DrabWeb/osu,ZLima12/osu,johnneijzen/osu,smoogipooo/osu,DrabWeb/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new,ZLima12/osu,2yangk23/osu,johnneijzen/osu,ppy/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,2yangk23/osu,EVAST9919/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,EVAST9919/osu,NeoAdonis/osu,UselessToucan/o...
osu.Game/Tests/Visual/ScreenTestCase.cs
osu.Game/Tests/Visual/ScreenTestCase.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.Game.Screens; namespace osu.Game.Tests.Visual { /// <summary> /// A test case which can ...
// 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.Graphics; using osu.Game.Screens; namespace osu.Game.Tests.Visual { /// <summary> /// A test case which can be used to test a screen (that r...
mit
C#
8e1e1d440111ca9937b439ec59deb0e5838e2717
Send time in UTC #29
dermeister0/TimesheetParser,dermeister0/TimesheetParser
Source/JiraApi/TempoJobPoster.cs
Source/JiraApi/TempoJobPoster.cs
using Heavysoft.TimesheetParser.PluginInterfaces; using Newtonsoft.Json; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; namespace JiraApi { class TempoJobPoster : IJobPoster { private readonly string jiraAccountId; private readonly string...
using Heavysoft.TimesheetParser.PluginInterfaces; using Newtonsoft.Json; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; namespace JiraApi { class TempoJobPoster : IJobPoster { private readonly string jiraAccountId; private readonly string...
mit
C#
eb11eaca03b26add79c3c22b77a884d577588dfa
Build fixes
nickdodd79/AutoBogus
src/AutoBogus.Conventions/AutoConventions.cs
src/AutoBogus.Conventions/AutoConventions.cs
using System; using System.Collections.Generic; namespace AutoBogus.Conventions { public static class AutoConventions { private static IList<IAutoConvention> Conventions = new List<IAutoConvention> { // new FirstNameConvention() }; public static void Build(Action<AutoConventionsContext> bui...
using System; using System.Collections.Generic; namespace AutoBogus.Conventions { public static class AutoConventions { private static IList<IAutoConvention> Conventions = new List<IAutoConvention> { new FirstNameConvention() }; public static void Build(Action<AutoConventionsContext> builde...
mit
C#
a56c338ad3bd2aa705b5e9b4e091b41c436130e6
adjust coding style
lohas1107/knn-on-air
Evaluation/Program.cs
Evaluation/Program.cs
using System; using System.IO; using System.Linq; namespace Evaluation { class Program { static void Main(string[] args) { if (args.Count() == 0) return; File.AppendAllText("test.txt", "456" + Environment.NewLine); Console.WriteLine("Finish!"); ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Evaluation { class Program { static void Main(string[] args) { if (args.Count() == 0) return; File.AppendAllText("test.txt", "...
mit
C#
902372c2ca32cd703eb3920ab05443591198faba
Add ctor
mstrother/BmpListener
src/BmpListener/Bgp/BgpHeader.cs
src/BmpListener/Bgp/BgpHeader.cs
using System; using System.Linq; namespace BmpListener.Bgp { public class BgpHeader { public BgpHeader() { } public BgpHeader(ArraySegment<byte> data) { Decode(data); } public byte[] Marker { get; } = new byte[16]; public int Length...
using System; namespace BmpListener.Bgp { public class BgpHeader { public byte[] Marker { get; } = new byte[16]; public int Length { get; private set; } public BgpMessageType Type { get; private set; } public void Decode(byte[] data, int offset) { Array.Cop...
mit
C#
68478bc7e9037e6244fc0721345b23ff72377b80
Fix memory display, add os
Auxes/Dogey
src/Dogey/Modules/AboutModule.cs
src/Dogey/Modules/AboutModule.cs
using Discord; using Discord.Commands; using Octokit; using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace Dogey.Modules { [RequireEnabled] public class AboutModule : DogeyModuleBase { public string Library => $"Di...
using Discord; using Discord.Commands; using Octokit; using System; using System.Diagnostics; using System.Text; using System.Threading.Tasks; namespace Dogey.Modules { [RequireEnabled] public class AboutModule : DogeyModuleBase { public string Library => $"Discord.Net ({DiscordConfig.Version})"; ...
apache-2.0
C#
c2bf38d47e8c513034287c4c62d2626bcd6e8581
Fix ladder placement.
yungtechboy1/MiNET
src/MiNET/MiNET/Blocks/Ladder.cs
src/MiNET/MiNET/Blocks/Ladder.cs
using System.Numerics; using MiNET.Utils; using MiNET.Worlds; namespace MiNET.Blocks { public class Ladder : Block { public Ladder() : base(65) { IsTransparent = true; BlastResistance = 2; Hardness = 0.4f; } protected override bool CanPlace(Level world, BlockCoordinates blockCoordinates, BlockFace...
using System.Numerics; using MiNET.Utils; using MiNET.Worlds; namespace MiNET.Blocks { public class Ladder : Block { public Ladder() : base(65) { IsTransparent = true; BlastResistance = 2; Hardness = 0.4f; } protected override bool CanPlace(Level world, BlockCoordinates blockCoordinates, BlockFace...
mpl-2.0
C#
f633d276f5a371cd04c81c1f45f5c592558959ed
Change Assembly language.
azyobuzin/StatefulModel,ugaya40/StatefulModel
src/StatefulModel/Properties/AssemblyInfo.cs
src/StatefulModel/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("StatefulModel")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Stat...
using System.Reflection; using System.Resources; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("StatefulModel")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Stat...
mit
C#
d5160e0c345d8441deae11a417a8d8aa5f14d37c
Update Index.cshtml
KrishnaIBM/TestCt-1478684487505,KrishnaIBM/TestCt-1478684487505
src/dotnetCloudantWebstarter/Views/Home/Index.cshtml
src/dotnetCloudantWebstarter/Views/Home/Index.cshtml
@{ ViewData["Title"] = "Home Page"; } <h3></h3> <form method="post" asp-action="Index" asp-controller="Home" enctype="multipart/form-data"> <input type="file" name="files" multiple /> <input type="submit" value="Upload" /> </form>
@{ ViewData["Title"] = "Home Page"; } <h3>@ViewData["Message"]</h3> <form method="post" asp-action="Index" asp-controller="Home" enctype="multipart/form-data"> <input type="file" name="files" multiple /> <input type="submit" value="Upload" /> </form>
apache-2.0
C#
6a661d1766e473e0a013cafe5b227a7723f59a59
Prepare inspect code
NeoAdonis/osu,johnneijzen/osu,UselessToucan/osu,peppy/osu,EVAST9919/osu,EVAST9919/osu,ZLima12/osu,smoogipoo/osu,smoogipooo/osu,DrabWeb/osu,peppy/osu-new,ppy/osu,smoogipoo/osu,UselessToucan/osu,naoey/osu,johnneijzen/osu,peppy/osu,smoogipoo/osu,naoey/osu,2yangk23/osu,ppy/osu,peppy/osu,UselessToucan/osu,ppy/osu,2yangk23/o...
build.cake
build.cake
#tool "nuget:?package=JetBrains.ReSharper.CommandLineTools" /////////////////////////////////////////////////////////////////////////////// // ARGUMENTS /////////////////////////////////////////////////////////////////////////////// var target = Argument("target", "Build"); var framework = Argument("framework", "net4...
/////////////////////////////////////////////////////////////////////////////// // ARGUMENTS /////////////////////////////////////////////////////////////////////////////// var target = Argument("target", "Build"); var framework = Argument("framework", "net471"); var configuration = Argument("configuration", "Release"...
mit
C#
70b27862f369c5441cf5072e29c30b78194d1c80
Use dotnet core instead of msbuild
olsh/todoist-net
build.cake
build.cake
#tool "nuget:?package=OpenCover" #tool "nuget:?package=Codecov" #addin "nuget:?package=Cake.Codecov" var target = Argument("target", "Default"); var buildConfiguration = "Release"; var projectName = "Todoist.Net"; var testProjectName = "Todoist.Net.Tests"; var projectFolder = string.Format("./src/{0}/", projectName)...
#tool "nuget:?package=OpenCover" #tool "nuget:?package=Codecov" #addin "nuget:?package=Cake.Codecov" var target = Argument("target", "Default"); var buildConfiguration = "Release"; var projectName = "Todoist.Net"; var testProjectName = "Todoist.Net.Tests"; var projectFolder = string.Format("./src/{0}/", projectName)...
mit
C#
d59090c38cabd735de4dd661eb940fc8991de93c
Update to latest PleOps.Cake
SceneGate/Yarhl
build.cake
build.cake
#load "nuget:?package=PleOps.Cake&version=0.5.1" Task("Define-Project") .Description("Fill specific project information") .Does<BuildInfo>(info => { info.AddLibraryProjects("Yarhl"); info.AddLibraryProjects("Yarhl.Media"); info.AddTestProjects("Yarhl.UnitTests"); info.AddTestProjects("Yarhl.Int...
#load "nuget:?package=PleOps.Cake&version=0.5.0" Task("Define-Project") .Description("Fill specific project information") .Does<BuildInfo>(info => { info.AddLibraryProjects("Yarhl"); info.AddLibraryProjects("Yarhl.Media"); info.AddTestProjects("Yarhl.UnitTests"); info.AddTestProjects("Yarhl.Int...
mit
C#
a53d8af1e10adab85a67518a77caa9d977ca4cee
Add unit test script
Krusen/Additio.Sitecore.DependencyConfigReader
build.cake
build.cake
#tool "xunit.runner.console" var target = Argument("target", "Default"); var solution = "./src/Additio.Sitecore.DependencyConfigReader.sln"; var version = "1.0.2"; var buildOutput = "./.build"; Task("Default") .IsDependentOn("Clean") .IsDependentOn("Build") .IsDependentOn("Pack") ; Task("Clean") ...
var target = Argument("target", "Default"); var solution = "./src/Additio.Sitecore.DependencyConfigReader.sln"; var version = "1.0.2"; var buildOutput = "./.build"; Task("Default") .IsDependentOn("Clean") .IsDependentOn("Build") .IsDependentOn("Pack") ; Task("Clean") .Does(() => { CleanDirect...
unlicense
C#
5e9887684de8272285df8f4ea2d40d5d12365268
Fix category of revision log RSS feeds.
netjunki/trac-Pygit2,walty8/trac,jun66j5/trac-ja,netjunki/trac-Pygit2,jun66j5/trac-ja,jun66j5/trac-ja,walty8/trac,jun66j5/trac-ja,walty8/trac,walty8/trac,netjunki/trac-Pygit2
templates/log_rss.cs
templates/log_rss.cs
<?xml version="1.0"?> <!-- RSS generated by Trac v<?cs var:trac.version ?> on <?cs var:trac.time ?> --> <rss version="2.0"> <channel><?cs if:project.name_encoded ?> <title><?cs var:project.name_encoded ?>: Revisions of <?cs var:log.path ?></title><?cs else ?> <title>Revisions of <?cs var:log.path ?></title...
<?xml version="1.0"?> <!-- RSS generated by Trac v<?cs var:trac.version ?> on <?cs var:trac.time ?> --> <rss version="2.0"> <channel><?cs if:project.name_encoded ?> <title><?cs var:project.name_encoded ?>: Revisions of <?cs var:log.path ?></title><?cs else ?> <title>Revisions of <?cs var:log.path ?></title...
bsd-3-clause
C#
496e4d97a021479b5f6179b17dbdfd6a6a2ce9c1
Change to find current muxer (#11405)
johnbeisner/cli,livarcocc/cli-1,livarcocc/cli-1,johnbeisner/cli,livarcocc/cli-1,johnbeisner/cli
src/Microsoft.DotNet.Cli.Utils/Muxer.cs
src/Microsoft.DotNet.Cli.Utils/Muxer.cs
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Diagnostics; using System.IO; namespace Microsoft.DotNet.Cli.Utils { public class Muxer { public stat...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.IO; using System.Reflection; namespace Microsoft.DotNet.Cli.Utils { public class Muxer { public stati...
mit
C#
0daa4a93e0edb5d7cf4589f0118598dab9ed54e6
fix #372 do not touch DefaultIndex if its not neccessary while resolving index name
NickCraver/NEST,SeanKilleen/elasticsearch-net,jonyadamit/elasticsearch-net,Grastveit/NEST,starckgates/elasticsearch-net,KodrAus/elasticsearch-net,ststeiger/elasticsearch-net,TheFireCookie/elasticsearch-net,alanprot/elasticsearch-net,jonyadamit/elasticsearch-net,mac2000/elasticsearch-net,NickCraver/NEST,LeoYao/elasticse...
src/Nest/Resolvers/IndexNameResolver.cs
src/Nest/Resolvers/IndexNameResolver.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections.Concurrent; using System.Reflection; namespace Nest.Resolvers { public class IndexNameResolver { private readonly IConnectionSettings _connectionSettings; public IndexNameResolver(IConnec...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections.Concurrent; using System.Reflection; namespace Nest.Resolvers { public class IndexNameResolver { private readonly IConnectionSettings _connectionSettings; public IndexNameResolver(IConnectionSettin...
apache-2.0
C#
b4d41dd89d7d1214fd7adfd9140e2e220b0eb263
Trim newline chars on clipboard data.
antmicro/TermSharp
Misc/ClipboardData.cs
Misc/ClipboardData.cs
// // Copyright (c) Antmicro // // Full license details are defined in the 'LICENSE' file. // using System; using System.Collections.Generic; using System.Linq; namespace TermSharp.Misc { public sealed class ClipboardData { public ClipboardData() { rows = new List<string>(); ...
// // Copyright (c) Antmicro // // Full license details are defined in the 'LICENSE' file. // using System; using System.Collections.Generic; using System.Linq; namespace TermSharp.Misc { public sealed class ClipboardData { public ClipboardData() { rows = new List<string>(); ...
apache-2.0
C#
89bc03e9c5078c217f848878aa49091c80dcb068
Fix ISchedulerProvider Autofac registration.
xjpeter/Naru
Naru.WPF/WPFModule.cs
Naru.WPF/WPFModule.cs
using Autofac; using Naru.WPF.Dialog; using Naru.WPF.Menu; using Naru.WPF.MVVM; using Naru.WPF.Scheduler; using Naru.WPF.ToolBar; using Naru.WPF.ViewModel; namespace Naru.WPF { public class WPFModule : Module { protected override void Load(ContainerBuilder builder) { builder.Regis...
using Autofac; using Naru.WPF.Dialog; using Naru.WPF.Menu; using Naru.WPF.MVVM; using Naru.WPF.Scheduler; using Naru.WPF.ToolBar; using Naru.WPF.ViewModel; namespace Naru.WPF { public class WPFModule : Module { protected override void Load(ContainerBuilder builder) { builder.Regis...
mit
C#
2f6a5aa5b053a8fe17dd33039253722c81b305d9
rewrite Log4NetLogger, add new constructor.
functionGHW/HelperLibrary
HelperLibrary.Core.Logging.Log4Net/Log4NetLogger.cs
HelperLibrary.Core.Logging.Log4Net/Log4NetLogger.cs
/* * FileName: Log4NetLogger.cs * Author: functionghw<functionghw@hotmail.com> * CreateTime: 3/1/2016 8:11:33 PM * Description: * */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using log4net; namespace HelperLibrary.Core.Logging {...
/* * FileName: Log4NetLogger.cs * Author: functionghw<functionghw@hotmail.com> * CreateTime: 3/1/2016 8:11:33 PM * Description: * */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using log4net; namespace HelperLibrary.Core.Logging {...
mit
C#
f197af4434363fde47f1981739f5aa9188d9d878
Simplify default ETW providers
Microsoft/xunit-performance,Microsoft/xunit-performance,pharring/xunit-performance,ianhays/xunit-performance,ericeil/xunit-performance,visia/xunit-performance,mmitche/xunit-performance
src/xunit.performance.run/ETWLogging.cs
src/xunit.performance.run/ETWLogging.cs
using Microsoft.Diagnostics.Tracing; using Microsoft.Diagnostics.Tracing.Parsers; using Microsoft.Diagnostics.Tracing.Parsers.Clr; using Microsoft.ProcessDomain; using System; using System.Collections.Generic; using System.Diagnostics.Tracing; using System.Linq; using System.Threading.Tasks; namespace Microsoft.Xunit...
using Microsoft.Diagnostics.Tracing; using Microsoft.Diagnostics.Tracing.Parsers; using Microsoft.Diagnostics.Tracing.Parsers.Clr; using Microsoft.ProcessDomain; using System; using System.Collections.Generic; using System.Diagnostics.Tracing; using System.Linq; using System.Threading.Tasks; namespace Microsoft.Xunit...
mit
C#
0f059a4031e85b75a92c3830cc951d4c7c4715df
add hashtag to html color
Pavuucek/ArachNGIN,Pavuucek/ArachNGIN
ClassExtensions/StringColors.cs
ClassExtensions/StringColors.cs
using System; using System.Drawing; namespace ArachNGIN.ClassExtensions { /// <summary> /// Extension class to convert strings to named colors and vice versa. /// </summary> public static class StringColors { /// <summary> /// Gets color from string. Defaults to black ...
using System; using System.Drawing; namespace ArachNGIN.ClassExtensions { /// <summary> /// Extension class to convert strings to named colors and vice versa. /// </summary> public static class StringColors { /// <summary> /// Gets color from string. Defaults to black ...
mit
C#
9d5b265426253aceb8db48db17d649aa5c373546
Update RuleValidator.cs
KevinWiener/Seatown.Data
Seatown.Data/Validation/Rules/RuleValidator.cs
Seatown.Data/Validation/Rules/RuleValidator.cs
using Seatown.Data.Validation; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; namespace Seatown.Data.Validation.Rules { public class RuleValidator<T> : IValidator<T> { private List<RuleSet<T>> m_RuleSets = new List<RuleSet<T>>(); ...
using Seatown.Data.Validation; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; namespace Seatown.Data.Validation.Rules { public class RuleValidator<T> : IValidator<T> { private List<RuleSet<T>> m_RuleSets = new List<RuleSet<T>>(); ...
mit
C#
7f18e632110f22d1b1ba4ac2e7dc87246f953f58
Fix Group serializer
ermau/Tempest.Social
Desktop/Tempest.Social/Group.cs
Desktop/Tempest.Social/Group.cs
// // Group.cs // // Author: // Eric Maupin <me@ermau.com> // // Copyright (c) 2013 Eric Maupin // // 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, including without...
// // Group.cs // // Author: // Eric Maupin <me@ermau.com> // // Copyright (c) 2013 Eric Maupin // // 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, including without...
mit
C#
247a09d205efe9eabebccceb05521a0c8662502c
remove dead using
fluffynuts/PeanutButter,fluffynuts/PeanutButter,fluffynuts/PeanutButter
source/TestUtils/PeanutButter.TestUtils.AspNetCore.Tests/TestViewDataDictionaryBuilder.cs
source/TestUtils/PeanutButter.TestUtils.AspNetCore.Tests/TestViewDataDictionaryBuilder.cs
using NUnit.Framework; using NExpect; using PeanutButter.TestUtils.AspNetCore.Builders; using static NExpect.Expectations; namespace PeanutButter.TestUtils.AspNetCore.Tests { [TestFixture] public class TestViewDataDictionaryBuilder { [TestFixture] public class BuildDefault { ...
using NUnit.Framework; using NExpect; using PeanutButter.TestUtils.AspNetCore.Builders; using static NExpect.Expectations; using static PeanutButter.RandomGenerators.RandomValueGen; namespace PeanutButter.TestUtils.AspNetCore.Tests { [TestFixture] public class TestViewDataDictionaryBuilder { [Test...
bsd-3-clause
C#
f0d1cb96cd6373313a8ac875098866da3928436d
fix tag names with strange char ending
michael-reichenauer/GitMind
GitMind/Utils/Git/Private/GitTagService.cs
GitMind/Utils/Git/Private/GitTagService.cs
using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using GitMind.Utils.OsSystem; namespace GitMind.Utils.Git.Private { internal class GitTagService : IGitTagService { private readonly IGitCmdService gitCmdService; public GitTagService(IGitCmdService gitCmdService) { ...
using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using GitMind.Utils.OsSystem; namespace GitMind.Utils.Git.Private { internal class GitTagService : IGitTagService { private readonly IGitCmdService gitCmdService; public GitTagService(IGitCmdService gitCmdService) { ...
mit
C#
138e28137405235b0af417f3189e86974ce26347
modify assembly info
wanlitao/HangfireExtension,AGRocks/HangfireExtension,AGRocks/HangfireExtension,AGRocks/HangfireExtension
Hangfire.SQLite/Properties/AssemblyInfo.cs
Hangfire.SQLite/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Hangfire.SQLite")] [assembly: AssemblyDescription("Hangfire plugin for SQLite Storage")] [assembly: AssemblyConfiguration("")] [assembly: Asse...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Hangfire.SQLite")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: Assemb...
apache-2.0
C#
2bb1662a0af8bf23629411c033e0eed95711ec74
Remove these enum values that were copy-pasted by mistake.
roblans/ZWave4Net,MiTheFreeman/ZWave4Net
ZWave/CommandClasses/ThermostatFanModeValue.cs
ZWave/CommandClasses/ThermostatFanModeValue.cs
namespace ZWave.CommandClasses { public enum ThermostatFanModeValue : byte { AutoLow = 0x00, Low = 0x01, AutoHigh = 0x02, High = 0x03, AutoMedium = 0x04, Medium = 0x05, Circulation = 0x06, HumidityCirculation = 0x07, LeftAndRight = 0x08, ...
namespace ZWave.CommandClasses { public enum ThermostatFanModeValue : byte { AutoLow = 0x00, Low = 0x01, AutoHigh = 0x02, High = 0x03, AutoMedium = 0x04, Medium = 0x05, Circulation = 0x06, HumidityCirculation = 0x07, LeftAndRight = 0x08, ...
mit
C#