commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
57725ccce10ae9e8cacb15e19735bbcfeebed945 | Change a modifier of class 'TokenEntries' | lury-lang/lury-lexer | lury-lexer/TokenEntry.cs | lury-lexer/TokenEntry.cs | //
// TokenEnrty.cs
//
// Author:
// Tomona Nanase <nanase@users.noreply.github.com>
//
// The MIT License (MIT)
//
// Copyright (c) 2015 Tomona Nanase
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to de... | //
// TokenEnrty.cs
//
// Author:
// Tomona Nanase <nanase@users.noreply.github.com>
//
// The MIT License (MIT)
//
// Copyright (c) 2015 Tomona Nanase
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to de... | mit | C# |
85cf1d38729848cedb0311243e7ad01c67eabea3 | Fix UNC path regex | cjmurph/PmsService,cjmurph/PmsService | PlexServiceTray/DriveMapViewModel.cs | PlexServiceTray/DriveMapViewModel.cs | using PlexServiceCommon;
using System.ComponentModel.DataAnnotations;
namespace PlexServiceTray
{
public class DriveMapViewModel : ObservableObject
{
[Required(ErrorMessage = "Please enter a UNC path to map")]
[RegularExpression(@"^\\\\[a-zA-Z0-9\.\-_]{1,}(\\[a-zA-Z0-9\.\x20\-_]{1,}[\$]{0,1}){... | using PlexServiceCommon;
using System.ComponentModel.DataAnnotations;
namespace PlexServiceTray
{
public class DriveMapViewModel : ObservableObject
{
[Required(ErrorMessage = "Please enter a UNC path to map")]
[RegularExpression(@"", ErrorMessage = "Please enter a UNC path to map")]
pu... | mit | C# |
c97784e3d711a66c5b38659d9637c45481265154 | make comment more descriptive | Recognos/Metrics.NET,Liwoj/Metrics.NET,cvent/Metrics.NET,ntent-ad/Metrics.NET,DeonHeyns/Metrics.NET,huoxudong125/Metrics.NET,mnadel/Metrics.NET,etishor/Metrics.NET,ntent-ad/Metrics.NET,MetaG8/Metrics.NET,MetaG8/Metrics.NET,mnadel/Metrics.NET,alhardy/Metrics.NET,huoxudong125/Metrics.NET,cvent/Metrics.NET,MetaG8/Metrics.... | Src/Metrics/MetricData/GaugeValue.cs | Src/Metrics/MetricData/GaugeValue.cs |
namespace Metrics.MetricData
{
/// <summary>
/// Combines the value of a gauge (a double) with the defined unit for the value.
/// </summary>
public sealed class GaugeValueSource : MetricValueSource<double>
{
public GaugeValueSource(string name, MetricValueProvider<double> value, Unit unit... |
namespace Metrics.MetricData
{
/// <summary>
/// Combines the value of a gauge with the defined unit for the value.
/// </summary>
public sealed class GaugeValueSource : MetricValueSource<double>
{
public GaugeValueSource(string name, MetricValueProvider<double> value, Unit unit, MetricTag... | apache-2.0 | C# |
11aaa6bcee2f9f1c23458c93341ac50869daa18e | Add more test coverage | ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework | osu.Framework.Tests/Lists/TestEnumerableExtensions.cs | osu.Framework.Tests/Lists/TestEnumerableExtensions.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 NUnit.Framework;
using osu.Framework.Extensions.IEnumerableExtensions;
namespace osu.Framework.Tests.Lists
{
[TestFixture]
public class... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Framework.Extensions.IEnumerableExtensions;
namespace osu.Framework.Tests.Lists
{
[TestFixture]
public class... | mit | C# |
23a5792fcf105ab20500dcdba29792322011ef81 | Fix stray character in xmldoc | ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework | osu.Framework/Input/Handlers/Tablet/ITabletHandler.cs | osu.Framework/Input/Handlers/Tablet/ITabletHandler.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.Bindables;
using osuTK;
namespace osu.Framework.Input.Handlers.Tablet
{
/// <summary>
/// An interface to access OpenTabletDriverHandler.
... | // 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.Bindables;
using osuTK;
namespace osu.Framework.Input.Handlers.Tablet
{
/// <summary>
/// An interface to access OpenTabletDriverHandler.
... | mit | C# |
3809f68fbf21fe2bae3f118cb2b2ce81c1ba91ca | Revert "Retry" | Gabyche/CarBase | Assets/CarBaseController.cs | Assets/CarBaseController.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
[System.Serializable]
public class AxleInfo {
public WheelCollider leftWheel;
public WheelCollider rightWheel;
public bool brake;
public bool motor;
public bool steering;
}
public class CarBaseController : MonoBehaviour {
public Lis... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
[System.Serializable]
public class AxleInfo {
public WheelCollider leftWheel;
public WheelCollider rightWheel;
public bool brake;
public bool motor;
public bool steering;
}
public class CarBaseController : MonoBehaviour {
public Lis... | artistic-2.0 | C# |
6ce8dae2ebd54d97b9cc1f22c8eeda305ac36357 | fix Pause/Resume on iOS | florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho | Bindings/iOS/UrhoSurface.cs | Bindings/iOS/UrhoSurface.cs | using System;
using System.Threading.Tasks;
using System.Runtime.InteropServices;
using CoreGraphics;
using UIKit;
namespace Urho.iOS
{
public class UrhoSurface : UIView
{
[DllImport("@rpath/Urho.framework/Urho", CallingConvention = CallingConvention.Cdecl)]
static extern void SDL_SetExternalViewPlaceholder(Int... | using System;
using System.Threading.Tasks;
using System.Runtime.InteropServices;
using CoreGraphics;
using UIKit;
namespace Urho.iOS
{
public class UrhoSurface : UIView
{
[DllImport("@rpath/Urho.framework/Urho", CallingConvention = CallingConvention.Cdecl)]
static extern void SDL_SetExternalViewPlaceholder(Int... | mit | C# |
8e5be3c86dfafd434f3aeb807e366f694f2c8af9 | Refactor how parameters are checked | graphql-dotnet/graphql-dotnet,graphql-dotnet/graphql-dotnet,graphql-dotnet/graphql-dotnet,joemcbride/graphql-dotnet,joemcbride/graphql-dotnet | src/GraphQL/Resolvers/MethodModelBinderResolver.cs | src/GraphQL/Resolvers/MethodModelBinderResolver.cs | using System;
using System.Linq;
using System.Reflection;
using GraphQL.Types;
namespace GraphQL.Resolvers
{
public class MethodModelBinderResolver<T> : IFieldResolver
{
private readonly IDependencyResolver _dependencyResolver;
private readonly MethodInfo _methodInfo;
private readonly ... | using System;
using System.Linq;
using System.Reflection;
using GraphQL.Types;
namespace GraphQL.Resolvers
{
public class MethodModelBinderResolver<T> : IFieldResolver
{
private readonly IDependencyResolver _dependencyResolver;
private readonly MethodInfo _methodInfo;
private readonly ... | mit | C# |
bb59d19c1c4662ee4f737f09e894b7bc385d51fa | Implement IsValidDestination for Queen | ProgramFOX/Chess.NET | ChessDotNet/Pieces/Queen.cs | ChessDotNet/Pieces/Queen.cs | using System;
namespace ChessDotNet.Pieces
{
public class Queen : ChessPiece
{
public override Player Owner
{
get;
set;
}
public Queen(Player owner)
{
Owner = owner;
}
public override string GetFenCharacter()
... | namespace ChessDotNet.Pieces
{
public class Queen : ChessPiece
{
public override Player Owner
{
get;
set;
}
public Queen(Player owner)
{
Owner = owner;
}
public override string GetFenCharacter()
{
... | mit | C# |
314e44574d0b05c8110b579207dfa1127d18e94d | fix recursion | JohanLarsson/Gu.Wpf.Geometry | Gu.Wpf.Geometry.Demo/Converters/ElementToBoundsRectConverter.cs | Gu.Wpf.Geometry.Demo/Converters/ElementToBoundsRectConverter.cs | namespace Gu.Wpf.Geometry.Demo.Converters
{
using System;
using System.Windows;
using System.Windows.Data;
using System.Windows.Markup;
using System.Windows.Media;
[ValueConversion(typeof(FrameworkElement), typeof(Rect))]
public sealed class ElementToBoundsRectConverter : MarkupExtension, I... | namespace Gu.Wpf.Geometry.Demo.Converters
{
using System;
using System.Windows;
using System.Windows.Data;
using System.Windows.Markup;
using System.Windows.Media;
[ValueConversion(typeof(FrameworkElement), typeof(Rect))]
public sealed class ElementToBoundsRectConverter : MarkupExtension, I... | mit | C# |
cf99aefb45d96eafc146c5c8e687387501c6f89c | Fix ArgumentNullException configuring pools via Remoting | nwoolls/MultiMiner,IWBWbiz/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner | MultiMiner.Win/Extensions/ApplicationConfigurationExtensions.cs | MultiMiner.Win/Extensions/ApplicationConfigurationExtensions.cs | using MultiMiner.Utility.Serialization;
using System.Linq;
namespace MultiMiner.Win.Extensions
{
public static class ApplicationConfigurationExtensions
{
public static Remoting.Data.Transfer.Configuration.Application ToTransferObject(this Data.Configuration.Application modelObject)
{
... | using MultiMiner.Utility.Serialization;
using System.Linq;
namespace MultiMiner.Win.Extensions
{
public static class ApplicationConfigurationExtensions
{
public static Remoting.Data.Transfer.Configuration.Application ToTransferObject(this Data.Configuration.Application modelObject)
{
... | mit | C# |
c6b99e34140b5a4afb8bff907c2152e9771f6f2f | Update TMDbClientTrending.cs | LordMike/TMDbLib | TMDbLib/Client/TMDbClientTrending.cs | TMDbLib/Client/TMDbClientTrending.cs | using System.Threading;
using System.Threading.Tasks;
using TMDbLib.Objects.General;
using TMDbLib.Objects.Search;
using TMDbLib.Objects.Trending;
using TMDbLib.Rest;
namespace TMDbLib.Client
{
public partial class TMDbClient
{
public async Task<SearchContainer<SearchMovie>> GetTrendingMoviesAsync(Tim... | using System.Threading;
using System.Threading.Tasks;
using TMDbLib.Objects.General;
using TMDbLib.Objects.Search;
using TMDbLib.Objects.Trending;
using TMDbLib.Rest;
namespace TMDbLib.Client
{
public partial class TMDbClient
{
public async Task<SearchContainer<SearchMovie>> GetTrendingMoviesAsync(Tim... | mit | C# |
2e31b09e4fe443cf1f124696480d41c10d7e8284 | Increment version number in assembly info | fox091/TournamentTeamMaker | TeamMaker/Properties/AssemblyInfo.cs | TeamMaker/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("Te... | 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("Te... | mit | C# |
7d88d6f0fe5a40294e8adba82b0291a7605bc09f | fix fluent builder test | chrismckelt/WebMinder,chrismckelt/WebMinder,chrismckelt/WebMinder | Core.Tests/CreateFixture.cs | Core.Tests/CreateFixture.cs | using WebMinder.Core.Rules.IpBlocker;
using WebMinder.Core.Runners;
using Xunit;
namespace WebMinder.Core.Tests
{
public class CreateFixture
{
[Fact]
public void CreatesRuleSaysWhatItDoes()
{
const string rulesetname = "abcd";
const string rulesetdesc = "xyz";
... | using WebMinder.Core.Rules.IpBlocker;
using WebMinder.Core.Runners;
using Xunit;
namespace WebMinder.Core.Tests
{
public class CreateFixture
{
[Fact]
public void CreatesRuleSaysWhatItDoes()
{
const string rulesetname = "abcd";
const string rulesetdesc = "xyz";
... | apache-2.0 | C# |
594eaa0d97475e678c676f2c8d6ef2fe20ff74fd | Handle not having a current session | bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity | src/BugsnagUnity/SessionTracker.cs | src/BugsnagUnity/SessionTracker.cs | using BugsnagUnity.Payload;
namespace BugsnagUnity
{
public interface ISessionTracker
{
void StartSession();
Session CurrentSession { get; }
}
class SessionTracker : ISessionTracker
{
private IClient Client { get; }
private Session _currentSession;
public Session CurrentSession
{... | using BugsnagUnity.Payload;
namespace BugsnagUnity
{
public interface ISessionTracker
{
void StartSession();
Session CurrentSession { get; }
}
class SessionTracker : ISessionTracker
{
private IClient Client { get; }
private Session _currentSession;
public Session CurrentSession
{... | mit | C# |
1fbd7f602eb4036ca0009d7de2438a38368fee3d | Reduce temporary list of titles | Lidefeath/ACE,LtRipley36706/ACE,ACEmulator/ACE,LtRipley36706/ACE,ACEmulator/ACE,LtRipley36706/ACE,ACEmulator/ACE | Source/ACE/Network/GameEvent/Events/GameEventCharacterTitles.cs | Source/ACE/Network/GameEvent/Events/GameEventCharacterTitles.cs | namespace ACE.Network.GameEvent
{
public class GameEventCharacterTitle : GameEventPacket
{
public override GameEventOpcode Opcode { get { return GameEventOpcode.CharacterTitle; } }
public GameEventCharacterTitle(Session session) : base(session) { }
protected override void WriteEventBo... | namespace ACE.Network.GameEvent
{
public class GameEventCharacterTitle : GameEventPacket
{
public override GameEventOpcode Opcode { get { return GameEventOpcode.CharacterTitle; } }
public GameEventCharacterTitle(Session session) : base(session) { }
protected override void WriteEventBo... | agpl-3.0 | C# |
9bb2597c9247fed168ca427a2a6017a27dbe6871 | Add framerate parameter in `AnimatorBase.DisplayUndoable` | Weingartner/SolidworksAddinFramework | SolidworksAddinFramework/OpenGl/Animation/AnimatorBase.cs | SolidworksAddinFramework/OpenGl/Animation/AnimatorBase.cs | using System;
using System.Collections.Generic;
using System.Numerics;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using SolidWorks.Interop.sldworks;
using Weingartner.Exceptional.Reactive;
namespace SolidworksAddinFramework.OpenGl.Animation
{
public abstract class AnimatorBase : IRenderable
... | using System;
using System.Collections.Generic;
using System.Numerics;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using SolidWorks.Interop.sldworks;
using Weingartner.Exceptional.Reactive;
namespace SolidworksAddinFramework.OpenGl.Animation
{
public abstract class AnimatorBase : IRenderable
... | mit | C# |
a46a4056fc236fd3afb6040496581a10ba41bf56 | Fix Plot return to index | joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net | Joinrpg/Views/Plot/Create.cshtml | Joinrpg/Views/Plot/Create.cshtml | @model JoinRpg.Web.Models.Plot.AddPlotFolderViewModel
@{
ViewBag.Title = "Добавить сюжет";
}
<h2>@ViewBag.Title</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<p>Начните работу с того, что создайте сюжет. Сюжет — это история, она состоит из вводных,... | @model JoinRpg.Web.Models.Plot.AddPlotFolderViewModel
@{
ViewBag.Title = "Добавить сюжет";
}
<h2>@ViewBag.Title</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<p>Начните работу с того, что создайте сюжет. Сюжет — это история, она состоит из вводных,... | mit | C# |
b9458307115d57ee464ef6aa6463c63eb11536a5 | Add Operator Overloads to Vertex Struct | Silvertorch5/RobustEngine | Graphics/Vertex.cs | Graphics/Vertex.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RobustEngine.Graphics
{
public struct Vertex
{
public float X, Y, Z;
public const int Stride = 12;
public static readonly Vertex Zero = new Vertex(0,0);
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RobustEngine.Graphics
{
public struct Vertex
{
public float X, Y, Z;
public const int Stride = 12;
public static readonly Vertex Zero = new Vertex(0,0);
... | mit | C# |
07f2325cb78d7cc503c30b9b1717b7245f4c2554 | Change button name | Vtek/PowerBI.Api.Client | src/XamarinClient/Page/RootPage.cs | src/XamarinClient/Page/RootPage.cs | using System;
using Xamarin.Forms;
namespace XamarinClient
{
/// <summary>
/// Root page.
/// </summary>
public class RootPage : ContentPage
{
public RootPage()
{
InitializeComponent();
Bind();
}
void InitializeComponent()
{
var layout = new StackLayout
{
VerticalOptions = LayoutOption... | using System;
using Xamarin.Forms;
namespace XamarinClient
{
/// <summary>
/// Root page.
/// </summary>
public class RootPage : ContentPage
{
public RootPage()
{
InitializeComponent();
Bind();
}
void InitializeComponent()
{
var layout = new StackLayout
{
VerticalOptions = LayoutOption... | mit | C# |
cdfe95c15930ac6e0072699d7f7ab2c0725fccaf | Add AcentColour and xmldoc. | smoogipooo/osu,ZLima12/osu,NeoAdonis/osu,Damnae/osu,ppy/osu,johnneijzen/osu,nyaamara/osu,tacchinotacchi/osu,Drezi126/osu,Frontear/osuKyzer,DrabWeb/osu,DrabWeb/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,2yangk23/osu,johnneijzen/osu,Nabile-Rahmani/osu,ppy/osu,UselessToucan/osu,DrabWeb/osu,NeoAdonis/osu,peppy/osu-n... | osu.Game.Modes.Taiko/Objects/Drawable/DrawableTaikoHitObject.cs | osu.Game.Modes.Taiko/Objects/Drawable/DrawableTaikoHitObject.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK.Graphics;
using osu.Game.Modes.Objects.Drawables;
using osu.Game.Modes.Taiko.Judgements;
namespace osu.Game.Modes.Taiko.Objects.Drawable
{
pu... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Modes.Objects.Drawables;
using osu.Game.Modes.Taiko.Judgements;
namespace osu.Game.Modes.Taiko.Objects.Drawable
{
public class DrawableTaiko... | mit | C# |
0a8bb3f1636984ae38199b78b053573077fd0f27 | clean up | edewit/fh-dotnet-sdk,feedhenry/fh-dotnet-sdk,feedhenry/fh-dotnet-sdk,edewit/fh-dotnet-sdk,edewit/fh-dotnet-sdk,feedhenry/fh-dotnet-sdk,feedhenry/fh-dotnet-sdk,edewit/fh-dotnet-sdk,edewit/fh-dotnet-sdk | tests/InMemoryDataStoreTest.cs | tests/InMemoryDataStoreTest.cs | using System.IO;
using FHSDK.Services;
using FHSDK.Services.Data;
using FHSDK.Sync;
using FHSDKPortable;
using Newtonsoft.Json.Linq;
using Xunit;
namespace tests
{
public class InMemoryDataStoreTest
{
private readonly string _dataPersistFile;
private readonly IIOService _ioService;
pu... | using System.IO;
using FHSDK.Services;
using FHSDK.Services.Data;
using FHSDK.Sync;
using FHSDKPortable;
using Newtonsoft.Json.Linq;
using Xunit;
namespace tests
{
public class InMemoryDataStoreTest
{
private string _dataPersistDir;
private string _dataPersistFile;
private IIOService _... | apache-2.0 | C# |
529816fb307ac071e2ca031606144eb8377e523b | Fix generated code spelling mistake. Closes #796 | sschmid/Entitas-CSharp,sschmid/Entitas-CSharp | Addons/Entitas.VisualDebugging.CodeGeneration.Plugins/Entitas.VisualDebugging.CodeGeneration.Plugins/ContextObserverGenerator.cs | Addons/Entitas.VisualDebugging.CodeGeneration.Plugins/Entitas.VisualDebugging.CodeGeneration.Plugins/ContextObserverGenerator.cs | using System.Linq;
using DesperateDevs.CodeGeneration;
using DesperateDevs.Utils;
using Entitas.CodeGeneration.Plugins;
namespace Entitas.VisualDebugging.CodeGeneration.Plugins {
public class ContextObserverGenerator : ICodeGenerator {
public string name { get { return "Context Observer"; } }
pub... | using System.Linq;
using DesperateDevs.CodeGeneration;
using DesperateDevs.Utils;
using Entitas.CodeGeneration.Plugins;
namespace Entitas.VisualDebugging.CodeGeneration.Plugins {
public class ContextObserverGenerator : ICodeGenerator {
public string name { get { return "Context Observer"; } }
pub... | mit | C# |
3437f02a99423472e784c441ffbc822e55408a4c | Update Index.cshtml | infosecdev/botforge,roxberry/botforge,roxberry/botforge,infosecdev/botforge | botforge/Views/Home/Index.cshtml | botforge/Views/Home/Index.cshtml | @{
ViewBag.Title = "ROBOTS!";
}
<div class="hero-unit">
<img src="~/img/logo2.png" style="width:300px;" alt="The Robot Forge" />
<img src="~/img/banner2.png" />
<p class="lead">The Robot Forge is where robot makers come to learn about robotics, build robots from components and software and interact ... | @{
ViewBag.Title = "The Robot Forge";
}
<div class="hero-unit">
<img src="~/img/logo2.png" style="width:300px;" alt="The Robot Forge" />
<img src="~/img/banner2.png" />
<p class="lead">The Robot Forge is where robot makers come to learn about robotics, build robots from components and software and i... | mit | C# |
277c613e552daaf4c7f42714421b452c08344cf5 | Fix silly mistake in DI configuration | csf-dev/agiil,csf-dev/agiil,csf-dev/agiil,csf-dev/agiil | Agiil.Web/App_Start/ContainerFactoryProviderExtensions.cs | Agiil.Web/App_Start/ContainerFactoryProviderExtensions.cs | using System;
using System.Web.Http;
using Agiil.Bootstrap.DiConfiguration;
using Autofac;
namespace Agiil.Web.App_Start
{
public static class ContainerFactoryProviderExtensions
{
public static IContainer GetContainer(this ContainerFactoryProvider provider, HttpConfiguration config)
{
if(provider ==... | using System;
using System.Web.Http;
using Agiil.Bootstrap.DiConfiguration;
using Autofac;
namespace Agiil.Web.App_Start
{
public static class ContainerFactoryProviderExtensions
{
public static IContainer GetContainer(this ContainerFactoryProvider provider, HttpConfiguration config)
{
if(provider ==... | mit | C# |
c4c9753214bb84c5e423ce422db7acca46227c2b | Return localized resource | gjulianm/AncoraMVVM | AncoraMVVM.Phone/Converters/PhoneEnumToStringConverter.cs | AncoraMVVM.Phone/Converters/PhoneEnumToStringConverter.cs | using System.Windows;
using System.Windows.Data;
using AncoraMVVM.Base.Converters;
namespace AncoraMVVM.Phone.Converters
{
public class PhoneEnumToStringConverter : BaseEnumToStringConverter, IValueConverter
{
protected override string GetLocalizedString(string id)
{
return Applica... | using System.Windows.Data;
using AncoraMVVM.Base.Converters;
namespace AncoraMVVM.Phone.Converters
{
public class PhoneEnumToStringConverter : BaseEnumToStringConverter, IValueConverter
{
protected override string GetLocalizedString(string id)
{
throw new System.NotImplementedExcep... | mpl-2.0 | C# |
fd4ca91d6f7c47c9ce97eed2c91b686cac391447 | Fix a bug where toggleready returns an exception when provided with the wrong number of arguments (#9631) | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Server/GameTicking/Commands/ToggleReadyCommand.cs | Content.Server/GameTicking/Commands/ToggleReadyCommand.cs | using Content.Shared.Administration;
using Robust.Server.Player;
using Robust.Shared.Console;
namespace Content.Server.GameTicking.Commands
{
[AnyCommand]
sealed class ToggleReadyCommand : IConsoleCommand
{
public string Command => "toggleready";
public string Description => "";
pub... | using Content.Shared.Administration;
using Robust.Server.Player;
using Robust.Shared.Console;
namespace Content.Server.GameTicking.Commands
{
[AnyCommand]
sealed class ToggleReadyCommand : IConsoleCommand
{
public string Command => "toggleready";
public string Description => "";
pub... | mit | C# |
85ed140631e10d14875a183457066e74b55623b8 | Add simple successfully checking property to AsyncResponseData | insthync/LiteNetLibManager,insthync/LiteNetLibManager | Scripts/AsyncResponseData.cs | Scripts/AsyncResponseData.cs | using LiteNetLib.Utils;
namespace LiteNetLibManager
{
public struct AsyncResponseData<TResponse>
where TResponse : INetSerializable
{
public ResponseHandlerData RequestHandler { get; private set; }
public AckResponseCode ResponseCode { get; private set; }
public TResponse Respo... | using LiteNetLib.Utils;
namespace LiteNetLibManager
{
public struct AsyncResponseData<TResponse>
where TResponse : INetSerializable
{
public ResponseHandlerData RequestHandler { get; private set; }
public AckResponseCode ResponseCode { get; private set; }
public TResponse Respo... | mit | C# |
3ee576240de73918c6455d500c0644b1f2c4c54b | Improve tests | Fody/Stamp | Tests/TaskTests.cs | Tests/TaskTests.cs | using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using Mono.Cecil;
using NUnit.Framework;
[TestFixture]
public class TaskTests
{
private Assembly assembly;
// ReSharper disable once PrivateFieldCanBeConvertedToLocalVariable
private string beforeAssemblyPath;
priva... | using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using Mono.Cecil;
using NUnit.Framework;
[TestFixture]
public class TaskTests
{
private Assembly assembly;
// ReSharper disable once PrivateFieldCanBeConvertedToLocalVariable
private string beforeAssemblyPath;
priva... | mit | C# |
693ca83135753921aee5c08f377f700ce6014fce | Allow trial_period_start to be null | xamarin/XamarinStripe,haithemaraissia/XamarinStripe | XamarinStripe/StripePlan.cs | XamarinStripe/StripePlan.cs | /*
* Copyright 2011 Joe Dluzen
*
* Author(s):
* Joe Dluzen (jdluzen@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | /*
* Copyright 2011 Joe Dluzen
*
* Author(s):
* Joe Dluzen (jdluzen@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | apache-2.0 | C# |
ebf5572bc43162d0b28e3f3b9b6255177199d3f0 | Configure Sensor dynamically | jcapellman/jcTM,jcapellman/jcTM | csharp/jcTM.UWP.IoT/MainPage.xaml.cs | csharp/jcTM.UWP.IoT/MainPage.xaml.cs | using Windows.UI.Xaml.Controls;
using GrovePi;
using GrovePi.Sensors;
using jcTM.PCL.Handlers;
namespace jcTM.UWP.IoT {
public sealed partial class MainPage : Page {
private ITemperatureSensor _sensor;
public MainPage() {
this.InitializeComponent();
ConfigureSensor();
... | using Windows.UI.Xaml.Controls;
using GrovePi;
using GrovePi.Sensors;
using jcTM.PCL.Handlers;
namespace jcTM.UWP.IoT {
public sealed partial class MainPage : Page {
public MainPage() {
this.InitializeComponent();
ReadTemperature();
}
private async voi... | mit | C# |
23dcd526e3c9c1b54d273e9a48729c64c231605e | Add nullcheck for CI | ZLima12/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,peppy/osu-framework,Z... | osu.Framework.Tests/Visual/TestCaseScreenshot.cs | osu.Framework.Tests/Visual/TestCaseScreenshot.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.OpenGL.Textures;
using osu.... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.OpenGL.Textures;
using osu.... | mit | C# |
78943a21d81fc6658a5be485f354b7f925b4636e | Update osu.Game/Beatmaps/ControlPoints/IControlPoint.cs | peppy/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu | osu.Game/Beatmaps/ControlPoints/IControlPoint.cs | osu.Game/Beatmaps/ControlPoints/IControlPoint.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.
namespace osu.Game.Beatmaps.ControlPoints
{
public interface IControlPoint
{
/// <summary>
/// The time at which the control point takes effect.
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Game.Beatmaps.ControlPoints
{
public interface IControlPoint
{
/// <summary>
/// The time at which the control point takes effect.
... | mit | C# |
457f7e32c323d95383e5bb72e7229b98473f3ebd | Update update url | MatthiWare/UpdateLib | UpdateLib/TestApp/Program.cs | UpdateLib/TestApp/Program.cs | using MatthiWare.UpdateLib;
using MatthiWare.UpdateLib.Logging;
using MatthiWare.UpdateLib.Logging.Writers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace TestApp
{
static class Program
{
/// <summary>
/// The main entry point for the a... | using MatthiWare.UpdateLib;
using MatthiWare.UpdateLib.Logging;
using MatthiWare.UpdateLib.Logging.Writers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace TestApp
{
static class Program
{
/// <summary>
/// The main entry point for the a... | agpl-3.0 | C# |
956e303c5a245b6ed2ff74acf07da36679f4d982 | Delete a comma | imba-tjd/CSharp-Code-Repository | 单个文件的程序/pingt.cs | 单个文件的程序/pingt.cs | using System;
using System.Diagnostics;
// 对tcping的简单封装,自动使用443
class PingT
{
static void Main(string[] args)
{
if (args.Length != 1)
{
Console.WriteLine("参数不正确");
Environment.Exit(1);
}
// 无论输入主机还是网址都能运行,后者会自动提取出主机;但为了使用Uri,又要当输入前者时加上协议
string u... | using System;
using System.Diagnostics;
// 对tcping的简单封装,自动使用443
class PingT
{
static void Main(string[] args)
{
if (args.Length != 1)
{
Console.WriteLine("参数不正确");
Environment.Exit(1);
}
// 无论输入主机还是网址都能运行,后者会自动提取出主机,;但为了使用Uri,又要当输入前者时加上协议
string ... | mit | C# |
d3c58c848deba41d97cb71fbce36b4d89a515555 | Add licence header | naoey/osu,NeoAdonis/osu,ZLima12/osu,DrabWeb/osu,johnneijzen/osu,EVAST9919/osu,2yangk23/osu,ZLima12/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,DrabWeb/osu,peppy/osu,naoey/osu,UselessToucan/osu,smoogipoo/osu,Frontear/osuKyzer,peppy/osu-new,EVAST9919/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,Drezi126/osu,smoogipo... | osu.Game.Rulesets.Catch/Beatmaps/CatchBeatmapProcessor.cs | osu.Game.Rulesets.Catch/Beatmaps/CatchBeatmapProcessor.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Beatmaps;
using osu.Game.Rulesets.Catch.Objects;
namespace osu.Game.Rulesets.Catch.Beatmaps
{
internal cl... | using osu.Game.Beatmaps;
using osu.Game.Rulesets.Beatmaps;
using osu.Game.Rulesets.Catch.Objects;
namespace osu.Game.Rulesets.Catch.Beatmaps
{
internal class CatchBeatmapProcessor : BeatmapProcessor<CatchBaseHit>
{
public override void PostProcess(Beatmap<CatchBaseHit> beatmap)
{
... | mit | C# |
e7367377ad6a29abc7efc8fb48bee8c709f3d948 | Fix test on OSX | BlueMountainCapital/Deedle,AtwooTM/Deedle,buybackoff/Deedle,BlueMountainCapital/Deedle,buybackoff/Deedle,AtwooTM/Deedle,caioproiete/Deedle,filmor/Deedle,tpetricek/Deedle,filmor/Deedle,buybackoff/Deedle,tpetricek/Deedle,filmor/Deedle,caioproiete/Deedle,Dependencies/Deedle,jeyoor/Deedle,BlueMountainCapital/Deedle,jeyoor/... | tests/Deedle.CSharp.Tests/Frame.cs | tests/Deedle.CSharp.Tests/Frame.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using Deedle;
using System.Runtime.CompilerServices;
using System.IO;
namespace Deedle.CSharp.Tests
{
/* ------------------------------------------------------------------------... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using Deedle;
using System.Runtime.CompilerServices;
using System.IO;
namespace Deedle.CSharp.Tests
{
/* ------------------------------------------------------------------------... | bsd-2-clause | C# |
dee514939f5e97f9f88a6f05df3ae6ae7364e70c | Move to modern nuget. Make Sprite compile by stubbing missing interface methods. | eylvisaker/AgateLib | AgateLib.Tests/UnitTests/Extensions/ListExtensions.cs | AgateLib.Tests/UnitTests/Extensions/ListExtensions.cs | using System.Collections.Generic;
using AgateLib.Extensions.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AgateLib.UnitTests.Extensions
{
[TestClass]
public class ListExtensions
{
[TestMethod]
public void SortPrimitives()
{
List<int> li = new List<int> ... | using System.Collections.Generic;
using AgateLib.Extensions.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AgateLib.UnitTests.Extensions
{
[TestClass]
public class ListExtensions
{
[TestMethod]
public void SortPrimitives()
{
List<int> li = new List<int> ... | mit | C# |
ac6dd367e638298e1fb832af208d66ba757b217f | Update to version number | ForkandBeard/Alferd-Spritesheet-Unpacker | ASU/Properties/AssemblyInfo.cs | ASU/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("AS... | 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("AS... | mit | C# |
e518dd8a960659ed0ec711f95e58331ed254c7f4 | Add new file userAuth.cpl/Droid/MainActivity.cs | ArcanaMagus/userAuth.cpl,ArcanaMagus/userAuth.cpl,ArcanaMagus/userAuth.cpl,ArcanaMagus/userAuth.cpl | userAuth.cpl/Droid/MainActivity.cs | userAuth.cpl/Droid/MainActivity.cs |