commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
old_contents
stringlengths
0
4.24k
new_contents
stringlengths
1
5.44k
subject
stringlengths
14
778
message
stringlengths
15
9.92k
lang
stringclasses
277 values
license
stringclasses
13 values
repos
stringlengths
5
127k
a358a30583d61c8f75b66f21106145efb3af068f
Assets/Scripts/Helpers/InputInterceptor.cs
Assets/Scripts/Helpers/InputInterceptor.cs
using System; using UnityEngine; public static class InputInterceptor { static InputInterceptor() { Type abstractControlsType = ReflectionHelper.FindType("AbstractControls"); _inputSystems = Resources.FindObjectsOfTypeAll(abstractControlsType); } public static void EnableInput() {...
using System; using UnityEngine; public static class InputInterceptor { static InputInterceptor() { Type abstractControlsType = ReflectionHelper.FindType("AbstractControls"); _inputSystems = Resources.FindObjectsOfTypeAll(abstractControlsType); } public static void EnableInput() {...
Stop mouse cursor disappearing when input is restored with Esc button
Stop mouse cursor disappearing when input is restored with Esc button
C#
mit
CaitSith2/ktanemod-twitchplays,ashbash1987/ktanemod-twitchplays
957ac3742a3b571098e85ab32e4e84a57c6b0c1c
CertiPay.Payroll.Common/ExtensionMethods.cs
CertiPay.Payroll.Common/ExtensionMethods.cs
using System; using System.ComponentModel; using System.Reflection; namespace CertiPay.Payroll.Common { public static class ExtensionMethods { /// <summary> /// Returns the display name from the description attribute on the enumeration, if available. /// Otherwise returns the ToString(...
using System; using System.ComponentModel; using System.Reflection; namespace CertiPay.Payroll.Common { public static class ExtensionMethods { /// <summary> /// Round the decimal to the given number of decimal places using the given method of rounding. /// By default, this is 2 decimal...
Add method for rounding decimals.
Add method for rounding decimals.
C#
mit
mattgwagner/CertiPay.Payroll.Common
e4297ffeaded24ea61f8fd188e7fb92215d70674
osu.Game/Rulesets/Mods/ModCinema.cs
osu.Game/Rulesets/Mods/ModCinema.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.Graphics.Sprites; using osu.Game.Graphics; using osu.Game.Rulesets.Objects; using osu.Game.Rulesets.UI; using osu.Game.Screens.Play; namespace 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 osu.Framework.Graphics.Sprites; using osu.Game.Graphics; using osu.Game.Rulesets.Objects; using osu.Game.Rulesets.UI; using osu.Game.Screens.Play; namespace osu.Ga...
Hide HUD in a better way
Hide HUD in a better way
C#
mit
peppy/osu,UselessToucan/osu,2yangk23/osu,ppy/osu,smoogipoo/osu,EVAST9919/osu,NeoAdonis/osu,2yangk23/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,johnneijzen/osu,EVAST9919/osu,smoogipoo/osu,johnneijzen/osu,peppy/osu,peppy/osu-new,ppy/osu,smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu
cfe44c640de8f732fd9a7a0573e42e9f2036d266
Titan/Logging/LogCreator.cs
Titan/Logging/LogCreator.cs
using System; using System.Diagnostics; using System.IO; using System.Threading; using Serilog; using Serilog.Core; namespace Titan.Logging { public class LogCreator { public static DirectoryInfo LogDirectory = new DirectoryInfo(Environment.CurrentDirectory + ...
using System; using System.Diagnostics; using System.IO; using System.Threading; using Serilog; using Serilog.Core; namespace Titan.Logging { public class LogCreator { private static DirectoryInfo _logDir = new DirectoryInfo(Environment.CurrentDirectory + ...
Change field name to "_logDir"
Change field name to "_logDir"
C#
mit
Marc3842h/Titan,Marc3842h/Titan,Marc3842h/Titan
2479494d5a4243d1d0bbbf638d215800637696a4
osu.Framework/Input/FrameworkActionContainer.cs
osu.Framework/Input/FrameworkActionContainer.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using osu.Framework.Input.Bindings; namespace osu.Framework.Input { internal class FrameworkActionContainer : KeyBindingContainer<...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using osu.Framework.Input.Bindings; namespace osu.Framework.Input { internal class FrameworkActionContainer : KeyBindingContainer<...
Allow using F11 to toggle fullscreen
Allow using F11 to toggle fullscreen
C#
mit
smoogipooo/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework
4045a1584681b646ffe05ee10123921eeec4aa7b
examples/Precompiled/CdnUrlModifier.cs
examples/Precompiled/CdnUrlModifier.cs
using System; using System.Web; using Cassette; namespace Precompiled { /// <summary> /// An example implementation of Cassette.IUrlModifier. /// /// </summary> public class CdnUrlModifier : IUrlModifier { public string Modify(string url) { // The url ...
using System; using System.Web; using Cassette; namespace Precompiled { /// <summary> /// An example implementation of Cassette.IUrlModifier. /// </summary> public class CdnUrlModifier : IUrlModifier { readonly string prefix; public CdnUrlModifier(HttpContextBase httpC...
Update IUrlModifier to work on any thread by not using HttpContext.Current in the Modify method.
Update IUrlModifier to work on any thread by not using HttpContext.Current in the Modify method.
C#
mit
damiensawyer/cassette,BluewireTechnologies/cassette,BluewireTechnologies/cassette,damiensawyer/cassette,damiensawyer/cassette,honestegg/cassette,andrewdavey/cassette,andrewdavey/cassette,honestegg/cassette,honestegg/cassette,andrewdavey/cassette
7be05293f92a1d1c2f645bc026baeecbfa58e1bc
src/Web/WebMVC/Views/Catalog/_pagination.cshtml
src/Web/WebMVC/Views/Catalog/_pagination.cshtml
@model Microsoft.eShopOnContainers.WebMVC.ViewModels.Pagination.PaginationInfo <div class="esh-pager"> <div class="container"> <article class="esh-pager-wrapper row"> <nav> <a class="esh-pager-item esh-pager-item--navigable @Model.Previous" id="Previous" ...
@model Microsoft.eShopOnContainers.WebMVC.ViewModels.Pagination.PaginationInfo <div class="esh-pager"> <div class="container"> <article class="esh-pager-wrapper row"> <nav> <a class="esh-pager-item esh-pager-item--navigable @Model.Previous" id="Previous" ...
Refactor in pagination view to use tag helpers
Refactor in pagination view to use tag helpers
C#
mit
skynode/eShopOnContainers,andrelmp/eShopOnContainers,albertodall/eShopOnContainers,dotnet-architecture/eShopOnContainers,oferns/eShopOnContainers,productinfo/eShopOnContainers,BillWagner/eShopOnContainers,oferns/eShopOnContainers,skynode/eShopOnContainers,albertodall/eShopOnContainers,oferns/eShopOnContainers,dotnet-ar...
1892ba8d0a7ac9106467e703f43519b2a8327bbb
Duplicati/UnitTest/RepairHandlerTests.cs
Duplicati/UnitTest/RepairHandlerTests.cs
using System.Collections.Generic; using System.IO; using System.Linq; using Duplicati.Library.Main; using NUnit.Framework; namespace Duplicati.UnitTest { [TestFixture] public class RepairHandlerTests : BasicSetupHelper { public override void SetUp() { base.SetUp(); F...
using System.Collections.Generic; using System.IO; using System.Linq; using Duplicati.Library.Main; using NUnit.Framework; namespace Duplicati.UnitTest { [TestFixture] public class RepairHandlerTests : BasicSetupHelper { public override void SetUp() { base.SetUp(); F...
Fix poorly named test file.
Fix poorly named test file.
C#
lgpl-2.1
mnaiman/duplicati,duplicati/duplicati,duplicati/duplicati,mnaiman/duplicati,duplicati/duplicati,mnaiman/duplicati,mnaiman/duplicati,mnaiman/duplicati,duplicati/duplicati,duplicati/duplicati
eae585b4735ac058596b9723c466e8576149d28f
src/Core2D.Avalonia/Presenters/CachedContentPresenter.cs
src/Core2D.Avalonia/Presenters/CachedContentPresenter.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Avalonia; using Avalonia.Controls; using Avalonia.Controls.Presenters; using System; using System.Collections.Generic; namespace Core2D.Avalonia.Presenters ...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Avalonia; using Avalonia.Controls; using Avalonia.Controls.Presenters; using System; using System.Collections.Generic; namespace Core2D.Avalonia.Presenters ...
Use CreateChild to override child creation
Use CreateChild to override child creation
C#
mit
wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D
d4f5f7a16a7bc22356974712119699806ae5ede1
src/Glimpse.Web.Common/Framework/MasterRequestRuntime.cs
src/Glimpse.Web.Common/Framework/MasterRequestRuntime.cs
using System; using System.Collections.Generic; using Microsoft.Framework.DependencyInjection; using System.Threading.Tasks; namespace Glimpse.Web { public class MasterRequestRuntime { private readonly IDiscoverableCollection<IRequestRuntime> _requestRuntimes; private readonly IDiscoverableCol...
using System; using System.Collections.Generic; using Microsoft.Framework.DependencyInjection; using System.Threading.Tasks; namespace Glimpse.Web { public class MasterRequestRuntime { private readonly IDiscoverableCollection<IRequestRuntime> _requestRuntimes; private readonly IDiscoverableCol...
Add todo about shifting where messages are to be resolved
Add todo about shifting where messages are to be resolved
C#
mit
Glimpse/Glimpse.Prototype,pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse...
9958de9672c4d011a0f7ea2a3c53790df6d486e6
SimpleZipCode/Properties/AssemblyInfo.cs
SimpleZipCode/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("Si...
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("Si...
Change version number to auto-increment
Change version number to auto-increment
C#
mit
alexmaris/simplezipcode
b9734c6ca4413eb45d2971783a51dc4c62e26d0d
src/SFA.DAS.Reservations.Api.Types/ReservationsHelper.cs
src/SFA.DAS.Reservations.Api.Types/ReservationsHelper.cs
using System; using System.Threading.Tasks; using SFA.DAS.Reservations.Api.Types.Configuration; namespace SFA.DAS.Reservations.Api.Types { public class ReservationHelper : IReservationHelper { private readonly ReservationsClientApiConfiguration _config; public ReservationHelper(ReservationsCl...
using System; using System.Threading.Tasks; using SFA.DAS.Reservations.Api.Types.Configuration; namespace SFA.DAS.Reservations.Api.Types { public class ReservationHelper : IReservationHelper { private readonly ReservationsClientApiConfiguration _config; public ReservationHelper(ReservationsCl...
Remove explicit parameters from the reservation query string
Remove explicit parameters from the reservation query string
C#
mit
SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments
d965fff4dee0f5219d99ae6ef35b243ec6976c8b
src/ComputeManagement/Properties/AssemblyInfo.cs
src/ComputeManagement/Properties/AssemblyInfo.cs
// // Copyright (c) Microsoft. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable la...
// // Copyright (c) Microsoft. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable la...
Change Assembly Version to 2.3.0.0
Change Assembly Version to 2.3.0.0
C#
apache-2.0
AuxMon/azure-sdk-for-net,juvchan/azure-sdk-for-net,yoavrubin/azure-sdk-for-net,samtoubia/azure-sdk-for-net,pattipaka/azure-sdk-for-net,dasha91/azure-sdk-for-net,guiling/azure-sdk-for-net,naveedaz/azure-sdk-for-net,avijitgupta/azure-sdk-for-net,AzCiS/azure-sdk-for-net,atpham256/azure-sdk-for-net,jtlibing/azure-sdk-for-n...
48120faeb2f669ab97e6fba4dc9e68f023d9d876
osu.Game/Online/Rooms/JoinRoomRequest.cs
osu.Game/Online/Rooms/JoinRoomRequest.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.Net.Http; using osu.Framework.IO.Network; using osu.Game.Online.API; namespace osu.Game.Online.Rooms { public class JoinRoomRequest : APIRequest { ...
// 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.Net.Http; using osu.Framework.IO.Network; using osu.Game.Online.API; namespace osu.Game.Online.Rooms { public class JoinRoomRequest : APIRequest { ...
Fix inability to join a multiplayer room which has no password
Fix inability to join a multiplayer room which has no password
C#
mit
NeoAdonis/osu,UselessToucan/osu,peppy/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,UselessToucan/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,ppy/osu
031607a3d96f3709a6d882085f8c15d6492b8ed5
Vidly/Controllers/CustomersController.cs
Vidly/Controllers/CustomersController.cs
using System.Collections.Generic; using System.Linq; using System.Web.Mvc; using Vidly.Models; namespace Vidly.Controllers { public class CustomersController : Controller { public ActionResult Index() { var customers = GetCustomers(); return View(customers); } ...
using System.Collections.Generic; using System.Linq; using System.Web.Mvc; using Vidly.Models; namespace Vidly.Controllers { public class CustomersController : Controller { private ApplicationDbContext _context; public CustomersController() { _context = new ApplicationDbCo...
Load customers from the database.
Load customers from the database.
C#
mit
Dissolving-in-Eternity/Vidly,Dissolving-in-Eternity/Vidly,Dissolving-in-Eternity/Vidly
f7aab26175a5ac3c809e663ce5d25d335191543c
src/FastSerialization/_README.cs
src/FastSerialization/_README.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Welcome to the Utilities code base. This _README.cs file is your table of contents. // // You will notice that the code is littered with code: qualifiers. If you install the 'hyperAddin' for // Visual Studio, these qualifiers turn into hyperlinks that ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Welcome to the Utilities code base. This _README.cs file is your table of contents. // // You will notice that the code is littered with code: qualifiers. If you install the 'hyperAddin' for // Visual Studio, these qualifiers turn into hyperlinks that ...
Update Readme for FastSerialization to fix a typo
Update Readme for FastSerialization to fix a typo
C#
mit
vancem/perfview,vancem/perfview,vancem/perfview,vancem/perfview,vancem/perfview
9667934ed9d0a7a44f55af4c7515fdb0df3bded8
osu.Game/Beatmaps/Formats/LegacyDifficultyCalculatorBeatmapDecoder.cs
osu.Game/Beatmaps/Formats/LegacyDifficultyCalculatorBeatmapDecoder.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.Linq; using osu.Game.Beatmaps.ControlPoints; namespace osu.Game.Beatmaps.Formats { /// <summary> /// A <see cref="LegacyBeatmapDecoder"/> built for ...
// 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.Linq; using osu.Game.Beatmaps.ControlPoints; namespace osu.Game.Beatmaps.Formats { /// <summary> /// A <see cref="LegacyBeatmapDecoder"/> built for ...
Remove unlimited timing points in difficulty calculation
Remove unlimited timing points in difficulty calculation
C#
mit
NeoAdonis/osu,smoogipoo/osu,smoogipooo/osu,ppy/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu-new,smoogipoo/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,peppy/osu,ppy/osu,EVAST9919/osu,EVAST9919/osu,NeoAdonis/osu
bc20a8d5117692760098adabcfd46176e06b8902
CorePlugin/ScriptExecutor.cs
CorePlugin/ScriptExecutor.cs
using System; using System.Collections.Generic; using System.Linq; using Duality; using PythonScripting.Resources; using IronPython.Hosting; using Microsoft.Scripting.Hosting; using IronPython.Compiler; namespace PythonScripting { public class ScriptExecutor : Component, ICmpInitializable { public Content...
using System; using System.Collections.Generic; using System.Linq; using Duality; using PythonScripting.Resources; using IronPython.Hosting; using IronPython.Runtime; using IronPython.Compiler; using Microsoft.Scripting; using Microsoft.Scripting.Hosting; namespace PythonScripting { public class ScriptExecutor : ...
Add placeholder support for OnUpdate
Add placeholder support for OnUpdate
C#
mit
RockyTV/Duality.IronPython
3cd70d6acd922e6a99046e4b17532d806756b7bd
Assets/Scripts/Player/PlayerMovement.cs
Assets/Scripts/Player/PlayerMovement.cs
using UnityEngine; using System.Collections; public class PlayerMovement : MonoBehaviour { public float speed = 6f; Vector3 movement; Rigidbody rb; float cameraRayLength = 100; int floorMask; void Awake() { floorMask = LayerMask.GetMask ("Floor"); rb = GetComponent<Rigidbody> (); } void FixedUpdate() ...
using UnityEngine; using System.Collections; public class PlayerMovement : MonoBehaviour { public float speed = 6f; public float jumpSpeed = 8.0F; public float gravity = 20.0F; private Vector3 moveDirection = Vector3.zero; private CharacterController cc; private float cameraRayLength = 100; private int floorM...
Change movement, player folow mouse
Change movement, player folow mouse
C#
mit
d0niek/PGK-2016,d0niek/PGK-2016
d26f1497a00182110e8548329e2d2778762c1467
LegoSharpTest/ReadmeTests.cs
LegoSharpTest/ReadmeTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using LegoSharp; using System.Linq; using System.Reflection; using System.IO.MemoryMappedFiles; namespace LegoSharpTest { [TestClass] public class ReadmeTests ...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using LegoSharp; using System.Linq; using System.Reflection; using System.IO.MemoryMappedFiles; namespace LegoSharpTest { [TestClass] public class ReadmeTests ...
Fix bad casing for readme tests
Fix bad casing for readme tests
C#
mit
rolledback/LegoSharp
515a1c31185b340aea5665d438f4d64608a2f1d1
Terraria_Server/Messages/SummonSkeletronMessage.cs
Terraria_Server/Messages/SummonSkeletronMessage.cs
using System; namespace Terraria_Server.Messages { public class SummonSkeletronMessage : IMessage { public Packet GetPacket() { return Packet.SUMMON_SKELETRON; } public void Process(int start, int length, int num, int whoAmI, byte[] readBuffer, byte bufferData) ...
using System; namespace Terraria_Server.Messages { public class SummonSkeletronMessage : IMessage { public Packet GetPacket() { return Packet.SUMMON_SKELETRON; } public void Process(int start, int length, int num, int whoAmI, byte[] readBuffer, byte bufferData) ...
Fix Skeletron summoning message decoding.
Fix Skeletron summoning message decoding.
C#
mit
DeathCradle/Terraria-s-Dedicated-Server-Mod,DeathCradle/Terraria-s-Dedicated-Server-Mod,DeathCradle/Terraria-s-Dedicated-Server-Mod,DeathCradle/Terraria-s-Dedicated-Server-Mod
a1b7bf3986666e7ec07a226988386a3b84b75507
osu.Game.Rulesets.Osu/Skinning/Default/KiaiFlash.cs
osu.Game.Rulesets.Osu/Skinning/Default/KiaiFlash.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.Audio.Track; using osu.Framework.Graphics; using osu.Framework.Graphics.Shapes; using osu.Game.Beatmaps.ControlPoints; using osu.Game.Gr...
// 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.Audio.Track; using osu.Framework.Graphics; using osu.Framework.Graphics.Shapes; using osu.Game.Beatmaps.ControlPoints; using osu.Game.Gr...
Use a minimum fade length for clamping rather than zero
Use a minimum fade length for clamping rather than zero Co-authored-by: Bartłomiej Dach <809709723693c4e7ecc6f5379a3099c830279741@gmail.com>
C#
mit
NeoAdonis/osu,ppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu
3efe2ab49bedb402b73a173fffd2900cad631d5c
DesktopWidgets/Actions/ActionBase.cs
DesktopWidgets/Actions/ActionBase.cs
using System; using System.ComponentModel; using System.Windows; using DesktopWidgets.Classes; using Xceed.Wpf.Toolkit.PropertyGrid.Attributes; namespace DesktopWidgets.Actions { public abstract class ActionBase { [PropertyOrder(0)] [DisplayName("Delay")] public TimeSpan Delay { get; s...
using System; using System.ComponentModel; using System.Windows; using DesktopWidgets.Classes; using DesktopWidgets.Helpers; using Xceed.Wpf.Toolkit.PropertyGrid.Attributes; namespace DesktopWidgets.Actions { public abstract class ActionBase { [PropertyOrder(0)] [DisplayName("Delay")] ...
Add action "Works If Muted", "Works If Foreground Is Fullscreen" options
Add action "Works If Muted", "Works If Foreground Is Fullscreen" options
C#
apache-2.0
danielchalmers/DesktopWidgets
295b8019af96c056904c1e8912d79513ae024e74
src/AppShell.Mobile/Views/ShellView.xaml.cs
src/AppShell.Mobile/Views/ShellView.xaml.cs
 using Xamarin.Forms; namespace AppShell.Mobile.Views { [ContentProperty("ShellContent")] public partial class ShellView : ContentView { public static readonly BindableProperty ShellContentProperty = BindableProperty.Create<ShellView, View>(d => d.ShellContent, null, propertyChanged: ShellContentP...
 using Xamarin.Forms; namespace AppShell.Mobile.Views { [ContentProperty("ShellContent")] public partial class ShellView : ContentView { public static readonly BindableProperty ShellContentProperty = BindableProperty.Create<ShellView, View>(d => d.ShellContent, null, propertyChanged: ShellContentP...
Revert "Fixed compile error in shell view"
Revert "Fixed compile error in shell view" This reverts commit 87b52b03724b961dc2050ae8c37175ee660037e0.
C#
mit
cschwarz/AppShell,cschwarz/AppShell
804cbe5aae2d0796331435a691258e077851317b
Training/DataGenerator/OszArchive.cs
Training/DataGenerator/OszArchive.cs
using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Linq; namespace Meowtrix.osuAMT.Training.DataGenerator { class OszArchive : Archive, IDisposable { public ZipArchive archive; private FileInfo fileinfo; public OszArchive(FileIn...
using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Linq; namespace Meowtrix.osuAMT.Training.DataGenerator { class OszArchive : Archive, IDisposable { public ZipArchive archive; private FileInfo fileinfo; public OszArchive(FileIn...
Copy deflate stream to temporary memory stream.
Copy deflate stream to temporary memory stream.
C#
mit
Meowtrix/osu-Auto-Mapping-Toolkit
2f4634dcf6806e04d5a041b2f6c367f4801b992d
uSync8.BackOffice/Controllers/Trees/uSyncTreeController.cs
uSync8.BackOffice/Controllers/Trees/uSyncTreeController.cs
using System.Net.Http.Formatting; using System.Web.Http.ModelBinding; using Umbraco.Core; using Umbraco.Web.Models.Trees; using Umbraco.Web.Mvc; using Umbraco.Web.Trees; using Umbraco.Web.WebApi.Filters; namespace uSync8.BackOffice.Controllers.Trees { [Tree(Constants.Applications.Settings, uSync.Trees.uSync, ...
using System.Net.Http.Formatting; using System.Web.Http.ModelBinding; using Umbraco.Core; using Umbraco.Web.Models.Trees; using Umbraco.Web.Mvc; using Umbraco.Web.Trees; using Umbraco.Web.WebApi.Filters; namespace uSync8.BackOffice.Controllers.Trees { [Tree(Constants.Applications.Settings, uSync.Trees.uSync, ...
Remove reference to settings section in routePath (so we can move the tree in theory)
Remove reference to settings section in routePath (so we can move the tree in theory)
C#
mpl-2.0
KevinJump/uSync,KevinJump/uSync,KevinJump/uSync
eec9c2151a21744dff37670d28f8dd43cef8a73f
rethinkdb-net-newtonsoft/Configuration/NewtonSerializer.cs
rethinkdb-net-newtonsoft/Configuration/NewtonSerializer.cs
using RethinkDb.DatumConverters; namespace RethinkDb.Newtonsoft.Configuration { public class NewtonSerializer : AggregateDatumConverterFactory { public NewtonSerializer() : base( PrimitiveDatumConverterFactory.Instance, TupleDatumConverterFactory.Instance, Anonymous...
using RethinkDb.DatumConverters; namespace RethinkDb.Newtonsoft.Configuration { public class NewtonSerializer : AggregateDatumConverterFactory { public NewtonSerializer() : base( PrimitiveDatumConverterFactory.Instance, TupleDatumConverterFactory.Instance, Anonymous...
Add NamedValueDictionaryDatumConverterFactory to newtonsoft converter
Add NamedValueDictionaryDatumConverterFactory to newtonsoft converter Allows access to the .Keys colllection of a Dictionary<string,object>, in an expression.
C#
apache-2.0
Ernesto99/rethinkdb-net,nkreipke/rethinkdb-net,kangkot/rethinkdb-net,bbqchickenrobot/rethinkdb-net,bbqchickenrobot/rethinkdb-net,Ernesto99/rethinkdb-net,LukeForder/rethinkdb-net,LukeForder/rethinkdb-net,kangkot/rethinkdb-net,nkreipke/rethinkdb-net
bdf644790572fc8b72d08ffa6b4f5285c0645a6e
src/ExRam.Gremlinq.Core/Extensions/EnumerableExtensions.cs
src/ExRam.Gremlinq.Core/Extensions/EnumerableExtensions.cs
using System.Collections; using System.Collections.Generic; using System.Linq; using System.Threading; using ExRam.Gremlinq.Core.Projections; using ExRam.Gremlinq.Core.Steps; namespace ExRam.Gremlinq.Core { public static class EnumerableExtensions { public static Traversal ToTraversal(this IEnumerable...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Threading; using ExRam.Gremlinq.Core.Projections; using ExRam.Gremlinq.Core.Steps; namespace ExRam.Gremlinq.Core { public static class EnumerableExtensions { public static Traversal ToTraversal(th...
Rework InternalAny to take IDisposables into account and short-cut on ICollections.
Rework InternalAny to take IDisposables into account and short-cut on ICollections.
C#
mit
ExRam/ExRam.Gremlinq
21a782732e23b95c280a575b57b14a61edb4c994
Assets/Scripts/HarryPotterUnity/Utils/GameManager.cs
Assets/Scripts/HarryPotterUnity/Utils/GameManager.cs
using System.Collections.Generic; using HarryPotterUnity.Cards.Generic; using HarryPotterUnity.Tween; using UnityEngine; namespace HarryPotterUnity.Utils { public static class GameManager { public const int PreviewLayer = 9; public const int CardLayer = 10; public const int ValidChoiceLay...
using System.Collections.Generic; using HarryPotterUnity.Cards.Generic; using HarryPotterUnity.Tween; using UnityEngine; namespace HarryPotterUnity.Utils { public static class GameManager { public const int PREVIEW_LAYER = 9; public const int CARD_LAYER = 10; public const int VALID_CHOICE...
Rename some variables for consistency
Rename some variables for consistency
C#
mit
StefanoFiumara/Harry-Potter-Unity
1d09c204192d58fda1cbc0a37f4972c9c0f2ab19
table.cs
table.cs
using System; namespace Table { public class Table { public int Width; public int Spacing; public Table(int width, int spacing) { Width = width; Spacing = spacing; } } }
using System; namespace Hangman { public class Table { public int Width; public int Spacing; public Table(int width, int spacing) { Width = width; Spacing = spacing; } } }
Make the namespace uniform accross the project
Make the namespace uniform accross the project
C#
unlicense
12joan/hangman
f69e1e96091fdafb1b75602723fcbcc4aa77e3e9
src/QtBindings/Libs.cs
src/QtBindings/Libs.cs
using System; using Mono.VisualC.Interop; using Mono.VisualC.Interop.ABI; namespace Qt { // Will be internal; public for testing public static class Libs { public static CppLibrary QtCore = null; public static CppLibrary QtGui = null; static Libs () ...
using System; using Mono.VisualC.Interop; using Mono.VisualC.Interop.ABI; namespace Qt { // Will be internal; public for testing public static class Libs { public static CppLibrary QtCore = null; public static CppLibrary QtGui = null; static Libs () ...
Use proper library/abi for qt on linux.
Use proper library/abi for qt on linux.
C#
mit
txdv/CppSharp,ddobrev/CppSharp,mydogisbox/CppSharp,KonajuGames/CppSharp,genuinelucifer/CppSharp,mydogisbox/CppSharp,imazen/CppSharp,imazen/CppSharp,zillemarco/CppSharp,Samana/CppSharp,u255436/CppSharp,xistoso/CppSharp,mono/CppSharp,inordertotest/CppSharp,mydogisbox/CppSharp,zillemarco/CppSharp,corngood/cxxi,Samana/CppS...
28f788602fe67e8b01dd5a053a8032b2239a1191
Web/Areas/Admin/Views/Device/Index.cshtml
Web/Areas/Admin/Views/Device/Index.cshtml
@using RightpointLabs.ConferenceRoom.Domain @model IEnumerable<RightpointLabs.ConferenceRoom.Domain.Models.Entities.DeviceEntity> @{ var buildings = (Dictionary<string, string>)ViewBag.Buildings; var rooms = (Dictionary<string, string>)ViewBag.Rooms; } <p> @Html.ActionLink("Create New", "Create") </p> <ta...
@using RightpointLabs.ConferenceRoom.Domain @model IEnumerable<RightpointLabs.ConferenceRoom.Domain.Models.Entities.DeviceEntity> @{ var buildings = (Dictionary<string, string>)ViewBag.Buildings; var rooms = (Dictionary<string, string>)ViewBag.Rooms; } <p> @Html.ActionLink("Create New", "Create") </p> <ta...
Fix up some room display issues
Fix up some room display issues
C#
mit
RightpointLabs/conference-room,jorupp/conference-room,RightpointLabs/conference-room,jorupp/conference-room,jorupp/conference-room,jorupp/conference-room,RightpointLabs/conference-room,RightpointLabs/conference-room
6fa4b470f7300eba698c0a4a588136cec24f75f6
CefSharp.Wpf/Rendering/InteropBitmapInfo.cs
CefSharp.Wpf/Rendering/InteropBitmapInfo.cs
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; using System.Windows.Interop; using System.Windows.Media; using System.Windows.Media.Imaging; namespace CefSharp.Wpf.Rendering { ...
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; using System.Windows.Interop; using System.Windows.Media; using System.Windows.Media.Imaging; namespace CefSharp.Wpf.Rendering { ...
Return null immediately if file handle is not valid
Return null immediately if file handle is not valid
C#
bsd-3-clause
joshvera/CefSharp,zhangjingpu/CefSharp,zhangjingpu/CefSharp,Livit/CefSharp,ITGlobal/CefSharp,dga711/CefSharp,haozhouxu/CefSharp,yoder/CefSharp,Livit/CefSharp,dga711/CefSharp,battewr/CefSharp,windygu/CefSharp,jamespearce2006/CefSharp,NumbersInternational/CefSharp,joshvera/CefSharp,AJDev77/CefSharp,rlmcneary2/CefSharp,il...
30098480fe0a17f8afd708f05f5799f6d840bd86
src/AdoNetProfiler/AdoNetProfiler/AdoNetProfilerFactory.cs
src/AdoNetProfiler/AdoNetProfiler/AdoNetProfilerFactory.cs
using System; using System.Reflection; namespace AdoNetProfiler { /// <summary> /// The factory to create the object of <see cref="IProfiler"/>. /// </summary> public class AdoNetProfilerFactory { // ConstructorInfo is faster than Func<IProfiler> when invoking. private static Const...
using System; using System.Reflection; using System.Threading; namespace AdoNetProfiler { /// <summary> /// The factory to create the object of <see cref="IProfiler"/>. /// </summary> public class AdoNetProfilerFactory { // ConstructorInfo is faster than Func<IProfiler> when invoking. ...
Use the lock in the factory class.
Use the lock in the factory class.
C#
mit
ttakahari/AdoNetProfiler
edb55399ec5bf204cb84b0adfb943727cf001217
KenticoInspector.Core/AbstractReport.cs
KenticoInspector.Core/AbstractReport.cs
using KenticoInspector.Core.Models; using System; using System.Collections.Generic; namespace KenticoInspector.Core { public abstract class AbstractReport : IReport { public string Codename => GetCodename(this.GetType()); public static string GetCodename(Type reportType) { return ...
using KenticoInspector.Core.Models; using System; using System.Collections.Generic; namespace KenticoInspector.Core { public abstract class AbstractReport<T> : IReport, IWithMetadata<T> where T : new() { public string Codename => GetCodename(this.GetType()); public static string GetCodename(T...
Add metadata support to abstract report
Add metadata support to abstract report
C#
mit
ChristopherJennings/KInspector,ChristopherJennings/KInspector,Kentico/KInspector,ChristopherJennings/KInspector,Kentico/KInspector,ChristopherJennings/KInspector,Kentico/KInspector,Kentico/KInspector
1bff640e31ccf84de67b1d8a6ee2b3275ddea512
src/Cassette.Web/ModuleRequestHandler.cs
src/Cassette.Web/ModuleRequestHandler.cs
using System; using System.Web; using System.Web.Routing; namespace Cassette { public class ModuleRequestHandler<T> : IHttpHandler where T : Module { public ModuleRequestHandler(IModuleContainer<T> moduleContainer, RequestContext requestContext) { this.moduleCont...
using System; using System.Web; using System.Web.Routing; namespace Cassette.Web { public class ModuleRequestHandler<T> : IHttpHandler where T : Module { public ModuleRequestHandler(IModuleContainer<T> moduleContainer, RequestContext requestContext) { this.module...
Move class into correct namespace.
Move class into correct namespace.
C#
mit
honestegg/cassette,andrewdavey/cassette,damiensawyer/cassette,BluewireTechnologies/cassette,damiensawyer/cassette,andrewdavey/cassette,BluewireTechnologies/cassette,andrewdavey/cassette,honestegg/cassette,damiensawyer/cassette,honestegg/cassette
855be1ec27572f522669e9e70f754d465792559b
lib/irule.cs
lib/irule.cs
// The code is new, but the idea is from http://wiki.tcl.tk/9563 using System; using System.Runtime.InteropServices; namespace Irule { public class TclInterp : IDisposable { [DllImport("libtcl.dylib")] protected static extern IntPtr Tcl_CreateInterp(); [DllImport("libtcl.dylib")] ...
// The code is new, but the idea is from http://wiki.tcl.tk/9563 using System; using System.Runtime.InteropServices; namespace Irule { public class TclInterp : IDisposable { [DllImport("tcl8.4")] protected static extern IntPtr Tcl_CreateInterp(); [DllImport("tcl8.4")] protecte...
Load Tcl in a cross-platform way
Load Tcl in a cross-platform way
C#
mit
undees/irule,undees/irule
0ee3267f1d4852b954bc9f4a2abfaac5eff1a84d
mugo/PizzaModel.cs
mugo/PizzaModel.cs
using System; using Engine.cgimin.material.simpletexture; using Engine.cgimin.object3d; using Engine.cgimin.texture; using OpenTK; namespace Mugo { class PizzaModel : ClonedObject<PizzaModelInternal>, ITunnelSegementElementModel { private static readonly SimpleTextureMaterial material = new SimpleTextureMaterial(...
using System; using Engine.cgimin.material.simpletexture; using Engine.cgimin.object3d; using Engine.cgimin.texture; using OpenTK; namespace Mugo { class PizzaModel : ClonedObject<PizzaModelInternal>, ITunnelSegementElementModel { private static readonly SimpleTextureMaterial material = new SimpleTextureMaterial(...
Move scale operation to base constructor.
Move scale operation to base constructor. This fixes the incorrect radius calculation.
C#
mit
saschb2b/mugo
c8c727e1bad3d92f667cbc27306ee4ebf148950c
Console-IO-Homework/SumOfNNumbers/SumOfNNumbers.cs
Console-IO-Homework/SumOfNNumbers/SumOfNNumbers.cs
/*Problem 9. Sum of n Numbers Write a program that enters a number n and after that enters more n numbers and calculates and prints their sum. Note: You may need to use a for-loop. Examples: numbers sum 3 90 20 60 10 5 6.5 2 -1 -0.5 4 2 1 1 1 */ using System; clas...
/*Problem 9. Sum of n Numbers Write a program that enters a number n and after that enters more n numbers and calculates and prints their sum. Note: You may need to use a for-loop. Examples: numbers sum 3 90 20 60 10 5 6.5 2 -1 -0.5 4 2 1 1 1 */ using System; clas...
Update to Problem 9. Sum of n Numbers
Update to Problem 9. Sum of n Numbers
C#
mit
SimoPrG/CSharpPart1Homework
26dfe4aac323cedb1fb6122a503fa216cd0a90fa
src/Lloyd.AzureMailGateway.Models.Tests/EMailBuilderTests.cs
src/Lloyd.AzureMailGateway.Models.Tests/EMailBuilderTests.cs
using System; using System.Linq; using AutoFixture.Xunit2; using Shouldly; using Xunit; namespace Lloyd.AzureMailGateway.Models.Tests { public class EMailBuilderTests { //[Fact] //public void BuilderShouldReturnNonNullEMailInstance() //{ // // Arrange // var build...
using System; using System.Linq; using AutoFixture.Xunit2; using Shouldly; using Xunit; namespace Lloyd.AzureMailGateway.Models.Tests { public class EMailBuilderTests { [Fact] public void BuildShouldThrowOnInvalidState() { // Arrange var builder = new EMailBuild...
Remove obsolete unit test (null check - can no longer be null)
Remove obsolete unit test (null check - can no longer be null)
C#
mit
lloydjatkinson/Lloyd.AzureMailGateway
ed66db4e13b0d327477f9024235e430f15ca2ee4
Assets/Resources/Microgames/RemiCover/Scripts/RemiCover_UmbrellaBehaviour.cs
Assets/Resources/Microgames/RemiCover/Scripts/RemiCover_UmbrellaBehaviour.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class RemiCover_UmbrellaBehaviour : MonoBehaviour { public float verticalPosition; // Use this for initialization void Start () { Cursor.visible = false; } // Update is called once per frame void Update(...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class RemiCover_UmbrellaBehaviour : MonoBehaviour { public float verticalPosition; // Use this for initialization void Start () { Cursor.visible = false; } // Update is called once per frame void Update(...
Stop umbrella on player loss
Stop umbrella on player loss Basically sends the message to the player that they're done and messed up
C#
mit
Barleytree/NitoriWare,NitorInc/NitoriWare,plrusek/NitoriWare,Barleytree/NitoriWare,uulltt/NitoriWare,NitorInc/NitoriWare
a51c6a82aba60e4927d62c968abddef55de7982a
Mond/Compiler/Parselets/ObjectParselet.cs
Mond/Compiler/Parselets/ObjectParselet.cs
using System.Collections.Generic; using Mond.Compiler.Expressions; namespace Mond.Compiler.Parselets { class ObjectParselet : IPrefixParselet { public Expression Parse(Parser parser, Token token) { var values = new List<KeyValuePair<string, Expression>>(); while (!pars...
using System.Collections.Generic; using Mond.Compiler.Expressions; namespace Mond.Compiler.Parselets { class ObjectParselet : IPrefixParselet { public Expression Parse(Parser parser, Token token) { var values = new List<KeyValuePair<string, Expression>>(); while (!pars...
Add support for array-like object declarations
Add support for array-like object declarations
C#
mit
SirTony/Mond,Rohansi/Mond,Rohansi/Mond,SirTony/Mond,Rohansi/Mond,SirTony/Mond
b9859e0f76124786dc588cf36d5a261bb63943a0
YGOSharp.Network/Utils/BinaryExtensions.cs
YGOSharp.Network/Utils/BinaryExtensions.cs
using System; using System.IO; using System.Text; namespace YGOSharp.Network.Utils { public static class BinaryExtensions { public static void WriteUnicode(this BinaryWriter writer, string text, int len) { byte[] unicode = Encoding.Unicode.GetBytes(text); byt...
using System; using System.IO; using System.Text; namespace YGOSharp.Network.Utils { public static class BinaryExtensions { public static void WriteUnicode(this BinaryWriter writer, string text, int len) { byte[] unicode = Encoding.Unicode.GetBytes(text); byt...
Fix a crash if we receive a too long unicode string
Fix a crash if we receive a too long unicode string
C#
mit
IceYGO/ygosharp
6825521f2d7a1fe3effea3d79e2d36ef00105e1a
src/SyncTrayzor/SyncThing/Api/ItemStartedEvent.cs
src/SyncTrayzor/SyncThing/Api/ItemStartedEvent.cs
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SyncTrayzor.SyncThing.Api { public class ItemStartedEventData { [JsonProperty("item")] public string Item { get; set; } [JsonProperty("f...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SyncTrayzor.SyncThing.Api { public class ItemStartedEventDetails { [JsonProperty("Name")] public string Name { get; set; } [JsonProperty...
Support details for ItemStarted event
Support details for ItemStarted event
C#
mit
canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor
02f5fda330306b6ae9b3a67dad6f50b2373562c6
osu.Game/Online/RealtimeMultiplayer/NotJoinedRoomException.cs
osu.Game/Online/RealtimeMultiplayer/NotJoinedRoomException.cs
using System; namespace osu.Game.Online.RealtimeMultiplayer { public class NotJoinedRoomException : Exception { public NotJoinedRoomException() : base("This user has not yet joined a multiplayer room.") { } } }
using System; namespace osu.Game.Online.RealtimeMultiplayer { public class NotJoinedRoomException : Exception { public NotJoinedRoomException() : base("This user has not yet joined a multiplayer room.") { } } }
Add missing final newline in file
Add missing final newline in file
C#
mit
peppy/osu,NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,peppy/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu
04008653170cb10ddce75f7c35d1720e45b2f0b3
MusicRandomizer/MusicRandomizer/NewPlaylistForm.cs
MusicRandomizer/MusicRandomizer/NewPlaylistForm.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Windows.Forms; namespace MusicRandomizer { public partial class NewPlaylistForm : Form { public String name; public NewPlaylistForm() { InitializeComponent(); ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Windows.Forms; namespace MusicRandomizer { public partial class NewPlaylistForm : Form { public String name; public NewPlaylistForm() { InitializeComponent(); ...
Fix a bug where you could create an already existing playlist
MusicRandomizer: Fix a bug where you could create an already existing playlist
C#
mit
OatmealDome/SplatoonUtilities
25efe0cbd01016d49c1033119fb70c944f624fa6
DesktopWidgets/Widgets/PictureSlideshow/Settings.cs
DesktopWidgets/Widgets/PictureSlideshow/Settings.cs
using System; using System.ComponentModel; using DesktopWidgets.WidgetBase.Settings; namespace DesktopWidgets.Widgets.PictureSlideshow { public class Settings : WidgetSettingsBase { public Settings() { Width = 384; Height = 216; } [Category("General")] ...
using System; using System.ComponentModel; using DesktopWidgets.WidgetBase.Settings; namespace DesktopWidgets.Widgets.PictureSlideshow { public class Settings : WidgetSettingsBase { public Settings() { Width = 384; Height = 216; } [Category("General")] ...
Change "Slideshow" "Root Folder" option name
Change "Slideshow" "Root Folder" option name
C#
apache-2.0
danielchalmers/DesktopWidgets
d61a8327da94243b65d7761ee23d9a5f4649a5fe
osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableFlyingHit.cs
osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableFlyingHit.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.Game.Beatmaps; using osu.Game.Beatmaps.ControlPoints; namespace osu.Game.Rulesets.Taiko.Objects.Drawables { /// <summary> /// A hit used specifically f...
// 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.Game.Beatmaps; using osu.Game.Beatmaps.ControlPoints; namespace osu.Game.Rulesets.Taiko.Objects.Drawables { /// <summary> /// A hit used specifically f...
Fix rim flying hits changing colour
Fix rim flying hits changing colour
C#
mit
peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,UselessToucan/osu,ppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu
ef8b1aa7858be45bf8705faaf477b3dba41f7853
Working_with_images/Working_with_images/AppDelegate.cs
Working_with_images/Working_with_images/AppDelegate.cs
using System; using System.Collections.Generic; using System.Linq; using MonoTouch.Foundation; using MonoTouch.UIKit; namespace Working_with_images { /// <summary> /// The UIApplicationDelegate for the application. This class is responsible for launching the /// User Interface of the application, as well ...
using System; using System.Collections.Generic; using System.Linq; using MonoTouch.Foundation; using MonoTouch.UIKit; namespace Working_with_images { /// <summary> /// The UIApplicationDelegate for the application. This class is responsible for launching the /// User Interface of the application, as well ...
Update Mike's Working with Images sample.
Update Mike's Working with Images sample.
C#
mit
nervevau2/monotouch-samples,a9upam/monotouch-samples,labdogg1003/monotouch-samples,nervevau2/monotouch-samples,sakthivelnagarajan/monotouch-samples,andypaul/monotouch-samples,albertoms/monotouch-samples,YOTOV-LIMITED/monotouch-samples,andypaul/monotouch-samples,robinlaide/monotouch-samples,W3SS/monotouch-samples,hongng...
bfaba2fe74bb3749cf0b544153f08bd7e8d07265
Assets/Scripts/HUD.cs
Assets/Scripts/HUD.cs
using UnityEngine; using System.Collections; public sealed class HUD : MonoBehaviour { private int frameCount = 0; private float dt = 0.0F; private float fps = 0.0F; private float updateRate = 4.0F; void Start () { } void Update () { frameCount++; dt += Time.deltaTime; if (dt > 1.0F / updateRate) { ...
using UnityEngine; using System.Collections; public sealed class HUD : MonoBehaviour { private int FrameCount = 0; private float DeltaTime = 0.0F; private float FPS = 0.0F; private float UpdateRate = 5.0F; void Start () { } void Update () { FrameCount++; DeltaTime += Time.deltaTime; if (DeltaTime > 1....
Change some some syntax conventions.
Change some some syntax conventions.
C#
mit
Warhead-Entertainment/OpenWorld
b424d20f267b26104eca245cf1f3de926f29849b
osu.Game/Graphics/UserInterfaceV2/RoundedButton.cs
osu.Game/Graphics/UserInterfaceV2/RoundedButton.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using JetBrains.Annotations; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; usin...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using JetBrains.Annotations; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; usin...
Fix rounded buttons not allowing custom colour specifications
Fix rounded buttons not allowing custom colour specifications
C#
mit
NeoAdonis/osu,peppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,ppy/osu,ppy/osu,peppy/osu
59e40904ad6d6cbd68f4c1c3eecda73a02973c03
samples/SampleApp/Startup.cs
samples/SampleApp/Startup.cs
using Microsoft.AspNet.Builder; using Microsoft.AspNet.Http; using System; using System.Net.WebSockets; using System.Threading; using System.Threading.Tasks; namespace SampleApp { public class Startup { public void Configure(IApplicationBuilder app) { app.Run(async context => ...
using System; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Http; namespace SampleApp { public class Startup { public void Configure(IApplicationBuilder app) { app.Run(async context => { Console.WriteLine("{0} {1}{2}{3}", con...
Remove redundant websocket sample code.
Remove redundant websocket sample code.
C#
apache-2.0
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
283de80c77cfb08d2f1f381c5e75e6621f8b381d
osu.Framework/Input/UserInputManager.cs
osu.Framework/Input/UserInputManager.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 System.Collections.Generic; using osu.Framework.Event; using osu.Framework.Input.Handlers; using osu.Framework.Platform; using OpenTK; namespace osu.Fr...
// 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 System.Collections.Generic; using osu.Framework.Event; using osu.Framework.Input.Handlers; using osu.Framework.Platform; using OpenTK; namespace osu.Fr...
Use switch instead of ifs
Use switch instead of ifs
C#
mit
DrabWeb/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,ZLima12/osu-...
3538431784be41ddc2c2a22648924b2901527fb0
Zermelo.App.UWP/Schedule/ScheduleView.xaml.cs
Zermelo.App.UWP/Schedule/ScheduleView.xaml.cs
using System; using System.Linq; using Autofac; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Navigation; namespace Zermelo.App.UWP.Schedule { public sealed partial class ScheduleView : Page { public ScheduleView() { this.InitializeComponent(); NavigationCacheM...
using System; using System.Linq; using Autofac; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Navigation; namespace Zermelo.App.UWP.Schedule { public sealed partial class ScheduleView : Page { public ScheduleView() { this.InitializeComponent(); NavigationCacheM...
Fix crash when navigating back to ScheduleView
Fix crash when navigating back to ScheduleView Because the Page got loaded, it tried to add the current date to CalendarView.SelectedDates, but since SelectionMode is set to a single item, it crashed when it loaded for the second time.
C#
mit
arthurrump/Zermelo.App.UWP
e2e703c2c298ca3fc32d5e305c266a0bec0adfbd
source/WsFed/Models/RelyingParty.cs
source/WsFed/Models/RelyingParty.cs
/* * Copyright (c) Dominick Baier, Brock Allen. All rights reserved. * see license */ using System.Collections.Generic; namespace Thinktecture.IdentityServer.WsFed.Models { public class RelyingParty { public string Name { get; set; } public bool Enabled { get; set; } public string...
/* * Copyright (c) Dominick Baier, Brock Allen. All rights reserved. * see license */ using System.Collections.Generic; using System.Security.Cryptography.X509Certificates; namespace Thinktecture.IdentityServer.WsFed.Models { public class RelyingParty { public string Name { get; set; } pub...
Add encryption support to relying party model
Add encryption support to relying party model
C#
apache-2.0
bodell/IdentityServer3,codeice/IdentityServer3,18098924759/IdentityServer3,tbitowner/IdentityServer3,roflkins/IdentityServer3,iamkoch/IdentityServer3,ryanvgates/IdentityServer3,feanz/Thinktecture.IdentityServer.v3,remunda/IdentityServer3,kouweizhong/IdentityServer3,faithword/IdentityServer3,tonyeung/IdentityServer3,fea...
fc6548d87bb740c60dd2d3fe1b7dc7cba9ad3507
src/Umbraco.Core/Models/Entities/TreeEntityPath.cs
src/Umbraco.Core/Models/Entities/TreeEntityPath.cs
namespace Umbraco.Core.Models.Entities { /// <summary> /// Represents the path of a tree entity. /// </summary> public class TreeEntityPath { /// <summary> /// Gets or sets the identifier of the entity. /// </summary> public int Id { get; set; } /// <summary...
namespace Umbraco.Core.Models.Entities { /// <summary> /// Represents the path of a tree entity. /// </summary> public class TreeEntityPath { /// <summary> /// Gets or sets the identifier of the entity. /// </summary> public int Id { get; set; } /// <summary...
Fix issue where Id was not set when loading all entity paths
Fix issue where Id was not set when loading all entity paths
C#
mit
JimBobSquarePants/Umbraco-CMS,dawoe/Umbraco-CMS,hfloyd/Umbraco-CMS,dawoe/Umbraco-CMS,robertjf/Umbraco-CMS,NikRimington/Umbraco-CMS,marcemarc/Umbraco-CMS,tcmorris/Umbraco-CMS,rasmuseeg/Umbraco-CMS,robertjf/Umbraco-CMS,hfloyd/Umbraco-CMS,KevinJump/Umbraco-CMS,madsoulswe/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,KevinJump...
866725d9d00d6a50b07964426b0c53672f3ea94f
src/Kernel32.Desktop/Kernel32+CHAR_INFO_ENCODING.cs
src/Kernel32.Desktop/Kernel32+CHAR_INFO_ENCODING.cs
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. namespace PInvoke { using System.Runtime.InteropServices; /// <content> /// Conta...
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. namespace PInvoke { using System.Runtime.InteropServices; /// <content> /// Conta...
Use 'char' instead of 'ushort' for unicode character
Use 'char' instead of 'ushort' for unicode character
C#
mit
jmelosegui/pinvoke,vbfox/pinvoke,AArnott/pinvoke
0e6a3ae392fbb2b2b723426a85664b016310004a
src/Views/Articles/Index.cshtml
src/Views/Articles/Index.cshtml
@{ ViewData["Title"] = "List of Articles I've Written"; } <h1 id="page_title">Articles I've written</h1> <div class="centered_wrapper"> <input type="text" class="search" placeholder="Filter by title/tag"> <article> <p class="date">Monday Aug 28</p> <h2><a href="#">Change Kestrel default ur...
@model IEnumerable<ArticleModel> @{ ViewData["Title"] = "List of Articles I've Written"; } <h1 id="page_title">Articles I've written</h1> <div class="centered_wrapper"> <input type="text" class="search" placeholder="Filter by title/tag"> @foreach (var article in Model) { <article> <p clas...
Change static content to dynamic
Change static content to dynamic
C#
mit
AustinFelipe/website,AustinFelipe/website,AustinFelipe/website
e94ca287a510428f0f462b658c03cbbd28773af9
DynamixelServo.Quadruped/BasicQuadrupedGaitEngine.cs
DynamixelServo.Quadruped/BasicQuadrupedGaitEngine.cs
using System; using System.Numerics; namespace DynamixelServo.Quadruped { public class BasicQuadrupedGaitEngine : QuadrupedGaitEngine { private const int Speed = 10; private const int MaxForward = 5; private const int MinForward = -5; private const int LegDistance = 15; ...
using System; using System.Numerics; namespace DynamixelServo.Quadruped { public class BasicQuadrupedGaitEngine : QuadrupedGaitEngine { private const int Speed = 12; private int _currentIndex; private readonly Vector3[] _positions = { new Vector3(-5, 5, 3), ...
Add simple interpolated motion driver
Add simple interpolated motion driver
C#
apache-2.0
dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo
b519218f55efce641b7053140a9caa60c6ac89fc
AnimalHope/AnimalHope.Web/App_Start/FilterConfig.cs
AnimalHope/AnimalHope.Web/App_Start/FilterConfig.cs
namespace AnimalHope.Web { using System.Web; using System.Web.Mvc; public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
namespace AnimalHope.Web { using System.Web; using System.Web.Mvc; public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); filters.Add(new ValidateInputAttribute(false)); ...
Handle correctly the special HTML characters and tags
Handle correctly the special HTML characters and tags
C#
mit
juliameleshko/AnimalHope,juliameleshko/AnimalHope
5f86239652cb97aeddff4e9d07b8dd13736fa5b8
src/CommonBotLibrary/Services/Models/RedditResult.cs
src/CommonBotLibrary/Services/Models/RedditResult.cs
using System.Diagnostics; using CommonBotLibrary.Interfaces.Models; using RedditSharp.Things; namespace CommonBotLibrary.Services.Models { [DebuggerDisplay("{Url, nq}")] public class RedditResult : IWebpage { public RedditResult(Post post) { Title = post.Title; Url ...
using System.Diagnostics; using CommonBotLibrary.Interfaces.Models; using RedditSharp.Things; namespace CommonBotLibrary.Services.Models { [DebuggerDisplay("{Url, nq}")] public class RedditResult : IWebpage { public RedditResult(Post post) { Title = post.Title; Url ...
Make Hot the default reddit post category
Make Hot the default reddit post category
C#
mit
bcanseco/common-bot-library,bcanseco/common-bot-library
560f075321ab6fa570a24f0bdf1c4a4a6da0d49d
src/EditorFeatures/TestUtilities/Async/WaitHelper.cs
src/EditorFeatures/TestUtilities/Async/WaitHelper.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows; using System.Windows.Threading; namesp...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows; using System.Windows.Threading; namesp...
Revert change to pump in the wrong spot.
Revert change to pump in the wrong spot.
C#
mit
amcasey/roslyn,Pvlerick/roslyn,nguerrera/roslyn,a-ctor/roslyn,oocx/roslyn,orthoxerox/roslyn,dotnet/roslyn,OmarTawfik/roslyn,DustinCampbell/roslyn,dotnet/roslyn,jhendrixMSFT/roslyn,zooba/roslyn,AArnott/roslyn,mattwar/roslyn,bartdesmet/roslyn,CaptainHayashi/roslyn,srivatsn/roslyn,wvdd007/roslyn,khellang/roslyn,Shiney/ros...
f1742412956ea5c1b17a181560240924d332fbb9
src/AppHarbor/Program.cs
src/AppHarbor/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Castle.Windsor; namespace AppHarbor { class Program { static void Main(string[] args) { var container = new WindsorContainer() .Install(new AppHarborInstaller()); var commandDispatcher = container.Resolve<Comm...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Castle.Windsor; namespace AppHarbor { class Program { static void Main(string[] args) { var container = new WindsorContainer() .Install(new AppHarborInstaller()); var commandDispatcher = container.Resolve<Comm...
Use red color when outputting error message
Use red color when outputting error message
C#
mit
appharbor/appharbor-cli
121b0018c2fd4c011271363dca84d9fcd82bcf71
NBi.UI.Genbi/View/TestSuiteGenerator/SettingsControl.cs
NBi.UI.Genbi/View/TestSuiteGenerator/SettingsControl.cs
using System; using System.Linq; using System.Windows.Forms; using NBi.UI.Genbi.Presenter; namespace NBi.UI.Genbi.View.TestSuiteGenerator { public partial class SettingsControl : UserControl { public SettingsControl() { InitializeComponent(); } intern...
using System; using System.Linq; using System.Windows.Forms; using NBi.UI.Genbi.Presenter; namespace NBi.UI.Genbi.View.TestSuiteGenerator { public partial class SettingsControl : UserControl { public SettingsControl() { InitializeComponent(); } intern...
Fix issue that the changes to the connection strings were not registered before you're changing the focus to another connection string.
Fix issue that the changes to the connection strings were not registered before you're changing the focus to another connection string.
C#
apache-2.0
Seddryck/NBi,Seddryck/NBi
17277e2abedfb58aa5b09139326b59e4c7542f42
Assets/MixedRealityToolkit.Examples/Demos/Input/Scenes/PrimaryPointer/PrimaryPointerHandlerExample.cs
Assets/MixedRealityToolkit.Examples/Demos/Input/Scenes/PrimaryPointer/PrimaryPointerHandlerExample.cs
using System; using Microsoft.MixedReality.Toolkit; using Microsoft.MixedReality.Toolkit.Input; using UnityEngine; // Simple example script that subscribes to primary pointer changes and applies a cursor highlight to the current one. public class PrimaryPointerHandlerExample : MonoBehaviour { public GameObject Cu...
using Microsoft.MixedReality.Toolkit; using Microsoft.MixedReality.Toolkit.Input; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.Examples.Demos { // Simple example script that subscribes to primary pointer changes and applies a cursor highlight to the current one. public class PrimaryPointerHandl...
Fix the broken NuGet build.
Fix the broken NuGet build. It's been a few days of us not building NuGet packages - here's what happened. We hit a CI outage earlier in the week caused by an upstream Azure DevOps issue (a bad nuget push package was pushed out). Our build was broken for a couple of days, during which we still had changes going in (m...
C#
mit
killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity
2a4406cdae3bff53430d2dac034aa9bd0ed04c02
Mollie.Api/Models/Payment/PaymentMethod.cs
Mollie.Api/Models/Payment/PaymentMethod.cs
using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace Mollie.Api.Models.Payment { [JsonConverter(typeof(StringEnumConverter))] public enum PaymentMethod { [EnumMember(Value = "ideal")] Ideal, [EnumMember(Value = "creditcard")] CreditCard, ...
using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace Mollie.Api.Models.Payment { [JsonConverter(typeof(StringEnumConverter))] public enum PaymentMethod { [EnumMember(Value = "ideal")] Ideal, [EnumMember(Value = "creditcard")] CreditCard, ...
Add Refund as paymentmethod so we can use it in SettlementPeriodRevenue.
Add Refund as paymentmethod so we can use it in SettlementPeriodRevenue.
C#
mit
Viincenttt/MollieApi,Viincenttt/MollieApi
fe825029b472249f39d7afd1c6a899b7680be56a
KenticoInspector.WebApplication/Startup.cs
KenticoInspector.WebApplication/Startup.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Dependenc...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Dependenc...
Add basics to load compiled client app
Add basics to load compiled client app
C#
mit
ChristopherJennings/KInspector,ChristopherJennings/KInspector,ChristopherJennings/KInspector,ChristopherJennings/KInspector,Kentico/KInspector,Kentico/KInspector,Kentico/KInspector,Kentico/KInspector
ddbff6c3af36c4287ab97303072b81c73a8dffe2
Kudu.Services.Web/Detectors/Default.cshtml
Kudu.Services.Web/Detectors/Default.cshtml
@{ var ownerName = Environment.GetEnvironmentVariable("WEBSITE_OWNER_NAME") ?? ""; var subscriptionId = ownerName; var resourceGroup = Environment.GetEnvironmentVariable("WEBSITE_RESOURCE_GROUP") ?? ""; var siteName = Environment.GetEnvironmentVariable("WEBSITE_SITE_NAME") ?? ""; var index = ow...
@{ var ownerName = Environment.GetEnvironmentVariable("WEBSITE_OWNER_NAME") ?? ""; var subscriptionId = ownerName; var resourceGroup = Environment.GetEnvironmentVariable("WEBSITE_RESOURCE_GROUP") ?? ""; var siteName = Environment.GetEnvironmentVariable("WEBSITE_SITE_NAME") ?? ""; var hostName = Envi...
Fix detectors link to the slot
Fix detectors link to the slot
C#
apache-2.0
projectkudu/kudu,projectkudu/kudu,EricSten-MSFT/kudu,projectkudu/kudu,EricSten-MSFT/kudu,projectkudu/kudu,EricSten-MSFT/kudu,projectkudu/kudu,EricSten-MSFT/kudu,EricSten-MSFT/kudu
f92e8425be868c76f4d6091551da3c026906263b
DynamixelServo.Quadruped/Vector3Extensions.cs
DynamixelServo.Quadruped/Vector3Extensions.cs
using System.Numerics; namespace DynamixelServo.Quadruped { public static class Vector3Extensions { public static Vector3 Normal(this Vector3 vector) { return Vector3.Normalize(vector); } public static bool Similar(this Vector3 a, Vector3 b, float marginOfError = f...
using System.Numerics; namespace DynamixelServo.Quadruped { public static class Vector3Extensions { public static Vector3 Normal(this Vector3 vector) { return Vector3.Normalize(vector); } public static bool Similar(this Vector3 a, Vector3 b, float marginOfError = f...
Add move towards method for vectors
Add move towards method for vectors
C#
apache-2.0
dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo
2024eca3c813c9017fdebd8042b75c41876f1d40
src/Spiffy.Monitoring/Behavior.cs
src/Spiffy.Monitoring/Behavior.cs
using System; using System.Diagnostics; namespace Spiffy.Monitoring { public static class Behavior { static Action<Level, string> _loggingAction; /// <summary> /// Whether or not to remove newline characters from logged values. /// </summary> /// <returns> /// <...
using System; using System.Diagnostics; namespace Spiffy.Monitoring { public static class Behavior { static Action<Level, string> _loggingAction; /// <summary> /// Whether or not to remove newline characters from logged values. /// </summary> /// <returns> /// <...
Update default logging behaviors to use functions that correspond to log level
Update default logging behaviors to use functions that correspond to log level
C#
mit
chris-peterson/Spiffy
8e4e83d39eb35aad46036464672acf3d60e6d0c5
Source/DialogueSystem/DialogueSystem.Build.cs
Source/DialogueSystem/DialogueSystem.Build.cs
//Copyright (c) 2016 Artem A. Mavrin and other contributors using UnrealBuildTool; public class DialogueSystem : ModuleRules { public DialogueSystem(TargetInfo Target) { PrivateIncludePaths.AddRange( new string[] {"DialogueSystem/Private"}); PublicDependencyModuleNames.AddRange( new s...
//Copyright (c) 2016 Artem A. Mavrin and other contributors using UnrealBuildTool; public class DialogueSystem : ModuleRules { public DialogueSystem(TargetInfo Target) { PrivateIncludePaths.AddRange( new string[] {"DialogueSystem/Private"}); PublicDependencyModuleNames.AddRange( new s...
Fix build issues with 4.12
Fix build issues with 4.12
C#
mit
serioussam909/UE4-DialogueSystem,artemavrin/UE4-DialogueSystem,artemavrin/UE4-DialogueSystem,serioussam909/UE4-DialogueSystem,artemavrin/UE4-DialogueSystem,serioussam909/UE4-DialogueSystem
d17942e79c70fe12ad0098b683979dbbad874686
src/Microsoft.TemplateEngine.Orchestrator.RunnableProjects/ValueForms/DefaultSafeNamespaceValueFormModel.cs
src/Microsoft.TemplateEngine.Orchestrator.RunnableProjects/ValueForms/DefaultSafeNamespaceValueFormModel.cs
using System; using System.Collections.Generic; using System.Text.RegularExpressions; using Newtonsoft.Json.Linq; namespace Microsoft.TemplateEngine.Orchestrator.RunnableProjects.ValueForms { public class DefaultSafeNamespaceValueFormModel : IValueForm { public DefaultSafeNamespaceValueFormModel() ...
using System; using System.Collections.Generic; using System.Text.RegularExpressions; using Newtonsoft.Json.Linq; namespace Microsoft.TemplateEngine.Orchestrator.RunnableProjects.ValueForms { public class DefaultSafeNamespaceValueFormModel : IValueForm { public DefaultSafeNamespaceValueFormModel() ...
Update expression to match dots following dots
Update expression to match dots following dots
C#
mit
mlorbetske/templating,mlorbetske/templating
8604de484e403ebac2e3a1f12464bb75a8d6b62a
src/SFA.DAS.EmployerApprenticeshipsService.Domain/Configuration/EmployerApprenticeshipsServiceConfiguration.cs
src/SFA.DAS.EmployerApprenticeshipsService.Domain/Configuration/EmployerApprenticeshipsServiceConfiguration.cs
using System.Collections.Generic; namespace SFA.DAS.EmployerApprenticeshipsService.Domain.Configuration { public class EmployerApprenticeshipsServiceConfiguration { public CompaniesHouseConfiguration CompaniesHouse { get; set; } public EmployerConfiguration Employer { get; set; } publi...
using System.Collections.Generic; namespace SFA.DAS.EmployerApprenticeshipsService.Domain.Configuration { public class EmployerApprenticeshipsServiceConfiguration { public CompaniesHouseConfiguration CompaniesHouse { get; set; } public EmployerConfiguration Employer { get; set; } publi...
Add new config value for testing scenarios related to duplicate PAYE schemes. This will be deleted
Add new config value for testing scenarios related to duplicate PAYE schemes. This will be deleted
C#
mit
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
79d4fb4d25f2bc6186ee72aa58ecf25d30d5d333
TestMoya.Runner/Runners/TimerDecoratorTests.cs
TestMoya.Runner/Runners/TimerDecoratorTests.cs
namespace TestMoya.Runner.Runners { using System; using System.Reflection; using Moq; using Moya.Attributes; using Moya.Models; using Moya.Runner.Runners; using Xunit; public class TimerDecoratorTests { private readonly Mock<ITestRunner> testRunnerMock; private Time...
using System.Threading; namespace TestMoya.Runner.Runners { using System; using System.Reflection; using Moq; using Moya.Attributes; using Moya.Models; using Moya.Runner.Runners; using Xunit; public class TimerDecoratorTests { private readonly Mock<ITestRunner> testRunnerM...
Make sure timerdecoratortest always succeeds
Make sure timerdecoratortest always succeeds
C#
mit
Hammerstad/Moya
4b8bbfc78d6169092cdde5002cc9fe808c621cb4
src/CGO.Web/Views/Shared/_Sidebar.cshtml
src/CGO.Web/Views/Shared/_Sidebar.cshtml
@using CGO.Web.Models @model IEnumerable<SideBarSection> <div class="span3"> <div class="well sidebar-nav"> <ul class="nav nav-list"> @foreach (var sideBarSection in Model) { <li class="nav-header">@sideBarSection.Title</li> foreach (var link in side...
@using CGO.Web.Models @model IEnumerable<SideBarSection> <div class="col-lg-3"> <div class="well"> <ul class="nav nav-stacked"> @foreach (var sideBarSection in Model) { <li class="navbar-header">@sideBarSection.Title</li> foreach (var link in sideBar...
Tidy up the display of the side bar.
Tidy up the display of the side bar. Upgrade the classes to Bootstrap 3.
C#
mit
alastairs/cgowebsite,alastairs/cgowebsite
de968c1842027d55da5d639782cad31b90fae2c7
src/Leeroy/Program.cs
src/Leeroy/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceProcess; using System.Text; using System.Threading; namespace Leeroy { static class Program { /// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { if (args.Firs...
using System; using System.Linq; using System.Runtime.InteropServices; using System.ServiceProcess; using System.Threading; using System.Threading.Tasks; namespace Leeroy { static class Program { /// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { ...
Allow Leeroy to run until canceled in test mode.
Allow Leeroy to run until canceled in test mode.
C#
mit
LogosBible/Leeroy
4cde3fd9872ed0fa801c45acb9c2850e31c1738c
src/Couchbase.Lite.Support.NetDesktop/Support/DefaultDirectoryResolver.cs
src/Couchbase.Lite.Support.NetDesktop/Support/DefaultDirectoryResolver.cs
// // DefaultDirectoryResolver.cs // // Copyright (c) 2017 Couchbase, Inc All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/...
// // DefaultDirectoryResolver.cs // // Copyright (c) 2017 Couchbase, Inc All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/...
Revert change to .NET desktop default directory logic
Revert change to .NET desktop default directory logic It was causing DB creation in the nuget package folder Fixes #1108
C#
apache-2.0
couchbase/couchbase-lite-net,couchbase/couchbase-lite-net,couchbase/couchbase-lite-net
1310e2d6c1eb586b445c3fdf2133e622b45a33a5
data/layouts/default/StaticContentModule.cs
data/layouts/default/StaticContentModule.cs
using System; using System.IO; using Manos; // // This the default StaticContentModule that comes with all Manos apps // if you do not wish to serve any static content with Manos you can // remove its route handler from <YourApp>.cs's constructor and delete // this file. // // All Content placed on the Conten...
using System; using System.IO; using Manos; // // This the default StaticContentModule that comes with all Manos apps // if you do not wish to serve any static content with Manos you can // remove its route handler from <YourApp>.cs's constructor and delete // this file. // // All Content placed on the Conten...
Make sure to End StaticContent.
Make sure to End StaticContent.
C#
mit
jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,jmptrader/manos,jacksonh/manos,jmptrader/manos,jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,mdavid/manos-spdy,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,jacksonh/m...
793acfe174786431d7ffb20cddeb4be28b95199c
src/MagicOnion.Server/ReturnStatusException.cs
src/MagicOnion.Server/ReturnStatusException.cs
using Grpc.Core; using System; namespace MagicOnion { public class ReturnStatusException : Exception { public StatusCode StatusCode { get; private set; } public string Detail { get; private set; } public ReturnStatusException(StatusCode statusCode, string detail) { ...
using Grpc.Core; using System; namespace MagicOnion { public class ReturnStatusException : Exception { public StatusCode StatusCode { get; private set; } public string Detail { get; private set; } public ReturnStatusException(StatusCode statusCode, string detail) : base($"T...
Set an exception message for ReturnStatusMessage
Set an exception message for ReturnStatusMessage
C#
mit
neuecc/MagicOnion
c775562d917749a72052298a9df49284a360009b
Tests/Serilog.Exceptions.Test/GlobalSuppressions.cs
Tests/Serilog.Exceptions.Test/GlobalSuppressions.cs
// This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSha...
// This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSha...
Enlarge the scope of SA1600 supression to whole test project
Enlarge the scope of SA1600 supression to whole test project
C#
mit
RehanSaeed/Serilog.Exceptions,RehanSaeed/Serilog.Exceptions
e5c0b8168763adc0d98fdc7883a4711a32a6e372
Bumblebee/Interfaces/ITextField.cs
Bumblebee/Interfaces/ITextField.cs
namespace Bumblebee.Interfaces { public interface ITextField : IElement, IHasText { TCustomResult EnterText<TCustomResult>(string text) where TCustomResult : IBlock; TCustomResult AppendText<TCustomResult>(string text) where TCustomResult : IBlock; } public interface ITextField<out TRe...
namespace Bumblebee.Interfaces { public interface ITextField : IElement, IHasText { TCustomResult EnterText<TCustomResult>(string text) where TCustomResult : IBlock; TCustomResult AppendText<TCustomResult>(string text) where TCustomResult : IBlock; } public interface ITextField<out TRe...
Allow noop on text fields
Allow noop on text fields
C#
mit
kool79/Bumblebee,chrisblock/Bumblebee,chrisblock/Bumblebee,Bumblebee/Bumblebee,qchicoq/Bumblebee,kool79/Bumblebee,qchicoq/Bumblebee,toddmeinershagen/Bumblebee,toddmeinershagen/Bumblebee,Bumblebee/Bumblebee
a71e52da4caf53c88b772263d4b7fb89090a34ec
osu.Game/Screens/Select/Filter/SortMode.cs
osu.Game/Screens/Select/Filter/SortMode.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.Screens.Select.Filter { public enum SortMode { [Description("Artist")] Artist, [Descrip...
// 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.Screens.Select.Filter { public enum SortMode { [Description("Artist")] Artist, [Descrip...
Fix enum ordering after adding source
Fix enum ordering after adding source
C#
mit
peppy/osu,peppy/osu-new,peppy/osu,smoogipoo/osu,ppy/osu,ppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu
c6fb842a7210c4e8f690518ea86d244cb4643f3b
AssemblyInfo.Shared.cs
AssemblyInfo.Shared.cs
//----------------------------------------------------------------------- // <copyright file="AssemblyInfo.Shared.cs" company="SonarSource SA and Microsoft Corporation"> // Copyright (c) SonarSource SA and Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the projec...
//----------------------------------------------------------------------- // <copyright file="AssemblyInfo.Shared.cs" company="SonarSource SA and Microsoft Corporation"> // Copyright (c) SonarSource SA and Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the projec...
Change version number to 2.2.1
Change version number to 2.2.1
C#
mit
SonarSource-VisualStudio/sonar-scanner-msbuild,SonarSource/sonar-msbuild-runner,SonarSource-VisualStudio/sonar-msbuild-runner,SonarSource-DotNet/sonar-msbuild-runner,duncanpMS/sonar-msbuild-runner,SonarSource-VisualStudio/sonar-scanner-msbuild,duncanpMS/sonar-msbuild-runner,SonarSource-VisualStudio/sonar-scanner-msbuil...
6b493047b3268da50b1599172c1c099a4ede48cd
GUI/Controls/TreeViewFileSorter.cs
GUI/Controls/TreeViewFileSorter.cs
using System.Collections; using System.Windows.Forms; namespace GUI.Controls { internal class TreeViewFileSorter : IComparer { public int Compare(object x, object y) { var tx = x as TreeNode; var ty = y as TreeNode; var folderx = tx.ImageKey == @"_folder"; ...
using System.Collections; using System.Windows.Forms; namespace GUI.Controls { internal class TreeViewFileSorter : IComparer { public int Compare(object x, object y) { var tx = x as TreeNode; var ty = y as TreeNode; var folderx = tx.Tag is TreeViewFolder; ...
Check folders by its tag
Check folders by its tag
C#
mit
SteamDatabase/ValveResourceFormat
40c4fe26f048d7dcc87a6c92baffbcfb34a32a65
HALClient/HalClient.cs
HALClient/HalClient.cs
using System; using System.Net.Http; using System.Threading.Tasks; using Ecom.Hal.JSON; using Newtonsoft.Json; namespace Ecom.Hal { public class HalClient { public HalClient(Uri endpoint) { Client = new HttpClient {BaseAddress = endpoint}; } public T Parse<T>(string content) { retu...
using System; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; using Ecom.Hal.JSON; using Newtonsoft.Json; namespace Ecom.Hal { public class HalClient { public HalClient(Uri endpoint) { Client = new HttpClient {BaseAddress = endpoint}; } ...
Add support for basic auth
Add support for basic auth
C#
apache-2.0
Xerosigma/halclient
de05c3628c006991f5f0129bb7031b70e638432f
src/SharpGraphEditor/Models/ZoomManager.cs
src/SharpGraphEditor/Models/ZoomManager.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Caliburn.Micro; namespace SharpGraphEditor.Models { public class ZoomManager : PropertyChangedBase { public int MaxZoom { get; } = 2; public double CurrentZoom { get; private set; } public ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Caliburn.Micro; namespace SharpGraphEditor.Models { public class ZoomManager : PropertyChangedBase { public double MaxZoom { get; } = 2; public double CurrentZoom { get; private set; } publi...
Fix bug with zoom when it didnt limit
Fix bug with zoom when it didnt limit
C#
apache-2.0
AceSkiffer/SharpGraphEditor
5da9f67c170cf3f601b7efca5a595091c1988760
Battery-Commander.Web/Jobs/SqliteBackupJob.cs
Battery-Commander.Web/Jobs/SqliteBackupJob.cs
using BatteryCommander.Web.Services; using FluentScheduler; using SendGrid.Helpers.Mail; using System; using System.Collections.Generic; namespace BatteryCommander.Web.Jobs { public class SqliteBackupJob : IJob { private const String Recipient = "mattgwagner+backup@gmail.com"; // TODO Make this config...
using BatteryCommander.Web.Services; using FluentScheduler; using SendGrid.Helpers.Mail; using System; using System.Collections.Generic; namespace BatteryCommander.Web.Jobs { public class SqliteBackupJob : IJob { private const String Recipient = "mattgwagner+backup@gmail.com"; // TODO Make this config...
Use common from address for backup
Use common from address for backup
C#
mit
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
f6029b829d2c865aa54473b222d5408bb27c545a
PivotalTrackerDotNet/AAuthenticatedService.cs
PivotalTrackerDotNet/AAuthenticatedService.cs
using RestSharp; namespace PivotalTrackerDotNet { public abstract class AAuthenticatedService { protected readonly string m_token; protected RestClient RestClient; protected AAuthenticatedService(string token) { m_token = token; RestClient = n...
using RestSharp; namespace PivotalTrackerDotNet { using System; public abstract class AAuthenticatedService { protected readonly string m_token; protected RestClient RestClient; protected AAuthenticatedService(string token) { m_token = token; ...
Fix RestClient BaseUrl change to Uri
Fix RestClient BaseUrl change to Uri
C#
mit
Charcoals/PivotalTracker.NET,Charcoals/PivotalTracker.NET
215aa81735ca7644073d368f8093a9b3e11c5395
setup.cake
setup.cake
#load nuget:?package=Cake.Recipe&version=1.0.0 Environment.SetVariableNames(); BuildParameters.SetParameters( context: Context, buildSystem: BuildSystem, sourceDirectoryPath: "./src", title: "TfsUrlParser", repositoryOwner: "bbtsoftware", repositoryName: "TfsUrlParser", appVeyorAccountNam...
#load nuget:?package=Cake.Recipe&version=1.0.0 Environment.SetVariableNames(); BuildParameters.SetParameters( context: Context, buildSystem: BuildSystem, sourceDirectoryPath: "./src", title: "TfsUrlParser", repositoryOwner: "bbtsoftware", repositoryName: "TfsUrlParser", appVeyorAccountNam...
Exclude Shouldly from code coverage
Exclude Shouldly from code coverage
C#
mit
bbtsoftware/TfsUrlParser
90b04283f259e108ebce82b4f1180c73ded1d3a6
MimeBank/MimeChecker.cs
MimeBank/MimeChecker.cs
/* * Programmed by Umut Celenli umut@celenli.com */ using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace MimeBank { /// <summary> /// This is the main class to check the file mime type /// Header list is loaded once /// </summary> public cla...
/* * Programmed by Umut Celenli umut@celenli.com */ using System.Collections.Generic; using System.IO; using System.Linq; namespace MimeBank { /// <summary> /// This is the main class to check the file mime type /// Header list is loaded once /// </summary> public class MimeChecker ...
Define a const for read buffer size
Define a const for read buffer size
C#
apache-2.0
detaybey/MimeBank
b3c482ad1f60f3226cc7ae693369a828bb166266
Framework.Core/System/Threading/MonitorEx.cs
Framework.Core/System/Threading/MonitorEx.cs
#if !(LESSTHAN_NET40 || NETSTANDARD1_0) using System.Runtime.CompilerServices; #endif namespace System.Threading { public class MonitorEx { #if !(LESSTHAN_NET40 || NETSTANDARD1_0) [MethodImpl(MethodImplOptionsEx.AggressiveInlining)] #endif public static void Enter(object obj, ref bool lockTake...
#if !(LESSTHAN_NET40 || NETSTANDARD1_0) using System.Runtime.CompilerServices; #endif namespace System.Threading { public static class MonitorEx { #if !(LESSTHAN_NET40 || NETSTANDARD1_0) [MethodImpl(MethodImplOptionsEx.AggressiveInlining)] #endif public static void Enter(object obj, ref bool l...
Use static class for static methods.
Use static class for static methods.
C#
mit
theraot/Theraot
fb3576bda16ee05f0240f0bdac359dab788b4bc4
src/Nancy/ISerializer.cs
src/Nancy/ISerializer.cs
namespace Nancy { using System.Collections.Generic; using System.IO; public interface ISerializer { /// <summary> /// Whether the serializer can serialize the content type /// </summary> /// <param name="contentType">Content type to serialize</param> ...
namespace Nancy { using System.Collections.Generic; using System.IO; public interface ISerializer { /// <summary> /// Whether the serializer can serialize the content type /// </summary> /// <param name="contentType">Content type to serialise</param> ...
Revert "Swapping Silly UK English ;)"
Revert "Swapping Silly UK English ;)" This reverts commit 3b10acc9f764cf31b2718abf906b28ce7d200cff.
C#
mit
jongleur1983/Nancy,MetSystem/Nancy,vladlopes/Nancy,thecodejunkie/Nancy,dbolkensteyn/Nancy,anton-gogolev/Nancy,malikdiarra/Nancy,hitesh97/Nancy,EliotJones/NancyTest,Novakov/Nancy,AcklenAvenue/Nancy,AIexandr/Nancy,jongleur1983/Nancy,JoeStead/Nancy,VQComms/Nancy,fly19890211/Nancy,asbjornu/Nancy,lijunle/Nancy,thecodejunkie...
ea1c50db7b9f8f57439d01ddac9ec462c9fd5ad0
src/Services/Ordering/Ordering.Infrastructure/Repositories/OrderRepository.cs
src/Services/Ordering/Ordering.Infrastructure/Repositories/OrderRepository.cs
using Microsoft.EntityFrameworkCore; using Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.OrderAggregate; using Microsoft.eShopOnContainers.Services.Ordering.Domain.Seedwork; using System; using System.Threading.Tasks; namespace Microsoft.eShopOnContainers.Services.Ordering.Infrastructure.Reposi...
using Microsoft.EntityFrameworkCore; using Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.OrderAggregate; using Microsoft.eShopOnContainers.Services.Ordering.Domain.Seedwork; using Ordering.Domain.Exceptions; using System; using System.Threading.Tasks; namespace Microsoft.eShopOnContainers.Servi...
Add OrderingDomainException when the order doesn't exist with id orderId
Add OrderingDomainException when the order doesn't exist with id orderId
C#
mit
skynode/eShopOnContainers,andrelmp/eShopOnContainers,skynode/eShopOnContainers,productinfo/eShopOnContainers,productinfo/eShopOnContainers,productinfo/eShopOnContainers,albertodall/eShopOnContainers,TypeW/eShopOnContainers,skynode/eShopOnContainers,albertodall/eShopOnContainers,dotnet-architecture/eShopOnContainers,dot...
2485f6692f988393c354d5f4e9af0b962622e976
Control/WatchDogManager.cs
Control/WatchDogManager.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Windows.Forms; namespace XiboClient.Control { class WatchDogManager { public static void Start() { // Check to see if the WatchDog EXE exist...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Windows.Forms; namespace XiboClient.Control { class WatchDogManager { public static void Start() { // Check to see if the WatchDog EXE exist...
Handle oddity in watchdog naming convention
Handle oddity in watchdog naming convention
C#
agpl-3.0
dasgarner/xibo-dotnetclient,xibosignage/xibo-dotnetclient
862f0e0d2ecb61a86faa9100469422705f8bf622
src/BloomExe/web/controllers/KeybordingConfigAPI.cs
src/BloomExe/web/controllers/KeybordingConfigAPI.cs
using System.Linq; using System.Windows.Forms; using Bloom.Api; namespace Bloom.web.controllers { class KeybordingConfigApi { public void RegisterWithServer(EnhancedImageServer server) { server.RegisterEndpointHandler("keyboarding/useLongPress", (ApiRequest request) => { //detect if some keyboarding ...
using System; using System.Linq; using System.Windows.Forms; using Bloom.Api; namespace Bloom.web.controllers { class KeybordingConfigApi { public void RegisterWithServer(EnhancedImageServer server) { server.RegisterEndpointHandler("keyboarding/useLongPress", (ApiRequest request) => { try { /...
Fix BL-3614 Crash while checking for keyman
Fix BL-3614 Crash while checking for keyman I wasn't able to reproduce the crash, but I made it not require UI thread and catch any errors and report them passively.
C#
mit
StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,JohnThomson/BloomDesktop,gmartin7/myBloomFork,StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,andrew-polk/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,andrew-polk/BloomDe...
b1dc7bbda59c05193ef1e5dcfad44f69dcfb0cb0
src/Noobot.Core/Configuration/ConfigReader.cs
src/Noobot.Core/Configuration/ConfigReader.cs
using System; using System.IO; using System.Reflection; using Newtonsoft.Json.Linq; namespace Noobot.Core.Configuration { public class ConfigReader : IConfigReader { private JObject _currentJObject; private readonly string _configLocation; private readonly object _lock = new object(); ...
using System; using System.IO; using System.Reflection; using Newtonsoft.Json.Linq; namespace Noobot.Core.Configuration { public class ConfigReader : IConfigReader { private JObject _currentJObject; private readonly string _configLocation; private readonly object _lock = new object(); ...
Allow config.json path to work on non-Windows OS
Allow config.json path to work on non-Windows OS Changed the config.json path so it works on non-Windows OS where forward slashes are used instead of backslashes.
C#
mit
Workshop2/noobot,noobot/noobot
63d44d313f9c838326785ea3ca3d5b4654e9c262
src/wp8/FileOpener2.cs
src/wp8/FileOpener2.cs
using System; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using Microsoft.Phone.Controls; using System.Windows.Controls.Primitives; using System.Windows.Media; using Windows.Storage; using System.Diagnostics; using System.IO; namespace WPCordovaClassLib.Cordova.Commands { pub...
using System; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using Microsoft.Phone.Controls; using System.Windows.Controls.Primitives; using System.Windows.Media; using Windows.Storage; using System.Diagnostics; using System.IO; namespace WPCordovaClassLib.Cordova.Commands { pub...
Add support for local folder
[WP8] Add support for local folder If file wasnt found then path is assumed to be relative path to local directory
C#
mit
tectronik/cordova-plugin-file-opener2-tectronik,tectronik/cordova-plugin-file-opener2-tectronik,tectronik/cordova-plugin-file-opener2-tectronik
3a6a3a067b4816b81bf1851b75640a8e73349221
osu.Game.Tests/Visual/Online/TestSceneAccountCreationOverlay.cs
osu.Game.Tests/Visual/Online/TestSceneAccountCreationOverlay.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.Bindables; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Overlays; using osu.G...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Gam...
Rewrite test to cover failure case
Rewrite test to cover failure case
C#
mit
smoogipooo/osu,peppy/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,peppy/osu,ppy/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,ppy/osu
88642323010d16b48740d178e53cd6342c58f113
zipkin4net-aspnetcore/Criteo.Profiling.Tracing.Middleware/TracingMiddleware.cs
zipkin4net-aspnetcore/Criteo.Profiling.Tracing.Middleware/TracingMiddleware.cs
using System; using Microsoft.AspNetCore.Builder; using Criteo.Profiling.Tracing; using Criteo.Profiling.Tracing.Utils; namespace Criteo.Profiling.Tracing.Middleware { public static class TracingMiddleware { public static void UseTracing(this IApplicationBuilder app, string serviceName) { ...
using System; using Microsoft.AspNetCore.Builder; using Criteo.Profiling.Tracing; using Criteo.Profiling.Tracing.Utils; using Microsoft.AspNetCore.Http.Extensions; namespace Criteo.Profiling.Tracing.Middleware { public static class TracingMiddleware { public static void UseTracing(this IApplicationBuil...
Add http.host and http.path annotations
Add http.host and http.path annotations
C#
apache-2.0
criteo/zipkin4net,criteo/zipkin4net
e3274ed908492ff478076da270c6ba1071b27034
Source/TranslationTest/MainWindowTranslation.cs
Source/TranslationTest/MainWindowTranslation.cs
namespace Translatable.TranslationTest { public class MainWindowTranslation : ITranslatable { private IPluralBuilder PluralBuilder { get; set; } = new DefaultPluralBuilder(); public string Title { get; private set; } = "Main window title"; public string SampleText { get; private set; ...
namespace Translatable.TranslationTest { public class MainWindowTranslation : ITranslatable { protected IPluralBuilder PluralBuilder { get; set; } = new DefaultPluralBuilder(); public string Title { get; protected set; } = "Main window title"; public string SampleText { get; protected...
Make translation work with inheritance
Make translation work with inheritance
C#
mit
pdfforge/translatable