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 |
|---|---|---|---|---|---|---|---|---|---|
57d233683ea5401f44259458e11533bd468f32d8 | GUI/Utils/Settings.cs | GUI/Utils/Settings.cs | using System.Collections.Generic;
using System.Drawing;
using System.IO;
using ValveKeyValue;
namespace GUI.Utils
{
internal static class Settings
{
public class AppConfig
{
public List<string> GameSearchPaths { get; set; } = new List<string>();
public string Background... | using System.Collections.Generic;
using System.Drawing;
using System.IO;
using ValveKeyValue;
namespace GUI.Utils
{
internal static class Settings
{
public class AppConfig
{
public List<string> GameSearchPaths { get; set; } = new List<string>();
public string Background... | Save settings.txt to same folder as the assembly | Save settings.txt to same folder as the assembly
Fixes #109
| C# | mit | SteamDatabase/ValveResourceFormat |
bf75fadfac64455ef25130458c1abef681d64d4b | src/Controllers/Home.cs | src/Controllers/Home.cs | using System;
using System.Linq;
using downr.Services;
using Microsoft.AspNetCore.Mvc;
namespace downr.Controllers
{
public class HomeController : Controller
{
IYamlIndexer _indexer;
public HomeController(IYamlIndexer indexer)
{
_indexer = indexer;
}
[Route... | using System;
using System.Linq;
using downr.Services;
using Microsoft.AspNetCore.Mvc;
namespace downr.Controllers
{
public class HomeController : Controller
{
IYamlIndexer _indexer;
public HomeController(IYamlIndexer indexer)
{
_indexer = indexer;
}
[Route... | Fix logic in home index to go to a slug if provided | Fix logic in home index to go to a slug if provided
| C# | apache-2.0 | bradygaster/downr,bradygaster/downr,spboyer/downr,spboyer/downr,bradygaster/downr |
c73c6ed6b42bbf0b110d7c6174ce5cb8cb1aeb1f | source/CroquetAustralia.Website/Layouts/Shared/Sidebar.cshtml | source/CroquetAustralia.Website/Layouts/Shared/Sidebar.cshtml | <div class="sticky-notes">
<div class="sticky-note">
<i class="pin"></i>
<div class="content green">
<h1>
GC Handicapping System
</h1>
<p>
New <a href="/disciplines/golf-croquet/resources">GC Handicapping System</a> comes into effe... | <div class="sticky-notes">
<div class="sticky-note">
<i class="pin"></i>
<div class="content green">
<h1>
GC Handicapping System
</h1>
<p>
New <a href="/disciplines/golf-croquet/resources">GC Handicapping System</a> came into effec... | Change GC Handicapping sticky note | Change GC Handicapping sticky note
| C# | mit | croquet-australia/croquet-australia-website,croquet-australia/website-application,croquet-australia/croquet-australia.com.au,croquet-australia/croquet-australia.com.au,croquet-australia/croquet-australia.com.au,croquet-australia/website-application,croquet-australia/croquet-australia-website,croquet-australia/croquet-a... |
159e6888803818767878e625b6507311694f7850 | src/VisualStudio/LiveShare/Test/RunCodeActionsHandlerTests.cs | src/VisualStudio/LiveShare/Test/RunCodeActionsHandlerTests.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.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.LanguageServer.CustomProtocol;
using Newtonsoft.Json.Linq;
using Roslyn.Test.Ut... | // 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.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.LanguageServer.CustomProtocol;
using Newtonsoft.Json.Linq;
using Roslyn.Test.Ut... | Update tests to pass new required title parameter. | Update tests to pass new required title parameter.
| C# | mit | AlekseyTs/roslyn,gafter/roslyn,physhi/roslyn,nguerrera/roslyn,ErikSchierboom/roslyn,dotnet/roslyn,abock/roslyn,tmat/roslyn,genlu/roslyn,mavasani/roslyn,reaction1989/roslyn,wvdd007/roslyn,physhi/roslyn,jmarolf/roslyn,tannergooding/roslyn,diryboy/roslyn,ErikSchierboom/roslyn,nguerrera/roslyn,davkean/roslyn,KevinRansom/ro... |
daac8b8dfeb2ae90305558ac0959fd1d32363cd3 | src/AddIn.Export/ExtentionDefinition.cs | src/AddIn.Export/ExtentionDefinition.cs | using Loupe.Extensibility;
using Loupe.Extensibility.Client;
namespace Loupe.Extension.Export
{
/// <summary>
/// Top-level class for integrating with the Loupe framework
/// </summary>
[LoupeExtension(ConfigurationEditor = typeof(ExportConfigurationDialog),
MachineConfiguration = typeof(Expor... | using Loupe.Extensibility;
using Loupe.Extensibility.Client;
namespace Loupe.Extension.Export
{
/// <summary>
/// Top-level class for integrating with the Loupe framework
/// </summary>
[LoupeExtension(ConfigurationEditor = typeof(ExportConfigurationDialog),
CommonConfiguration = typeof(Export... | Correct extension definition configuration value | Correct extension definition configuration value
| C# | apache-2.0 | GibraltarSoftware/Loupe.Samples,GibraltarSoftware/Loupe.Samples,GibraltarSoftware/Loupe.Samples |
9785999d4c6520dbe443e115f50d1301f107cd7e | src/PowerShellEditorServices.Transport.Stdio/Request/InitializeRequest.cs | src/PowerShellEditorServices.Transport.Stdio/Request/InitializeRequest.cs | using Microsoft.PowerShell.EditorServices.Session;
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Event;
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Message;
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Response;
using Nito.AsyncEx;
using System.Threading.Tasks;
namespace Microso... | using Microsoft.PowerShell.EditorServices.Session;
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Event;
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Message;
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Response;
using Microsoft.PowerShell.EditorServices.Utility;
using Nito.AsyncE... | Add separate log file for debugging service | Add separate log file for debugging service
This change adds a new log file for the debugging service called
"DebugService.log". This log file will be taken back out once we have the
debugging service running in the same process as the language service.
| C# | mit | PowerShell/PowerShellEditorServices |
2dffe9ca54fb6cfa5c507bf051f2b6897836c80c | CORS/Controllers/ValuesController.cs | CORS/Controllers/ValuesController.cs | using System.Collections.Generic;
using System.Web.Http;
using System.Web.Http.Cors;
namespace CORS.Controllers
{
public class ValuesController : ApiController
{
// GET api/values
public IEnumerable<string> Get()
{
return new string[] { "This is a CORS request.",... | using System.Collections.Generic;
using System.Web.Http;
using System.Web.Http.Cors;
namespace CORS.Controllers
{
public class ValuesController : ApiController
{
// GET api/values
public IEnumerable<string> Get()
{
return new string[] { "This is a CORS request.",... | Check username for null too. | Check username for null too. | C# | mit | bigfont/webapi-cors |
1fabeae8d2643464dbd31a3406d26893ddfa1ef6 | src/Manos/Manos.Server/IHttpResponse.cs | src/Manos/Manos.Server/IHttpResponse.cs |
using System;
using System.Text;
namespace Manos.Server {
public interface IHttpResponse {
IHttpTransaction Transaction {
get;
}
HttpHeaders Headers {
get;
}
HttpResponseStream Stream {
get;
}
Encoding Encoding {
get;
}
int StatusCode {
get;
set;
}
bool WriteStatusLine... |
using System;
using System.IO;
using System.Text;
namespace Manos.Server {
public interface IHttpResponse {
IHttpTransaction Transaction {
get;
}
HttpHeaders Headers {
get;
}
HttpResponseStream Stream {
get;
}
StreamWriter Writer {
get;
}
Encoding Encoding {
get;
}
int... | Add the writer to the interface. | Add the writer to the interface.
| C# | mit | jmptrader/manos,jmptrader/manos,jacksonh/manos,jacksonh/manos,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,jacksonh/manos,mdavid/manos-spdy,mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,jmptrader/manos,jacksonh/manos,jacksonh/manos,jmptrader/ma... |
60324bb1571a6230ba4f3a49575a9962cadb527b | src/Giles.Core/Configuration/Filter.cs | src/Giles.Core/Configuration/Filter.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Giles.Core.Configuration
{
[Serializable]
public class Filter
{
public Filter() { }
public Filter(string convertToFilter)
{
foreach (var entry in FilterLookUp.Where(entry => convertToFilter.Con... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Giles.Core.Configuration
{
[Serializable]
public class Filter
{
public Filter() { }
public Filter(string convertToFilter)
{
foreach (var entry in FilterLookUp.Where(entry => convertToFilter.Con... | Make sure there is a space between the -* and the filtered namespace to prevent any accidental replacements | Make sure there is a space between the -* and the filtered namespace to prevent any accidental replacements
| C# | mit | michaelsync/Giles,codereflection/Giles,michaelsync/Giles,michaelsync/Giles,codereflection/Giles,codereflection/Giles,michaelsync/Giles |
4fc8e9cebef3b42a4256cbc314db2e21f200e2c2 | MVCLibraryManagementSystem/Controllers/HomeController.cs | MVCLibraryManagementSystem/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace MVCLibraryManagementSystem.Controllers
{
public class HomeController : Controller
{
// GET: Home
public ActionResult Index()
{
return View();
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace MVCLibraryManagementSystem.Controllers
{
public class HomeController : Controller
{
// GET: Home
public ActionResult Index()
{
return View();
}
}... | Fix merge conflict with maitisoumyajit | Fix merge conflict with maitisoumyajit
| C# | mit | ibsarbca/MVCLibraryManagementSystem |
c1957dbdb9f15b9273aa9cf31ca6aa88d8eecc5b | vmPing/Views/IsolatedPingWindow.xaml.cs | vmPing/Views/IsolatedPingWindow.xaml.cs | using System;
using System.Windows;
using System.Windows.Controls;
using vmPing.Classes;
namespace vmPing.Views
{
/// <summary>
/// Interaction logic for IsolatedPingWindow.xaml
/// </summary>
public partial class IsolatedPingWindow : Window
{
private int SelStart = 0;
private int ... | using System;
using System.Windows;
using System.Windows.Controls;
using vmPing.Classes;
namespace vmPing.Views
{
/// <summary>
/// Interaction logic for IsolatedPingWindow.xaml
/// </summary>
public partial class IsolatedPingWindow : Window
{
private int SelStart = 0;
private int ... | Use dispatcher begininvoke for textbox scroll | Use dispatcher begininvoke for textbox scroll
| C# | mit | R-Smith/vmPing |
5546770b9d0793f66a6ab41773f07194a3c6e135 | Common/NuGetConstants.cs | Common/NuGetConstants.cs | using System;
namespace NuGet
{
public static class NuGetConstants
{
public static readonly string DefaultFeedUrl = "https://go.microsoft.com/fwlink/?LinkID=230477";
public static readonly string V1FeedUrl = "https://go.microsoft.com/fwlink/?LinkID=206669";
public static read... | using System;
namespace NuGet
{
public static class NuGetConstants
{
public static readonly string DefaultFeedUrl = "https://go.microsoft.com/fwlink/?LinkID=230477";
public static readonly string V1FeedUrl = "https://go.microsoft.com/fwlink/?LinkID=206669";
public static read... | Update default publishing url to point to v2 feed. | Update default publishing url to point to v2 feed.
--HG--
branch : 1.6
| C# | apache-2.0 | mdavid/nuget,mdavid/nuget |
8324fda25184eb1e9113ee95adf74c9fbdb4562c | src/AppHarbor/Program.cs | src/AppHarbor/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AppHarbor
{
class Program
{
static void Main(string[] args)
{
}
}
}
| 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();
}
}
}
| Initialize a WindowsContainer when program starts | Initialize a WindowsContainer when program starts
| C# | mit | appharbor/appharbor-cli |
4838f122f5a995c99e58c9d23f6f3e5b9e4f21f9 | PSO2Launcher/App.xaml.cs | PSO2Launcher/App.xaml.cs | using System.Windows;
using Dogstar.Properties;
namespace Dogstar
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App
{
void Application_Startup(object sender, StartupEventArgs e)
{
if (Settings.Default.UpgradeCheck)
{
Settings.Default.Upgrade();
Settings.... | using System.Windows;
using Dogstar.Properties;
namespace Dogstar
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App
{
void Application_Startup(object sender, StartupEventArgs e)
{
if (Settings.Default.UpgradeCheck)
{
Settings.Default.Upgrade();
Settings.... | Save game settings on close. | Save game settings on close.
| C# | mit | LightningDragon/Dogstar |
35ad409da6fd60f48f66b58003058ac9d2c5b360 | osu.Game.Rulesets.Osu/Objects/Drawables/DrawableSpinnerTick.cs | osu.Game.Rulesets.Osu/Objects/Drawables/DrawableSpinnerTick.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.Rulesets.Osu.Judgements;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Osu.Objects.Drawables
{
public class DrawableSpinnerTick : Drawa... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Rulesets.Osu.Judgements;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Osu.Objects.Drawables
{
public class DrawableSpinnerTick : Drawa... | Fix spinner bonus ticks samples not actually playing | Fix spinner bonus ticks samples not actually playing
| C# | mit | smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu |
826a8552e598dc55cc59d11982fdcda470011f70 | osu.Game/Overlays/Settings/Sections/Graphics/DetailSettings.cs | osu.Game/Overlays/Settings/Sections/Graphics/DetailSettings.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Configuration;
namespace osu.Game.Overlays.Settings.Sections.Graphics
{
publi... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Configuration;
namespace osu.Game.Overlays.Settings.Sections.Graphics
{
publi... | Reword options item to include "screenshot" | Reword options item to include "screenshot"
| C# | mit | smoogipoo/osu,ZLima12/osu,2yangk23/osu,UselessToucan/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,2yangk23/osu,ppy/osu,UselessToucan/osu,Nabile-Rahmani/osu,johnneijzen/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,naoey/osu,naoey/osu,UselessToucan/osu,NeoAdonis/osu,johnneijzen/osu,ppy/osu,naoey/osu,DrabWeb/osu,... |
81d04b5eae2d14faf7f80b6f8892883e655442d2 | Src/Hosts/Rik.CodeCamp.Host/CodeCampControl.cs | Src/Hosts/Rik.CodeCamp.Host/CodeCampControl.cs | using System;
using GAIT.Utilities.Logging;
using NLog;
using Topshelf;
using static GAIT.Utilities.GeneralBootstrapper;
namespace Rik.CodeCamp.Host
{
internal class CodeCampControl : ServiceControl
{
private Bootstrapper _bootstrapper;
private readonly ILogger _logger;
public CodeCam... | using System;
using GAIT.Utilities.Logging;
using NLog;
using Rik.CodeCamp.Core;
using Topshelf;
using static GAIT.Utilities.GeneralBootstrapper;
namespace Rik.CodeCamp.Host
{
internal class CodeCampControl : ServiceControl
{
private Bootstrapper _bootstrapper;
private readonly ILogger _logger... | Add worker resolve and start Start | Add worker resolve and start Start
| C# | mit | generik0/Rik.CodeCamp |
e4e30eee782a1135b978c0728b1f4d2ac9d75deb | SteamAccountSwitcher/Options.xaml.cs | SteamAccountSwitcher/Options.xaml.cs | using System;
using System.Windows;
using SteamAccountSwitcher.Properties;
namespace SteamAccountSwitcher
{
/// <summary>
/// Interaction logic for Options.xaml
/// </summary>
public partial class Options : Window
{
public Options()
{
InitializeComponent();
... | using System;
using System.Windows;
using SteamAccountSwitcher.Properties;
namespace SteamAccountSwitcher
{
/// <summary>
/// Interaction logic for Options.xaml
/// </summary>
public partial class Options : Window
{
public Options()
{
InitializeComponent();
... | Set DialogResult to false on Options cancel | Set DialogResult to false on Options cancel
| C# | mit | danielchalmers/SteamAccountSwitcher |
d51ff9ef3bfabda6eebfcd5445ef3e102f38b886 | 06.OthreTypes/06.OtherTypes.Homework/OtherTypes/FractionCalculator/TestProgram.cs | 06.OthreTypes/06.OtherTypes.Homework/OtherTypes/FractionCalculator/TestProgram.cs | using System;
namespace FractionCalculator
{
using Class;
public class TestProgram
{
public static void Main()
{
try
{
Fraction fraction1 = new Fraction(22, 7);
Fraction fraction2 = new Fraction(40, 4);
Fraction result... | using System;
namespace FractionCalculator
{
using Class;
public class TestProgram
{
public static void Main()
{
try
{
Fraction fraction1 = new Fraction(22, 7);
Fraction fraction2 = new Fraction(40, 4);
Fraction result... | Add more one catch block for ArgumentException | Add more one catch block for ArgumentException
| C# | cc0-1.0 | ivayloivanof/OOP.CSharp,ivayloivanof/OOP.CSharp |
da164e434ee9166ea37722d8abb1097b77b0fdc4 | projects/AsyncEnum35Sample/test/AsyncEnum35Sample.Test.Unit/AsyncOperationTest.cs | projects/AsyncEnum35Sample/test/AsyncEnum35Sample.Test.Unit/AsyncOperationTest.cs | //-----------------------------------------------------------------------
// <copyright file="AsyncOperationTest.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace AsyncEnum35Sample.T... | //-----------------------------------------------------------------------
// <copyright file="AsyncOperationTest.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace AsyncEnum35Sample.T... | Set result in enumerator and break completes sync | Set result in enumerator and break completes sync
| C# | unlicense | brian-dot-net/writeasync,brian-dot-net/writeasync,brian-dot-net/writeasync |
88ae2ecf1939d2f2026ab988081063d95f555c96 | src/EditorFeatures/Core/Implementation/KeywordHighlighting/HighlightingService.cs | src/EditorFeatures/Core/Implementation/KeywordHighlighting/HighlightingService.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.Composition;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis.Host.Mef;
u... | // 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.Composition;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis.ErrorReport... | Change high lighting crash to NFW | Change high lighting crash to NFW
| C# | mit | aelij/roslyn,brettfo/roslyn,diryboy/roslyn,jmarolf/roslyn,jasonmalinowski/roslyn,CyrusNajmabadi/roslyn,weltkante/roslyn,tannergooding/roslyn,MichalStrehovsky/roslyn,brettfo/roslyn,reaction1989/roslyn,panopticoncentral/roslyn,AlekseyTs/roslyn,reaction1989/roslyn,stephentoub/roslyn,jmarolf/roslyn,KevinRansom/roslyn,heeja... |
54c9a049b509889d193eed145f100a04da6c0e94 | SendEmails/SendEmailWithLogo/Program.cs | SendEmails/SendEmailWithLogo/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Mail;
using System.Net.Mime;
using System.Text;
using System.Threading.Tasks;
namespace SendEmailWithLogo
{
class Program
{
static void Main(string[] args)
{
var toAddress = "somewh... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Mail;
using System.Net.Mime;
using System.Text;
using System.Threading.Tasks;
namespace SendEmailWithLogo
{
class Program
{
static void Main(string[] args)
{
var toAddress = "somewh... | Include company logo in email | Include company logo in email
| C# | apache-2.0 | jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets |
c5519c3078c7d37bdbd5e354b1ef671bf12ca35e | src/PolymeliaDeployController/Program.cs | src/PolymeliaDeployController/Program.cs | using System;
using System.Linq;
using System.ServiceProcess;
namespace PolymeliaDeployController
{
using System.Configuration;
using System.Data.Entity;
using Microsoft.Owin.Hosting;
using PolymeliaDeploy;
using PolymeliaDeploy.Controller;
using PolymeliaDeploy.Data;
using PolymeliaDepl... | using System;
using System.Linq;
using System.ServiceProcess;
namespace PolymeliaDeployController
{
using System.Configuration;
using System.Data.Entity;
using Microsoft.Owin.Hosting;
using PolymeliaDeploy;
using PolymeliaDeploy.Controller;
using PolymeliaDeploy.Data;
using PolymeliaDepl... | Check Environment.UserInteractive instead of /c argument. | Check Environment.UserInteractive instead of /c argument. | C# | mit | fredrikn/PolymeliaDeploy,fredrikn/PolymeliaDeploy |
0a5cb4faca18f1af0c23ee3757d9721ab5c09089 | src/Rainbow/Diff/Fields/XmlComparison.cs | src/Rainbow/Diff/Fields/XmlComparison.cs | using System;
using System.Xml;
using System.Xml.Linq;
using Rainbow.Model;
namespace Rainbow.Diff.Fields
{
public class XmlComparison : FieldTypeBasedComparison
{
public override bool AreEqual(IItemFieldValue field1, IItemFieldValue field2)
{
if (string.IsNullOrWhiteSpace(field1.Value) && string.IsNullOrWhi... | using System.Xml;
using System.Xml.Linq;
using Rainbow.Model;
using Sitecore.Diagnostics;
namespace Rainbow.Diff.Fields
{
public class XmlComparison : FieldTypeBasedComparison
{
public override bool AreEqual(IItemFieldValue field1, IItemFieldValue field2)
{
if (string.IsNullOrWhiteSpace(field1.Value) && stri... | Fix error that aborted sync when invalid XML was present in an XML formatted field (e.g. a malformed rules field in the stock master db) | Fix error that aborted sync when invalid XML was present in an XML formatted field (e.g. a malformed rules field in the stock master db)
| C# | mit | kamsar/Rainbow |
fdb82cf7d3511d4d82fabd041b95b7b74c888d4e | src/Serilog.Sinks.Graylog/GraylogSink.cs | src/Serilog.Sinks.Graylog/GraylogSink.cs | using System;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using Serilog.Core;
using Serilog.Debugging;
using Serilog.Events;
using Serilog.Sinks.Graylog.Core;
using Serilog.Sinks.Graylog.Core.Transport;
namespace Serilog.Sinks.Graylog
{
public class GraylogSink : ILogEventSink
{
private ... | using System;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using Serilog.Core;
using Serilog.Debugging;
using Serilog.Events;
using Serilog.Sinks.Graylog.Core;
using Serilog.Sinks.Graylog.Core.Transport;
namespace Serilog.Sinks.Graylog
{
public class GraylogSink : ILogEventSink, IDisposable
{
... | Fix increase connections to transport | Fix increase connections to transport | C# | mit | whir1/serilog-sinks-graylog |
1e1b480a071f0348b608e0851546803157929e41 | src/Tests/ConfigBuilder.cs | src/Tests/ConfigBuilder.cs | using NServiceBus;
public static class ConfigBuilder
{
public static EndpointConfiguration BuildDefaultConfig(string endpointName)
{
var configuration = new EndpointConfiguration(endpointName);
configuration.SendFailedMessagesTo("error");
configuration.UsePersistence<InMemoryPersistenc... | using NServiceBus;
public static class ConfigBuilder
{
public static EndpointConfiguration BuildDefaultConfig(string endpointName)
{
var configuration = new EndpointConfiguration(endpointName);
configuration.SendFailedMessagesTo("error");
configuration.UsePersistence<InMemoryPersistenc... | Revert "disable retries in tests" | Revert "disable retries in tests"
This reverts commit 4875687e65609b0c13edf8d236a7e88d351d39ca.
| C# | mit | SimonCropp/NServiceBus.Serilog |
21b25dd361788c3c35141c096cbb8355dc71ec33 | src/Certify.UI/Controls/ManagedCertificate/TestProgress.xaml.cs | src/Certify.UI/Controls/ManagedCertificate/TestProgress.xaml.cs | using System.Windows;
using System.Windows.Controls;
namespace Certify.UI.Controls.ManagedCertificate
{
public partial class TestProgress : UserControl
{
protected Certify.UI.ViewModel.ManagedCertificateViewModel ItemViewModel => UI.ViewModel.ManagedCertificateViewModel.Current;
protected Cert... | using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
namespace Certify.UI.Controls.ManagedCertificate
{
public partial class TestProgress : UserControl
{
protected Certify.UI.ViewModel.ManagedCertificateViewModel ItemViewModel => UI.ViewModel.ManagedCertificateViewModel.C... | Fix exception on clipboard access contention | Fix exception on clipboard access contention
| C# | mit | ndouthit/Certify,webprofusion/Certify |
fe650e0c638d5d66ae998b914dd8222148afd857 | src/Pickles/Pickles/LanguageServices.cs | src/Pickles/Pickles/LanguageServices.cs | #region License
/*
Copyright [2011] [Jeffrey Cameron]
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 applica... | #region License
/*
Copyright [2011] [Jeffrey Cameron]
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 applica... | Use GherkinDialectProvider instead of I18n | Use GherkinDialectProvider instead of I18n
| C# | apache-2.0 | picklesdoc/pickles,ludwigjossieaux/pickles,ludwigjossieaux/pickles,blorgbeard/pickles,dirkrombauts/pickles,magicmonty/pickles,picklesdoc/pickles,dirkrombauts/pickles,blorgbeard/pickles,dirkrombauts/pickles,magicmonty/pickles,ludwigjossieaux/pickles,magicmonty/pickles,dirkrombauts/pickles,blorgbeard/pickles,picklesdoc/p... |
6432c9da98cd1908033db7fb56209df5ed58e705 | Src/BScript/Expressions/NewExpression.cs | Src/BScript/Expressions/NewExpression.cs | namespace BScript.Expressions
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BScript.Language;
public class NewExpression : IExpression
{
private IExpression expression;
private IList<IExpression> argexprs;
... | namespace BScript.Expressions
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BScript.Language;
using BScript.Utilities;
public class NewExpression : IExpression
{
private IExpression expression;
private IList<IE... | Fix new expression with dot name | Fix new expression with dot name
| C# | mit | ajlopez/BScript |
b2db5c7b1ff529df5357016eda28698de752dc14 | NBi.Xml/Decoration/Command/SqlRunXml.cs | NBi.Xml/Decoration/Command/SqlRunXml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Serialization;
using NBi.Core.Etl;
using NBi.Xml.Items;
using System.IO;
using NBi.Core.Batch;
using NBi.Xml.Settings;
namespace NBi.Xml.Decoration.Command
{
public class SqlRunXml : DecorationCommandXml, IBatchRunComm... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Serialization;
using NBi.Core.Etl;
using NBi.Xml.Items;
using System.IO;
using NBi.Core.Batch;
using NBi.Xml.Settings;
namespace NBi.Xml.Decoration.Command
{
public class SqlRunXml : DecorationCommandXml, IBatchRunComm... | Fix it also for sql-run | Fix it also for sql-run
| C# | apache-2.0 | Seddryck/NBi,Seddryck/NBi |
8ce7a76484799af5d659efe19ac7556fbe249002 | Source/Web/ForumSystem.Web/Views/Answer/ViewAll.cshtml | Source/Web/ForumSystem.Web/Views/Answer/ViewAll.cshtml | @model System.Linq.IQueryable<ForumSystem.Web.ViewModels.Answers.AnswerViewModel>
@using ForumSystem.Web.ViewModels.Answers;
@foreach (var answer in Model)
{
<div class="panel panel-success">
<div class="panel-heading">
<h3>
@answer.Post.Title
</h3>
</div>
... | @model System.Linq.IQueryable<ForumSystem.Web.ViewModels.Answers.AnswerViewModel>
@using ForumSystem.Web.ViewModels.Answers;
<div class="panel panel-success">
<div class="panel-heading">
<h3>
@Html.ActionLink(Model.FirstOrDefault().Post.Title, "Display", "Questions", new { id = Model.FirstOrD... | Update view of all answers | Update view of all answers
| C# | mit | IskraNikolova/ForumSystem,IskraNikolova/ForumSystem,IskraNikolova/ForumSystem |
502dcc566978b9bc2420d102e76ecbf51260b875 | osu.Game/Skinning/LegacySkinDecoder.cs | osu.Game/Skinning/LegacySkinDecoder.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.Formats;
namespace osu.Game.Skinning
{
public class LegacySkinDecoder : LegacyDecoder<LegacySkinConfiguration>
{
public LegacySk... | // 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.Formats;
namespace osu.Game.Skinning
{
public class LegacySkinDecoder : LegacyDecoder<LegacySkinConfiguration>
{
public LegacySk... | Fix incorrect skin version case | Fix incorrect skin version case
| C# | mit | johnneijzen/osu,smoogipoo/osu,ppy/osu,ppy/osu,EVAST9919/osu,UselessToucan/osu,2yangk23/osu,smoogipooo/osu,peppy/osu,2yangk23/osu,UselessToucan/osu,peppy/osu-new,johnneijzen/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,EVAST9919/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,smoogipoo/osu |
a86d4072b80353e8eab64e0756e344819907edbd | kafka-tests/Fakes/FakeKafkaConnection.cs | kafka-tests/Fakes/FakeKafkaConnection.cs | using KafkaNet;
using KafkaNet.Protocol;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace kafka_tests.Fakes
{
public class FakeKafkaConnection : IKafkaConnection
{
private Uri _address;
public Func<ProduceResponse> P... | using KafkaNet;
using KafkaNet.Protocol;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace kafka_tests.Fakes
{
public class FakeKafkaConnection : IKafkaConnection
{
private Uri _address;
public Func<ProduceResponse> P... | Fix fake not replicating actual behaviour | Fix fake not replicating actual behaviour
| C# | apache-2.0 | aNutForAJarOfTuna/kafka-net,CenturyLinkCloud/kafka-net,gigya/KafkaNetClient,nightkid1027/kafka-net,Jroland/kafka-net,EranOfer/KafkaNetClient,PKRoma/kafka-net,bridgewell/kafka-net,martijnhoekstra/kafka-net,geffzhang/kafka-net,BDeus/KafkaNetClient |
26e171802b2c442ba5d222be87768204f8307699 | DataTool/JSON/JSONTool.cs | DataTool/JSON/JSONTool.cs | using System;
using System.IO;
using DataTool.ToolLogic.List;
using Utf8Json;
using Utf8Json.Resolvers;
using static DataTool.Helper.IO;
using static DataTool.Helper.Logger;
namespace DataTool.JSON {
public class JSONTool {
internal void OutputJSON(object jObj, ListFlags toolFlags) {
CompositeR... | using System;
using System.IO;
using DataTool.ToolLogic.List;
using Utf8Json;
using Utf8Json.Resolvers;
using static DataTool.Helper.IO;
using static DataTool.Helper.Logger;
namespace DataTool.JSON {
public class JSONTool {
internal void OutputJSON(object jObj, ListFlags toolFlags) {
CompositeR... | Append .json to end of filename when outputting JSON | Append .json to end of filename when outputting JSON
| C# | mit | overtools/OWLib |
29d6f59471e02e6c6f2f75edc6b07dbc11e263e7 | src/NodaTime.Test/DateTimeZoneProvidersTest.cs | src/NodaTime.Test/DateTimeZoneProvidersTest.cs | // Copyright 2013 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System.Linq;
using NUnit.Framework;
namespace NodaTime.Test
{
/// <summary>
/// Tests for DateTimeZoneProviders.
/// </summary>
pub... | // Copyright 2013 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System.Linq;
using NodaTime.Testing.TimeZones;
using NodaTime.Xml;
using NUnit.Framework;
namespace NodaTime.Test
{
/// <summary>
/// Tests... | Add test for delegation in obsolete property | Add test for delegation in obsolete property
(This keeps the coverage of DateTimeZoneProviders at 100% :)
| C# | apache-2.0 | malcolmr/nodatime,nodatime/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,nodatime/nodatime,malcolmr/nodatime,malcolmr/nodatime,BenJenkinson/nodatime |
0c07787f8452548458a989664b4ba9ba45d03575 | src/ErgastApi/Responses/Models/Driver.cs | src/ErgastApi/Responses/Models/Driver.cs | using System;
using Newtonsoft.Json;
namespace ErgastApi.Responses.Models
{
public class Driver
{
[JsonProperty("driverId")]
public string DriverId { get; private set; }
/// <summary>
/// Drivers who participated in the 2014 season onwards have a permanent driver number.
... | using System;
using Newtonsoft.Json;
namespace ErgastApi.Responses.Models
{
public class Driver
{
[JsonProperty("driverId")]
public string DriverId { get; private set; }
/// <summary>
/// Drivers who participated in the 2014 season onwards have a permanent driver number.
... | Support drivers without a date of birth | Support drivers without a date of birth
| C# | unlicense | Krusen/ErgastApi.Net |
00a5902fbf49c37d81d470fc437432bca403611c | src/NHibernate/Linq/ExpressionTransformers/RemoveRedundantCast.cs | src/NHibernate/Linq/ExpressionTransformers/RemoveRedundantCast.cs | using System.Linq.Expressions;
using Remotion.Linq.Parsing.ExpressionTreeVisitors.Transformation;
namespace NHibernate.Linq.ExpressionTransformers
{
/// <summary>
/// Remove redundant casts to the same type or to superclass (upcast) in <see cref="ExpressionType.Convert"/>, <see cref=" ExpressionType.ConvertChe... | using System.Linq.Expressions;
using Remotion.Linq.Parsing.ExpressionTreeVisitors.Transformation;
namespace NHibernate.Linq.ExpressionTransformers
{
/// <summary>
/// Remove redundant casts to the same type or to superclass (upcast) in <see cref="ExpressionType.Convert"/>, <see cref=" ExpressionType.ConvertChe... | Fix typo in last commit | Fix typo in last commit
| C# | lgpl-2.1 | fredericDelaporte/nhibernate-core,RogerKratz/nhibernate-core,ManufacturingIntelligence/nhibernate-core,alobakov/nhibernate-core,gliljas/nhibernate-core,ManufacturingIntelligence/nhibernate-core,fredericDelaporte/nhibernate-core,hazzik/nhibernate-core,ManufacturingIntelligence/nhibernate-core,lnu/nhibernate-core,nkreipk... |
f5ef4bb3e5546dc0abd09d89188cc91dd2e8ed6e | src/WebJobs.Script/Description/Binding/EventHubBindingMetadata.cs | src/WebJobs.Script/Description/Binding/EventHubBindingMetadata.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using Microsoft.Azure.WebJobs.ServiceBus;
namespace Microsoft.Azure.WebJobs.Script.Description
{
public class EventHubBindingMetadata : BindingMetad... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using Microsoft.Azure.WebJobs.ServiceBus;
namespace Microsoft.Azure.WebJobs.Script.Description
{
public class EventHubBindingMetadata : BindingMetad... | Support EventHub Consumer Groups in Script | Support EventHub Consumer Groups in Script
| C# | mit | fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script |
a72a9274e88f10d32480f7bb5a71a15f66b784c9 | src/MiNET/MiNET.Service/MiNetService.cs | src/MiNET/MiNET.Service/MiNetService.cs | using Topshelf;
namespace MiNET.Service
{
public class MiNetService
{
private MiNetServer _server;
private void Start()
{
_server = new MiNetServer();
_server.StartServer();
}
private void Stop()
{
_server.StopServer();
}
private static void Main(string[] args)
{
HostFactory.Run(hos... | using System;
using Topshelf;
namespace MiNET.Service
{
public class MiNetService
{
private MiNetServer _server;
private void Start()
{
_server = new MiNetServer();
_server.StartServer();
}
private void Stop()
{
_server.StopServer();
}
private static void Main(string[] args)
{
if (I... | Fix mono support on startup. Bypass TopShelf service framework. | Fix mono support on startup. Bypass TopShelf service framework.
| C# | mpl-2.0 | yungtechboy1/MiNET,uniaspiex/MiNET,InPvP/MiNET,MiPE-JP/RaNET,erichexter/MiNET,Vladik46/MiNET,Creeperface01/MiNET |
2ce9bb27a1608cbadd23098de99c007e7d7d8f9f | src/StructuredLogger/Serialization/StringWriter.cs | src/StructuredLogger/Serialization/StringWriter.cs | using System.Text;
namespace Microsoft.Build.Logging.StructuredLogger
{
public class StringWriter
{
public static string GetString(object rootNode)
{
var sb = new StringBuilder();
WriteNode(rootNode, sb, 0);
return sb.ToString();
}
... | using System.Text;
namespace Microsoft.Build.Logging.StructuredLogger
{
public class StringWriter
{
public static string GetString(object rootNode)
{
var sb = new StringBuilder();
WriteNode(rootNode, sb, 0);
return sb.ToString();
}
... | Fix NRE when copying nodes when the ToString() is null | Fix NRE when copying nodes when the ToString() is null
This happens more or less randomly with the following exception:
System.NullReferenceException was unhandled
HResult=-2147467261
Message=Object reference not set to an instance of an object.
Source=StructuredLogger
StackTrace:
at Microsoft.Build.Lo... | C# | mit | KirillOsenkov/MSBuildStructuredLog,KirillOsenkov/MSBuildStructuredLog |
66b8a8ad2eadf04b6dcd88b9ba9740044f4cf92e | osu.Game.Rulesets.Osu/Objects/Drawables/Connections/FollowPoint.cs | osu.Game.Rulesets.Osu/Objects/Drawables/Connections/FollowPoint.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osuTK;
using osuTK.Graphics;
using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Fram... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osuTK;
using osuTK.Graphics;
using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Fram... | Remove stray default value specification | Remove stray default value specification
| C# | mit | NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,EVAST9919/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,EVAST9919/osu,smoogipooo/osu,ppy/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,peppy/osu |
15e27b7ea8d1cbe42f7e0550a567725a6856111b | otr-project/Views/UserMailer/Welcome.cshtml | otr-project/Views/UserMailer/Welcome.cshtml | Hello @ViewData.Model.FirstName,<br /><br />
Thank you for signing up for Rambla! You have taken the first step towards expanding your rentability.<br /><br />
@{
string URL = Url.Action("activateaccount", "Account", new RouteValueDictionary(new { id = ViewData.Model.ActivationId }), Request.Url.Scheme.ToStrin... | @{
string URL = Url.Action("activateaccount", "Account", new RouteValueDictionary(new { id = ViewData.Model.ActivationId }), Request.Url.Scheme.ToString(), Request.Url.Host);
}
<p>Hi @ViewData.Model.FirstName,</p>
<p>Welcome to <strong>Rambla</strong>, a marketplace that facilitates sharing of items between y... | Update verbiage on user registration email | Update verbiage on user registration email
| C# | mit | ratneshchandna/rambla,ratneshchandna/rambla,ratneshchandna/rambla |
b06595645e85da0d1baac45fa0b7b8a95943a94f | DanTup.DartVS.Vsix/Providers/BraceCompletionProvider.cs | DanTup.DartVS.Vsix/Providers/BraceCompletionProvider.cs | using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Text.BraceCompletion;
using Microsoft.VisualStudio.Utilities;
namespace DanTup.DartVS
{
[Export(typeof(IBraceCompletionDefaultProvider))]
[ContentType(DartContentTypeDefinition.DartContentType)]
[BracePair('{', '}')]
class BraceCompletionProvid... | using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Text.BraceCompletion;
using Microsoft.VisualStudio.Utilities;
namespace DanTup.DartVS
{
[Export(typeof(IBraceCompletionDefaultProvider))]
[ContentType(DartContentTypeDefinition.DartContentType)]
[BracePair('{', '}')]
[BracePair('(', ')')]
[Bra... | Support completion of parens and indexes too. | Support completion of parens and indexes too.
| C# | mit | modulexcite/DartVS,DartVS/DartVS,modulexcite/DartVS,DartVS/DartVS,modulexcite/DartVS,DartVS/DartVS |
fea56322f0aadcdb1b48a82f4836a47d268cd213 | osu.Game/Rulesets/Mods/ModSuddenDeath.cs | osu.Game/Rulesets/Mods/ModSuddenDeath.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Game.Graphics;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Mods
{
public abstract class ModSuddenDeath : Mod, IApp... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Game.Graphics;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Mods
{
public abstract class ModSuddenDeath : Mod, IApp... | Fix SD not failing for the first note | Fix SD not failing for the first note
| C# | mit | naoey/osu,UselessToucan/osu,smoogipoo/osu,ZLima12/osu,2yangk23/osu,ppy/osu,ZLima12/osu,Drezi126/osu,peppy/osu,Nabile-Rahmani/osu,johnneijzen/osu,2yangk23/osu,DrabWeb/osu,smoogipoo/osu,johnneijzen/osu,EVAST9919/osu,smoogipoo/osu,NeoAdonis/osu,naoey/osu,peppy/osu,EVAST9919/osu,peppy/osu-new,NeoAdonis/osu,Frontear/osuKyze... |
3eca8bfd62c029e96062a41c101fc5b72b7b8db1 | src/LessMsi.Cli/ShowHelpCommand.cs | src/LessMsi.Cli/ShowHelpCommand.cs | using System;
using System.Collections.Generic;
namespace LessMsi.Cli
{
internal class ShowHelpCommand : LessMsiCommand
{
public override void Run(List<string> args)
{
ShowHelp("");
}
public static void ShowHelp(string errorMessage)
{
string helpString =
@"Usage:
lessmsi <command> [options] <msi... | using System;
using System.Collections.Generic;
namespace LessMsi.Cli
{
internal class ShowHelpCommand : LessMsiCommand
{
public override void Run(List<string> args)
{
ShowHelp("");
}
public static void ShowHelp(string errorMessage)
{
string helpString =
@"Usage:
lessmsi <command> [options] <msi... | Add help for -t switch | Add help for -t switch
| C# | mit | activescott/lessmsi,activescott/lessmsi,pombredanne/lessmsi,activescott/lessmsi,pombredanne/lessmsi |
c5b3bc1a0bb46f888292a130147e72bc7fac837b | Core/Handling/ContextMenuNotification.cs | Core/Handling/ContextMenuNotification.cs | using CefSharp;
namespace TweetDck.Core.Handling{
class ContextMenuNotification : ContextMenuBase{
public override void OnBeforeContextMenu(IWebBrowser browserControl, IBrowser browser, IFrame frame, IContextMenuParams parameters, IMenuModel model){
model.Clear();
base.OnBeforeCon... | using CefSharp;
namespace TweetDck.Core.Handling{
class ContextMenuNotification : ContextMenuBase{
public override void OnBeforeContextMenu(IWebBrowser browserControl, IBrowser browser, IFrame frame, IContextMenuParams parameters, IMenuModel model){
model.Clear();
base.OnBeforeCon... | Fix context menu not running any actions in notification Form | Fix context menu not running any actions in notification Form
| C# | mit | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck |
3552f4d6d19249804935b8a08a94bfc9d64fd8cb | MonoGameUtils/Properties/AssemblyInfo.cs | MonoGameUtils/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("MonoGameUtils")]
[assembly: AssemblyDescr... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("MonoGameUtils")]
[assembly: AssemblyDescri... | Increment version number for new build. | Increment version number for new build.
| C# | mit | dneelyep/MonoGameUtils |
9de034a8eb0b5680e65dbac0df7270f98ebae3ea | Scripts/Interactions/CopyInteractions.cs | Scripts/Interactions/CopyInteractions.cs | using UnityEngine;
namespace Pear.InteractionEngine.Interactions
{
/// <summary>
/// Copies interactions from the current object to the supplied objects
/// </summary>
public class CopyInteractions: MonoBehaviour
{
[Tooltip("Objects that interactions will be copied to")]
public GameObject[] CopyTo;
privat... | using UnityEngine;
namespace Pear.InteractionEngine.Interactions
{
/// <summary>
/// Copies interactions from the current object to the supplied objects
/// </summary>
public class CopyInteractions: MonoBehaviour
{
[Tooltip("Objects that interactions will be copied to")]
public GameObject[] CopyTo;
[Toolt... | Copy interactions from the given object | Copy interactions from the given object
| C# | mit | PearMed/Pear-Interaction-Engine |
9a81c1505872ea75094aba6135dc149b757721a4 | WebEditor/WebEditor/Views/Create/New.cshtml | WebEditor/WebEditor/Views/Create/New.cshtml | @model WebEditor.Models.Create
@{
ViewBag.Title = "New Game";
}
@section scripts {
<script src="@Url.Content("~/Scripts/GameNew.js")" type="text/javascript"></script>
}
@using (Html.BeginForm()) {
@Html.ValidationSummary(true, "Unable to create game. Please correct the errors below.")
<d... | @model WebEditor.Models.Create
@{
ViewBag.Title = "New Game";
}
@section scripts {
<script src="@Url.Content("~/Scripts/GameNew.js")" type="text/javascript"></script>
}
@using (Html.BeginForm()) {
@Html.ValidationSummary(true, "Unable to create game. Please correct the errors below.")
<d... | Hide game type for now | Hide game type for now
| C# | mit | textadventures/quest,siege918/quest,textadventures/quest,textadventures/quest,F2Andy/quest,F2Andy/quest,textadventures/quest,siege918/quest,F2Andy/quest,siege918/quest,siege918/quest |
d9c7d7bcabd767844c67d08ff1488ad8927e88e1 | StressMeasurementSystem/Models/Patient.cs | StressMeasurementSystem/Models/Patient.cs | using System.Net.Mail;
namespace StressMeasurementSystem.Models
{
public class Patient
{
#region Structs
public struct Name
{
public string Prefix { get; set; }
public string First { get; set; }
public string Middle { get; set; }
public ... | using System.Collections.Generic;
using System.Net.Mail;
namespace StressMeasurementSystem.Models
{
public class Patient
{
#region Structs
public struct Name
{
public string Prefix { get; set; }
public string First { get; set; }
public string Middle... | Allow for multiple phone numbers and email addresses | Allow for multiple phone numbers and email addresses
| C# | apache-2.0 | SICU-Stress-Measurement-System/frontend-cs |
fc80404d84bb91797958bee6e66bb16c0856ffd7 | src/Leeroy/Program.cs | src/Leeroy/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceProcess;
using System.Text;
namespace Leeroy
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
static void Main()
{
ServiceBase[] ServicesToRun;
ServicesToRun = ne... | 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... | Allow debugging without running as a service. | Allow debugging without running as a service.
Pass the "/test" command-line argument to run the program as a simple console app.
| C# | mit | LogosBible/Leeroy |
a0942260a92e8e39756007aa261bc34fc6d1e414 | input/docs/getting-started/index.cshtml | input/docs/getting-started/index.cshtml | Order: 10
Description: Tutorials to get you up and running quickly
RedirectFrom:
- docs/overview
- docs/overview/features
---
@Html.Partial("_ChildPages") | Order: 10
Description: Tutorials to get you up and running quickly
RedirectFrom:
- docs/overview
- docs/overview/features
---
<div class="alert alert-info">
<p>
See also <a href="/community/resources/">Community Resources</a> for a lot of helpful courses, videos, presentations and blog posts which can ... | Add link to resources to Getting Started guide | Add link to resources to Getting Started guide
| C# | mit | cake-build/website,cake-build/website,cake-build/website |
494feb1f4b9dc0e4d4bc09c77ac5223561e7a5a8 | TextMatch/Properties/AssemblyInfo.cs | TextMatch/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... | Change version number to 0.6.5 | Change version number to 0.6.5
| C# | apache-2.0 | cris-almodovar/text-match |
00e98b323415649b1d3cbadaf4a29e4e815a9beb | AudioWorks/tests/AudioWorks.Commands.Tests/ModuleFixture.cs | AudioWorks/tests/AudioWorks.Commands.Tests/ModuleFixture.cs | /* Copyright 2018 Jeremy Herbison
This file is part of AudioWorks.
AudioWorks is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public
License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later
version.
Audi... | /* Copyright 2018 Jeremy Herbison
This file is part of AudioWorks.
AudioWorks is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public
License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later
version.
Audi... | Revert change that broke tests on Windows PowerShell. | Revert change that broke tests on Windows PowerShell.
| C# | agpl-3.0 | jherby2k/AudioWorks |
423a759188c27b0857d03b9eb2e10f969d7d10b3 | Cascara.Tests/Src/CascaraTestFramework.cs | Cascara.Tests/Src/CascaraTestFramework.cs | using Xunit.Abstractions;
namespace Cascara.Tests
{
public abstract class CascaraTestFramework
{
public CascaraTestFramework(ITestOutputHelper output)
{
Output = output;
}
protected ITestOutputHelper Output
{
get;
}
}
}
| using System;
using System.Xml.Linq;
using Xunit.Abstractions;
namespace Cascara.Tests
{
public abstract class CascaraTestFramework
{
protected static string BuildXmlElement(string name, params Tuple<string, string>[] attrs)
{
return BuildXmlElement(name, "", attrs);
}
... | Add static methods for building XML data strings | Add static methods for building XML data strings
| C# | mit | whampson/bft-spec,whampson/cascara |
17a04f8ffe4f4e5918c2c590275a4c4734a16dc6 | DesktopWidgets/Classes/IntroData.cs | DesktopWidgets/Classes/IntroData.cs | using System.ComponentModel;
using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
namespace DesktopWidgets.Classes
{
[ExpandableObject]
[DisplayName("Intro Settings")]
public class IntroData
{
[DisplayName("Duration")]
public int Duration { get; set; } = -1;
[DisplayName("Reversab... | using System.ComponentModel;
using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
namespace DesktopWidgets.Classes
{
[ExpandableObject]
[DisplayName("Intro Settings")]
public class IntroData
{
[DisplayName("Duration")]
public int Duration { get; set; } = -1;
[DisplayName("Reversab... | Fix intro settings "Hide On Finish" option name | Fix intro settings "Hide On Finish" option name
| C# | apache-2.0 | danielchalmers/DesktopWidgets |
f9461f10a707a256cad729fbff6705df071ad01a | EncodingConverter/Logic/FileData.cs | EncodingConverter/Logic/FileData.cs | using IO = System.IO;
namespace dokas.EncodingConverter.Logic
{
internal sealed class FileData
{
public string Path { get; private set; }
public string Name { get; private set; }
public string Extension { get; private set; }
public FileData(string path)
{
P... | using System;
using IO = System.IO;
namespace dokas.EncodingConverter.Logic
{
internal sealed class FileData
{
public string Path { get; private set; }
public string Name { get; private set; }
public string Extension { get; private set; }
public FileData(string path)
{... | Implement Equals/GetHashCode to comply with Distinct | Implement Equals/GetHashCode to comply with Distinct
| C# | mit | MSayfullin/EncodingConverter |
486b2c130e0a3398a2a6a810c561d5e4aa950a55 | Kooboo.CMS/Kooboo.CMS.Web/Areas/Sites/Views/ABPageSetting/Edit.cshtml | Kooboo.CMS/Kooboo.CMS.Web/Areas/Sites/Views/ABPageSetting/Edit.cshtml | @model Kooboo.CMS.Sites.ABTest.ABPageSetting
@using Kooboo.CMS.Sites.ABTest;
@{
ViewBag.Title = "Edit A/B page setting";
Layout = "~/Views/Shared/Blank.cshtml";
}
@section Panel{
<ul class="panel">
<li>
<a data-ajaxform="">
@Html.IconImage("save") @("Save".Localize())</a... | @model Kooboo.CMS.Sites.ABTest.ABPageSetting
@using Kooboo.CMS.Sites.ABTest;
@{
ViewBag.Title = "Edit A/B page setting";
Layout = "~/Views/Shared/Blank.cshtml";
}
@section Panel{
<ul class="panel">
<li>
<a data-ajaxform="">
@Html.IconImage("save") @("Save".Localize())</a... | Make available to change the rule when editing A/B page setting. | Make available to change the rule when editing A/B page setting.
| C# | bsd-3-clause | andyshao/CMS,jtm789/CMS,techwareone/Kooboo-CMS,andyshao/CMS,lingxyd/CMS,Kooboo/CMS,jtm789/CMS,techwareone/Kooboo-CMS,andyshao/CMS,lingxyd/CMS,Kooboo/CMS,Kooboo/CMS,jtm789/CMS,techwareone/Kooboo-CMS,lingxyd/CMS |
091b6c5993398cb836eee76389badd4697556544 | src/MsgPack.Rpc/Rpc/ExceptionModifiers.cs | src/MsgPack.Rpc/Rpc/ExceptionModifiers.cs | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010 FUJIWARA, Yusuke
//
// 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... | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010 FUJIWARA, Yusuke
//
// 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... | Fix that the flag prevents serialization. | Fix that the flag prevents serialization.
| C# | apache-2.0 | yonglehou/msgpack-rpc-cli,yfakariya/msgpack-rpc-cli |
739f80d2569ecc0ca213858af78b68590e79de7a | SlackUI/Handlers/BrowserRequestHandler.cs | SlackUI/Handlers/BrowserRequestHandler.cs | #region Copyright © 2014 Ricardo Amaral
/*
* Use of this source code is governed by an MIT-style license that can be found in the LICENSE file.
*/
#endregion
using CefSharp;
namespace SlackUI {
internal class BrowserRequestHandler : IRequestHandler {
#region Public Methods
public bool GetA... | #region Copyright © 2014 Ricardo Amaral
/*
* Use of this source code is governed by an MIT-style license that can be found in the LICENSE file.
*/
#endregion
using CefSharp;
namespace SlackUI {
internal class BrowserRequestHandler : IRequestHandler {
#region Public Methods
public bool GetA... | Cover ALL forward/back navigation cases | Cover ALL forward/back navigation cases
| C# | mit | rfgamaral/SlackUI |
1b1021ed216e70dceaeada9c0721780189ca9a34 | StressMeasurementSystem/Models/Patient.cs | StressMeasurementSystem/Models/Patient.cs | using System;
using System.Collections.Generic;
using System.Net.Mail;
namespace StressMeasurementSystem.Models
{
public class Patient
{
#region Structs
public struct Name
{
public string Prefix { get; set; }
public string First { get; set; }
public... | using System;
using System.Collections.Generic;
using System.Net.Mail;
namespace StressMeasurementSystem.Models
{
public class Patient
{
#region Structs
public struct Name
{
public string Prefix { get; set; }
public string First { get; set; }
public... | Rename Email struct as EmailAddress; refactor as appropriate | Rename Email struct as EmailAddress; refactor as appropriate
| C# | apache-2.0 | SICU-Stress-Measurement-System/frontend-cs |
e2ffaa2f82fca9b15e7426e28df61c61423e27b4 | src/Stripe.net/Properties/InternalsVisibleTo.cs | src/Stripe.net/Properties/InternalsVisibleTo.cs | using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("StripeTests")]
| using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Newtonsoft.Json")]
[assembly: InternalsVisibleTo("StripeTests")]
| Make internals visible to Newtonsoft.Json | Make internals visible to Newtonsoft.Json
| C# | apache-2.0 | richardlawley/stripe.net,stripe/stripe-dotnet |
a59b892eba0cd9083f9ea461b0a2fc6924c8f4ee | src/WebApp/HomeModule.cs | src/WebApp/HomeModule.cs | using Dolstagis.Web;
using Dolstagis.Web.Sessions;
namespace WebApp
{
public class HomeModule : Module
{
public HomeModule()
{
Services.For<ISessionStore>().Singleton().Use<InMemorySessionStore>();
AddStaticFiles("~/content");
AddViews("~/views"... | using Dolstagis.Web;
using Dolstagis.Web.Sessions;
namespace WebApp
{
public class HomeModule : Module
{
public HomeModule()
{
Services.For<ISessionStore>().Singleton().Use<InMemorySessionStore>();
AddStaticFiles("~/content");
AddViews("~/views"... | Use default error messages in demo app. | Use default error messages in demo app.
| C# | mit | jammycakes/dolstagis.web,jammycakes/dolstagis.web,jammycakes/dolstagis.web |
a082b6468b05e8abfffc25951dca128e46353d9d | src/DelegateDecompiler.Tests/EnumTests.cs | src/DelegateDecompiler.Tests/EnumTests.cs | using System;
using System.Linq.Expressions;
using Xunit;
namespace DelegateDecompiler.Tests
{
public class EnumTests : DecompilerTestsBase
{
public enum TestEnum
{
Foo,
Bar
}
[Fact]
public void TestEnumParameterEqualsEnumConstant()
{
... | using System;
using System.Linq.Expressions;
using Xunit;
namespace DelegateDecompiler.Tests
{
public class EnumTests : DecompilerTestsBase
{
public enum TestEnum
{
Foo,
Bar
}
[Fact]
public void TestEnumParameterEqualsEnumConstant()... | Add more tests for enums | Add more tests for enums
| C# | mit | jaenyph/DelegateDecompiler,morgen2009/DelegateDecompiler,hazzik/DelegateDecompiler |
72aa394aaf543fc42cb68bf35eb2554d0593b5cd | src/GuardClauses.UnitTests/GuardAgainsOutOfRange.cs | src/GuardClauses.UnitTests/GuardAgainsOutOfRange.cs | using Ardalis.GuardClauses;
using System;
using Xunit;
namespace GuardClauses.UnitTests
{
public class GuardAgainsOutOfRange
{
[Fact]
public void DoesNothingGivenInRangeValueUsingShortcutMethod()
{
Guard.AgainsOutOfRange(2, "index", 1, 5);
}
[Fact]
... | using Ardalis.GuardClauses;
using System;
using Xunit;
namespace GuardClauses.UnitTests
{
public class GuardAgainsOutOfRange
{
[Theory]
[InlineData(1, 1, 5)]
[InlineData(2, 1, 5)]
[InlineData(3, 1, 5)]
public void DoesNothingGivenInRangeValueUsingShortcutMethod(int inpu... | Improve tests with theory test cases | Improve tests with theory test cases
| C# | mit | ardalis/GuardClauses |
d462cfc4601c77460a7cc02dbcb50ccb2f3cc3ed | src/Nancy.Owin.Tests/AppBuilderExtensionsFixture.cs | src/Nancy.Owin.Tests/AppBuilderExtensionsFixture.cs | namespace Nancy.Owin.Tests
{
using System;
using global::Owin;
using Microsoft.Owin.Testing;
using Nancy.Testing;
using Xunit;
public class AppBuilderExtensionsFixture
{
/*[Fact]
public void When_host_Nancy_via_IAppBuilder_then_should_handle_requests()
... | namespace Nancy.Owin.Tests
{
using System;
using global::Owin;
using Microsoft.Owin.Testing;
using Nancy.Testing;
using Xunit;
public class AppBuilderExtensionsFixture
{
#if !__MonoCS__
[Fact]
public void When_host_Nancy_via_IAppBuilder_then_should_handl... | Exclude AppBuilder test from running on Mono. | Exclude AppBuilder test from running on Mono.
| C# | mit | damianh/Nancy,tparnell8/Nancy,SaveTrees/Nancy,wtilton/Nancy,AlexPuiu/Nancy,guodf/Nancy,albertjan/Nancy,nicklv/Nancy,horsdal/Nancy,VQComms/Nancy,SaveTrees/Nancy,grumpydev/Nancy,EliotJones/NancyTest,hitesh97/Nancy,tsdl2013/Nancy,joebuschmann/Nancy,thecodejunkie/Nancy,danbarua/Nancy,blairconrad/Nancy,daniellor/Nancy,tsdl2... |
c499bba4064673d3f0170475cb6450a8dba51eeb | librato4net/AppSettingsLibratoSettings.cs | librato4net/AppSettingsLibratoSettings.cs | using System;
using System.Configuration;
namespace librato4net
{
public class AppSettingsLibratoSettings : ILibratoSettings
{
// ReSharper disable once InconsistentNaming
private static readonly AppSettingsLibratoSettings settings = new AppSettingsLibratoSettings();
private const str... | using System;
using System.Configuration;
namespace librato4net
{
public class AppSettingsLibratoSettings : ILibratoSettings
{
// ReSharper disable once InconsistentNaming
private static readonly AppSettingsLibratoSettings settings = new AppSettingsLibratoSettings();
private const str... | Validate Username and ApiKey from appSettings. | Validate Username and ApiKey from appSettings.
| C# | mit | plmwong/librato4net |
0d7aa868bb99a09c325b41e2e96f6a131b91d694 | Components/TemplateHelpers/Images/Ratio.cs | Components/TemplateHelpers/Images/Ratio.cs | using System;
namespace Satrabel.OpenContent.Components.TemplateHelpers
{
public class Ratio
{
private readonly float _ratio;
public int Width { get; private set; }
public int Height { get; private set; }
public float AsFloat
{
get { return Width / Height; ... | using System;
namespace Satrabel.OpenContent.Components.TemplateHelpers
{
public class Ratio
{
private readonly float _ratio;
public int Width { get; private set; }
public int Height { get; private set; }
public float AsFloat
{
get { return (float)Width / (... | Fix issue where ratio was always returning "1" | Fix issue where ratio was always returning "1"
| C# | mit | janjonas/OpenContent,janjonas/OpenContent,janjonas/OpenContent,janjonas/OpenContent,janjonas/OpenContent |
e57555304c025dc2a4653c45adc79fb109063447 | src/Common/src/System/Diagnostics/ExceptionExtensions.cs | src/Common/src/System/Diagnostics/ExceptionExtensions.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Diagnostics
{
/// <summary>Provides a set of static methods for working with Exceptions.</summa... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Diagnostics
{
/// <summary>Provides a set of static methods for working with Exceptions.</summa... | Change InitializeStackTrace helper to store trace in Data | Change InitializeStackTrace helper to store trace in Data
My previous attempt to get a better stack trace in exceptions was insufficient. I was throwing/catching the exception to initialize the StackTrace, but I neglected the fact that the stack trace is filled in as the exception propagates, and so throwing/catching... | C# | mit | mmitche/corefx,seanshpark/corefx,twsouthwick/corefx,mmitche/corefx,stone-li/corefx,khdang/corefx,jlin177/corefx,tijoytom/corefx,Priya91/corefx-1,JosephTremoulet/corefx,zhenlan/corefx,jlin177/corefx,alphonsekurian/corefx,nbarbettini/corefx,ellismg/corefx,ViktorHofer/corefx,richlander/corefx,manu-silicon/corefx,MaggieTsa... |
c379e93614d5e429565d780be876873d90116e41 | Battery-Commander.Web/Controllers/AdminController.cs | Battery-Commander.Web/Controllers/AdminController.cs | using BatteryCommander.Web.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
namespace BatteryCommander.Web.Controllers
{
[Authorize, ApiExplorerSettings(IgnoreApi = true)]
public class AdminController : Controller
{
// Admin Tasks:
// Add/Rem... | using BatteryCommander.Web.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.IO;
namespace BatteryCommander.Web.Controllers
{
[Authorize, ApiExplorerSettings(IgnoreApi = true)]
public class AdminController : Controller
{
// Admin Tasks:
... | Fix imports on admin logs | Fix imports on admin logs
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
4c2985b6d129c74dcdb4b19f17dad449ddf09c9f | osu.Game/Audio/SampleInfoList.cs | osu.Game/Audio/SampleInfoList.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
namespace osu.Game.Audio
{
public class SampleInfoList : List<SampleInfo>
{
public SampleInfoList()
{
... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
namespace osu.Game.Audio
{
public class SampleInfoList : List<SampleInfo>
{
public SampleInfoList()
... | Use CRLF instead of LF. | Use CRLF instead of LF.
| C# | mit | smoogipooo/osu,osu-RP/osu-RP,smoogipoo/osu,NeoAdonis/osu,EVAST9919/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,johnneijzen/osu,ZLima12/osu,peppy/osu,DrabWeb/osu,ppy/osu,naoey/osu,nyaamara/osu,peppy/osu-new,RedNesto/osu,ZLima12/osu,peppy/osu,UselessToucan/osu,peppy/osu,EVAST9919/osu,Front... |
f4d8c3f5f950dd60aa41d33d77e9e9f00975b6d5 | Portal.CMS.Web/Views/Error/_Layout.cshtml | Portal.CMS.Web/Views/Error/_Layout.cshtml | @model Portal.CMS.Web.Areas.Builder.ViewModels.Build.CustomViewModel
@{
ViewBag.Title = "Error";
Layout = "";
}
<!DOCTYPE html>
<html lang="en-gb">
<head>
<title>Portal CMS: @ViewBag.Title</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />... | @model Portal.CMS.Web.Areas.Builder.ViewModels.Build.CustomViewModel
@{
ViewBag.Title = "Error";
Layout = "";
}
<!DOCTYPE html>
<html lang="en-gb">
<head>
<title>Portal CMS: @ViewBag.Title</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />... | Update Error Layout to Standardise Against Standard Layout | Update Error Layout to Standardise Against Standard Layout
| C# | mit | tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS |
0842157ae6b7fbb9a35fef7e521fdbd3e577dbd2 | Z3D_Kees_01/Assets/_Scripts/BackToMenu.cs | Z3D_Kees_01/Assets/_Scripts/BackToMenu.cs | using UnityEngine;
using System.Collections;
public class BackToMenu : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if(Input.GetKeyDown(KeyCode.Escape)){
Application.LoadLevel(0);
GameObject GUI;
GUI = GameObject.Find("GUISYS... | using UnityEngine;
using System.Collections;
public class BackToMenu : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if(Input.GetKeyDown(KeyCode.Escape)){
Application.LoadLevel(0);
GameObject guiSys;
guiSys = GameObject.Find("... | Destroy NetworkController when going back to menu | Destroy NetworkController when going back to menu
| C# | mit | jmc-figueira/Z3D,jmc-figueira/Z3D,jmc-figueira/Z3D |
eaf5cbf0563e6b85531938e669ed8649e70103e3 | test/Microsoft.NET.TestFramework/Commands/MSBuildTest.cs | test/Microsoft.NET.TestFramework/Commands/MSBuildTest.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Linq;
using Microsoft.DotNet.Cli.Utils;
namespace Microsoft.NET.TestFramework.Commands
{
public ... | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Linq;
using Microsoft.DotNet.Cli.Utils;
namespace Microsoft.NET.TestFramework.Commands
{
public ... | Fix NUGET_PACKAGES folder when running tests. | Fix NUGET_PACKAGES folder when running tests.
RepoInfo.PackagesPath is actually the output path for the .nupkg, and is configuration-specific. NUGET_PACKAGES should just be the packages folder under the repo root.
| C# | mit | nkolev92/sdk,nkolev92/sdk |
e81bd9a1be512dde46a1684a9dd31985a127b314 | src/GitHub.Api/Git/Tasks/GitCommitTask.cs | src/GitHub.Api/Git/Tasks/GitCommitTask.cs | using System;
using System.Threading;
namespace GitHub.Unity
{
class GitCommitTask : ProcessTask<string>
{
private const string TaskName = "git commit";
private readonly string arguments;
public GitCommitTask(string message, string body,
CancellationToken token, IOutputPro... | using System;
using System.Threading;
namespace GitHub.Unity
{
class GitCommitTask : ProcessTask<string>
{
private const string TaskName = "git commit";
private readonly string arguments;
public GitCommitTask(string message, string body,
CancellationToken token, IOutputPro... | Split the commit message into the subject line and the body | Split the commit message into the subject line and the body
| C# | mit | github-for-unity/Unity,mpOzelot/Unity,github-for-unity/Unity,github-for-unity/Unity,mpOzelot/Unity |
402c227028ca320293b594ab6ee8eae56cb00bad | row.cs | row.cs | using System;
using System.Collections.Generic;
namespace Hangman {
public class Row {
public Cell[] Cells;
public Row(Cell[] cells) {
Cells = cells;
}
public string Draw(int width) {
// return new String(' ', width - Text.Length) + Text;
return String.Join("\n", Lines());
}
... | using System;
using System.Collections.Generic;
namespace Hangman {
public class Row {
public Cell[] Cells;
private int Width;
public Row(Cell[] cells) {
Cells = cells;
}
public string Draw(int width) {
// return new String(' ', width - Text.Length) + Text;
Width = width;
... | Add dynamic left margin for line parts | Add dynamic left margin for line parts
| C# | unlicense | 12joan/hangman |
3b6485d312dbe1ea431b13fac617841ed667be9e | ExchangeRate/Providers/GoogleProvider.cs | ExchangeRate/Providers/GoogleProvider.cs | // Copyright ©2017 Simonray (http://github.com/simonray). All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using ExchangeRate.Model;
using System.Net;
using System.Text.RegularExpressions;
namespace ExchangeRate.Providers
{
/// <exclude />
p... | // Copyright ©2017 Simonray (http://github.com/simonray). All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using ExchangeRate.Model;
using System.Net;
using System.Text.RegularExpressions;
namespace ExchangeRate.Providers
{
/// <exclude />
p... | Update changes to Google finance url | Update changes to Google finance url
| C# | mit | simonray/exchange-rate |
d82cf72379a5e7fabe149058f2f292d716cb7cfc | src/Scrutor/ServiceDescriptorAttribute.cs | src/Scrutor/ServiceDescriptorAttribute.cs | using System;
using System.Collections.Generic;
using System.Reflection;
using Microsoft.Extensions.DependencyInjection;
namespace Scrutor
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class ServiceDescriptorAttribute : Attribute
{
public ServiceDescriptorAttribute() : th... | using System;
using System.Collections.Generic;
using Microsoft.Extensions.DependencyInjection;
namespace Scrutor
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class ServiceDescriptorAttribute : Attribute
{
public ServiceDescriptorAttribute() : this(null) { }
pub... | Use IsAssignableTo instead of IsAssignableFrom | Use IsAssignableTo instead of IsAssignableFrom
| C# | mit | khellang/Scrutor |
71cdc74c5bbff09a84078f56ed1be30ffa6a54fa | src/ConsoleApp/Program.cs | src/ConsoleApp/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using static System.Console;
namespace ConsoleApp
{
public class Table
{
public void OutputMigrationCode(string tableName, IEnumerable<Column> columns)
{
var writer = Out;
writer.Write(@"namespace Cucu
... | using System;
using System.Collections.Generic;
using System.Linq;
using static System.Console;
namespace ConsoleApp
{
public class Table
{
private readonly string tableName;
private readonly IEnumerable<Column> columns;
public Table(string tableName, IEnumerable<Column> columns)
... | Move parameters from method to constructor | Move parameters from method to constructor
| C# | mit | TeamnetGroup/schema2fm |
9b05cbe24438574befe2dd0090b5a0ba173a916d | src/ResourceManager/Profile/Commands.Profile/Context/GetAzureRMContext.cs | src/ResourceManager/Profile/Commands.Profile/Context/GetAzureRMContext.cs | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | Fix issue where Get-AzureRmContext does not allow user to silently continue | Fix issue where Get-AzureRmContext does not allow user to silently continue
| C# | apache-2.0 | AzureAutomationTeam/azure-powershell,naveedaz/azure-powershell,ClogenyTechnologies/azure-powershell,hungmai-msft/azure-powershell,naveedaz/azure-powershell,ClogenyTechnologies/azure-powershell,krkhan/azure-powershell,atpham256/azure-powershell,devigned/azure-powershell,naveedaz/azure-powershell,atpham256/azure-powershe... |
696d0b8fb986959caac13535f6e475c8affec6c6 | Agiil.Bootstrap/Data/NHibernateModule.cs | Agiil.Bootstrap/Data/NHibernateModule.cs | using System;
using Agiil.Data;
using Agiil.Domain;
using Autofac;
using NHibernate;
using NHibernate.Cfg;
namespace Agiil.Bootstrap.Data
{
public class NHibernateModule : Module
{
protected override void Load(ContainerBuilder builder)
{
// Configuration
builder
.Register((ctx, paramet... | using System;
using Agiil.Data;
using Agiil.Domain;
using Autofac;
using NHibernate;
using NHibernate.Cfg;
namespace Agiil.Bootstrap.Data
{
public class NHibernateModule : Module
{
protected override void Load(ContainerBuilder builder)
{
builder
.Register(BuildNHibernateConfiguration)
... | Refactor NHibernate module for clarity | Refactor NHibernate module for clarity
| C# | mit | csf-dev/agiil,csf-dev/agiil,csf-dev/agiil,csf-dev/agiil |
513798f7e50053c0a8aff6b91c02cfa70f399410 | src/Core/Vipr/Properties/AssemblyInfo.cs | src/Core/Vipr/Properties/AssemblyInfo.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through t... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through t... | Add InternalsVisibleTo for T4 Tests | Add InternalsVisibleTo for T4 Tests
| C# | mit | MSOpenTech/Vipr,v-am/Vipr,Microsoft/Vipr |
c3fc1168d1cee9a5487ce625b749272600402bf1 | src/DeploymentCockpit.Data/UnitOfWork.cs | src/DeploymentCockpit.Data/UnitOfWork.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DeploymentCockpit.Data.Repositories;
using DeploymentCockpit.Interfaces;
using DeploymentCockpit.Models;
namespace DeploymentCockpit.Data
{
public class UnitOfWork : IUnitOfWork
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DeploymentCockpit.Data.Repositories;
using DeploymentCockpit.Interfaces;
using DeploymentCockpit.Models;
namespace DeploymentCockpit.Data
{
public class UnitOfWork : IUnitOfWork
{
... | Put declaration in right place | Put declaration in right place
| C# | apache-2.0 | anilmujagic/DeploymentCockpit,anilmujagic/DeploymentCockpit,anilmujagic/DeploymentCockpit |
1f25bfe14e10286d3022c3de1ff851036f0c20da | src/Cassette.Views/HtmlString.cs | src/Cassette.Views/HtmlString.cs | namespace Cassette.Views
{
#if NET35
public interface IHtmlString
{
string ToHtmlString();
}
public class HtmlString : IHtmlString
{
string _htmlString;
public HtmlString(string htmlString)
{
this._htmlString = htmlString;
}
public stri... | #if NET35
namespace Cassette.Views
{
public interface IHtmlString
{
string ToHtmlString();
}
public class HtmlString : IHtmlString
{
string _htmlString;
public HtmlString(string htmlString)
{
this._htmlString = htmlString;
}
public stri... | Move conditional compilation around namespace. | Move conditional compilation around namespace.
| C# | mit | damiensawyer/cassette,andrewdavey/cassette,honestegg/cassette,andrewdavey/cassette,honestegg/cassette,andrewdavey/cassette,damiensawyer/cassette,damiensawyer/cassette,honestegg/cassette,BluewireTechnologies/cassette,BluewireTechnologies/cassette |
aabdbdaeb6c53179f0c0549f60cfdec4080007ab | osu.Framework.Tests/Localisation/CultureInfoHelperTest.cs | osu.Framework.Tests/Localisation/CultureInfoHelperTest.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.Globalization;
using NUnit.Framework;
using osu.Framework.Localisation;
namespace osu.Framework.Tests.Localisation
{
[TestFixture]
public class Cult... | // 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.Globalization;
using NUnit.Framework;
using osu.Framework.Localisation;
namespace osu.Framework.Tests.Localisation
{
[TestFixture]
public class Cult... | Update tests with new behaviour | Update tests with new behaviour
| C# | mit | peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework |
a99f98bf1657ec43ef5ff244d8ef2998ee3cba00 | src/Media.Plugin.Abstractions/MediaPermissionException.cs | src/Media.Plugin.Abstractions/MediaPermissionException.cs | using System;
using System.Collections.Generic;
using System.Text;
using Plugin.Permissions.Abstractions;
namespace Plugin.Media.Abstractions
{
/// <summary>
/// Permission exception.
/// </summary>
public class MediaPermissionException : Exception
{
/// <summary>
/// Permission required that is missin... | using System;
using System.Collections.Generic;
using System.Text;
using Plugin.Permissions.Abstractions;
namespace Plugin.Media.Abstractions
{
/// <summary>
/// Permission exception.
/// </summary>
public class MediaPermissionException : Exception
{
/// <summary>
/// Permission required that is missin... | Update the exception to be more developer friendly | Update the exception to be more developer friendly
Before:
Plugin.Permissions.Abstractions.Permission[] permission(s) are required.
After:
Camera, Microphone, Photos permission(s) are required.
| C# | mit | jamesmontemagno/MediaPlugin,jamesmontemagno/MediaPlugin |
4eec1afd07eebedab12c19d2b4f038e1739d0923 | zipkin4net-aspnetcore/Criteo.Profiling.Tracing.Middleware/TracingHandler.cs | zipkin4net-aspnetcore/Criteo.Profiling.Tracing.Middleware/TracingHandler.cs | using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using Criteo.Profiling.Tracing.Transport;
namespace Criteo.Profiling.Tracing.Middleware
{
public class TracingHandler : DelegatingHandler
{
private readonly ITraceInjector<HttpHeaders> _injector;
private readonl... | using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using Criteo.Profiling.Tracing.Transport;
namespace Criteo.Profiling.Tracing.Middleware
{
public class TracingHandler : DelegatingHandler
{
private readonly ZipkinHttpTraceInjector _injector;
private readonly st... | Modify trace injector to http injector | Modify trace injector to http injector
| C# | apache-2.0 | criteo/zipkin4net,criteo/zipkin4net |
ade5805b083bf693bd6ea63a06ff0a94cdc62ede | LmpUpdater/Appveyor/AppveyorUpdateChecker.cs | LmpUpdater/Appveyor/AppveyorUpdateChecker.cs | using LmpGlobal;
using LmpUpdater.Appveyor.Contracts;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Net;
namespace LmpUpdater.Appveyor
{
public class AppveyorUpdateChecker
{
public static RootObject LatestBuild
{
get
{
try... | using LmpGlobal;
using LmpUpdater.Appveyor.Contracts;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Net;
namespace LmpUpdater.Appveyor
{
public class AppveyorUpdateChecker
{
public static RootObject LatestBuild
{
get
{
try... | Fix master server auto-update with /nightly flag | Fix master server auto-update with /nightly flag
| C# | mit | gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer |
fd3a26c25df88d1efc6c22172c6e12c03fd6557a | D3DMeshConverter/Form1.cs | D3DMeshConverter/Form1.cs | using System;
using System.IO;
using System.Windows.Forms;
namespace JPMeshConverter {
public partial class Form1 : Form {
private ModelFileDialog fileDialog;
public Form1() {
InitializeComponent();
fileDialog = new ModelFileDialog(System.AppDomain.CurrentDomain.BaseDirect... | using System;
using System.IO;
using System.Windows.Forms;
namespace JPMeshConverter {
public partial class Form1 : Form {
private ModelFileDialog fileDialog;
public Form1() {
InitializeComponent();
fileDialog = new ModelFileDialog(System.AppDomain.CurrentDomain.BaseDirect... | Write data to OBJ and MTL | Write data to OBJ and MTL
| C# | mit | Stefander/JPMeshConverter |
2e168ca512aae82446dee8db211b325bf8a8b56a | CSharp/MetadataWebApi/MetadataWebApi.Tests/IntegrationTests.cs | CSharp/MetadataWebApi/MetadataWebApi.Tests/IntegrationTests.cs | //-----------------------------------------------------------------------
// <copyright file="IntegrationTests.cs" company="Experian Data Quality">
// Copyright (c) Experian. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using System;
using System.Glo... | //-----------------------------------------------------------------------
// <copyright file="IntegrationTests.cs" company="Experian Data Quality">
// Copyright (c) Experian. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using System;
using System.Glo... | Refactor Program_Downloads_Data_Files() to determine dynamically whether it should be skipped. | Refactor Program_Downloads_Data_Files() to determine dynamically whether it should be skipped.
| C# | apache-2.0 | martincostello/electronicupdates,experiandataquality/electronicupdates,experiandataquality/electronicupdates,martincostello/electronicupdates,martincostello/electronicupdates,martincostello/electronicupdates,experiandataquality/electronicupdates,martincostello/electronicupdates,experiandataquality/electronicupdates,exp... |
10080a492aaafb5a3636fc8235eb6fc21a626e2b | src/Cash-Flow-Projection/Models/Balance.cs | src/Cash-Flow-Projection/Models/Balance.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Cash_Flow_Projection.Models
{
public static class Balance
{
public static Decimal CurrentBalance(this IEnumerable<Entry> entries, Account account = Account.Cash)
{
return GetLastBalanceEntry(entries, accou... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Cash_Flow_Projection.Models
{
public static class Balance
{
public static Decimal CurrentBalance(this IEnumerable<Entry> entries, Account account = Account.Cash)
{
return GetLastBalanceEntry(entries, accou... | Fix for balance null ref | Fix for balance null ref
| C# | mit | mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection |
eef0eaa1901c51c638e98865a15ccdfd62f53731 | Client/Systems/VesselPartModuleSyncSys/VesselPartModuleSyncMessageHandler.cs | Client/Systems/VesselPartModuleSyncSys/VesselPartModuleSyncMessageHandler.cs | using LunaClient.Base;
using LunaClient.Base.Interface;
using LunaClient.VesselUtilities;
using LunaCommon.Message.Data.Vessel;
using LunaCommon.Message.Interface;
using System.Collections.Concurrent;
namespace LunaClient.Systems.VesselPartModuleSyncSys
{
public class VesselPartModuleSyncMessageHandler : SubSyste... | using LunaClient.Base;
using LunaClient.Base.Interface;
using LunaClient.VesselUtilities;
using LunaCommon.Message.Data.Vessel;
using LunaCommon.Message.Interface;
using System.Collections.Concurrent;
namespace LunaClient.Systems.VesselPartModuleSyncSys
{
public class VesselPartModuleSyncMessageHandler : SubSyste... | Fix unity call in another thread | Fix unity call in another thread | C# | mit | gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer |
8495409d8d9637293d82dca6c46e3f8e7660882c | EDDiscovery/Controls/StatusStripCustom.cs | EDDiscovery/Controls/StatusStripCustom.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Windows.Forms;
namespace ExtendedControls
{
public class StatusStripCustom : StatusStrip
{
public const int WM_NCHITTEST = 0x84;
public const int WM_NCLBUTTONDOWN = 0xA1;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Windows.Forms;
namespace ExtendedControls
{
public class StatusStripCustom : StatusStrip
{
public const int WM_NCHITTEST = 0x84;
public const int WM_NCLBUTTONDOWN = 0xA1;
... | Work around faulty StatusStrip implementations | Work around faulty StatusStrip implementations
Some StatusStrip implementations apparently return HT_CLIENT
for the sizing grip where they should return HT_BOTTOMRIGHT.
| C# | apache-2.0 | jeoffman/EDDiscovery,jthorpe4/EDDiscovery,mwerle/EDDiscovery,jgoode/EDDiscovery,jeoffman/EDDiscovery,vendolis/EDDiscovery,jgoode/EDDiscovery,mwerle/EDDiscovery,vendolis/EDDiscovery |
04acbdc2dc980d18dae94aa214a521a3657f1f2a | src/FileCurator/Formats/RSS/Data/Utils.cs | src/FileCurator/Formats/RSS/Data/Utils.cs | /*
Copyright 2017 James Craig
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /*
Copyright 2017 James Craig
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | Fix for null values when stripping characters in feeds. | Fix for null values when stripping characters in feeds.
| C# | apache-2.0 | JaCraig/FileCurator,JaCraig/FileCurator |
11395c40b7e4586c7c3c1030bc7e36d9e51ac5d3 | osu.Game/Overlays/Settings/Sections/GeneralSection.cs | osu.Game/Overlays/Settings/Sections/GeneralSection.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;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Localisation;
using osu.Game.Localisation;
using osu.Game.Overlays.Settings.Secti... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Localisation;
using osu.Game.Localisation;
using ... | Add button to access first run setup on demand | Add button to access first run setup on demand
| C# | mit | peppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu |
83350b13049b51aeb235259dffb214e287af7612 | CertiPay.Payroll.Common/CalculationType.cs | CertiPay.Payroll.Common/CalculationType.cs | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace CertiPay.Payroll.Common
{
/// <summary>
/// Identifies the method to calculate the result
/// </summary>
public enum CalculationType : byte
{
/// <summary>
/// Deduction is taken as a percentag... | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace CertiPay.Payroll.Common
{
/// <summary>
/// Identifies the method to calculate the result
/// </summary>
public enum CalculationType : byte
{
/// <summary>
/// Deduction is taken as a percentag... | Add calc method for disposible income | Add calc method for disposible income
| C# | mit | mattgwagner/CertiPay.Payroll.Common |
93a1aeb3f8f155921dc8aa3514b7e8065fdfd797 | DrawShip.Viewer/Program.cs | DrawShip.Viewer/Program.cs | using System;
using System.Windows.Forms;
namespace DrawShip.Viewer
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
var applicationContext = new ApplicationContext();
var runMode = applicationContext.GetRunMode();... | using System;
using System.Net;
using System.Windows.Forms;
namespace DrawShip.Viewer
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
ServicePointManager.ServerCertificateValidationCallback = (sender, certificate, ch... | Support invalid certificates (e.g. if Fiddler is in use) and more security protocols (adds Tls1.1 and Tls1.2) | Support invalid certificates (e.g. if Fiddler is in use) and more security protocols (adds Tls1.1 and Tls1.2)
| C# | apache-2.0 | laingsimon/draw-ship,laingsimon/draw-ship |
d7ab964824edd4681dc5fddfdaf78fae592e8053 | Nodejs/Product/Npm/PackageComparer.cs | Nodejs/Product/Npm/PackageComparer.cs | //*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 License
//
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,... | //*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 License
//
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,... | Split out package equality comparer | Split out package equality comparer
| C# | apache-2.0 | lukedgr/nodejstools,AustinHull/nodejstools,paulvanbrenk/nodejstools,lukedgr/nodejstools,paladique/nodejstools,Microsoft/nodejstools,lukedgr/nodejstools,Microsoft/nodejstools,kant2002/nodejstools,paulvanbrenk/nodejstools,munyirik/nodejstools,avitalb/nodejstools,mousetraps/nodejstools,Microsoft/nodejstools,AustinHull/nod... |
ec5e571533fd466c3ea865c7d50fc182e19bd46b | Sketchball/GameComponents/SoundManager.cs | Sketchball/GameComponents/SoundManager.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Media;
using System.Text;
using System.Threading.Tasks;
namespace Sketchball.GameComponents
{
public class SoundManager
{
private SoundPlayer currentPlayer;
private DateTime lastPlay = new DateTime();
/// ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Media;
using System.Text;
using System.Threading.Tasks;
namespace Sketchball.GameComponents
{
public class SoundManager
{
private SoundPlayer currentPlayer;
private DateTime lastPlay = new DateTime();
/// ... | Fix soundmanager (forgot to record time) | Fix soundmanager (forgot to record time)
| C# | mit | EusthEnoptEron/Sketchball |
2c1a47552b7a69bd366d32f586a5a68393692623 | Rusty/Core/Common/Misc.cs | Rusty/Core/Common/Misc.cs | using System;
using System.Diagnostics;
namespace IronAHK.Rusty
{
partial class Core
{
#region Disk
static string[] Glob(string pattern)
{
return new string[] { };
}
#endregion
#region Process
static Process FindProcess(string name)
... | using System;
using System.Diagnostics;
namespace IronAHK.Rusty
{
partial class Core
{
#region Disk
static string[] Glob(string pattern)
{
return new string[] { };
}
#endregion
#region Process
static Process FindProcess(string name)
... | Remove trailing .exe in process name. | Remove trailing .exe in process name.
| C# | bsd-2-clause | michaltakac/IronAHK,yatsek/IronAHK,polyethene/IronAHK,michaltakac/IronAHK,michaltakac/IronAHK,michaltakac/IronAHK,polyethene/IronAHK,yatsek/IronAHK,polyethene/IronAHK,polyethene/IronAHK,michaltakac/IronAHK,yatsek/IronAHK,yatsek/IronAHK,yatsek/IronAHK |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.