commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
771c7ce73d9a805a9d2105c665147a768c38b726 | Use DownloadFlakyString with Coinbase | IWBWbiz/MultiMiner,nwoolls/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner | MultiMiner.Coinbase/ApiContext.cs | MultiMiner.Coinbase/ApiContext.cs | using MultiMiner.ExchangeApi;
using MultiMiner.ExchangeApi.Data;
using MultiMiner.Utility.Net;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace MultiMiner.Coinbase
{
public class ApiContext : IApiContext
{
public IEnumerable<ExchangeInformation> GetExchangeInformation()... | using MultiMiner.ExchangeApi;
using MultiMiner.ExchangeApi.Data;
using MultiMiner.Utility.Net;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Net;
namespace MultiMiner.Coinbase
{
public class ApiContext : IApiContext
{
public IEnumerable<ExchangeInformation> GetExc... | mit | C# |
f644376d528a95164ece3debe949e66e261b02cf | Remove suppress attribute | mminns/octokit.net,cH40z-Lord/octokit.net,Sarmad93/octokit.net,devkhan/octokit.net,ivandrofly/octokit.net,shiftkey-tester-org-blah-blah/octokit.net,rlugojr/octokit.net,SmithAndr/octokit.net,khellang/octokit.net,gdziadkiewicz/octokit.net,octokit-net-test-org/octokit.net,SLdragon1989/octokit.net,naveensrinivasan/octokit.... | Octokit/Models/Request/NewGist.cs | Octokit/Models/Request/NewGist.cs | using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
namespace Octokit
{
public class NewGist
{
public NewGist()
{
Files = new Dictionary<string, string>();
}
/// <summary>
/// The description of the gist.
/// </summary>
... | using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
namespace Octokit
{
public class NewGist
{
public NewGist()
{
Files = new Dictionary<string, string>();
}
/// <summary>
/// The description of the gist.
/// </summary>
... | mit | C# |
efd4ca654a0d9b2d43e81561ab3e19f5af45224f | Debug output adding | adamjez/CVaS,adamjez/CVaS,adamjez/CVaS | src/CVaS.Web/Controllers/AlgoController.cs | src/CVaS.Web/Controllers/AlgoController.cs | using Microsoft.AspNetCore.Mvc;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CVaS.BL.Repositories;
using CVaS.BL.Services.Process;
using CVaS.DAL.Model;
using CVaS.Web.Models;
using Microsoft.Extensions.FileProviders;
using Microsoft.Extensions.Lo... | using Microsoft.AspNetCore.Mvc;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CVaS.BL.Repositories;
using CVaS.BL.Services.Process;
using CVaS.DAL.Model;
using CVaS.Web.Models;
using Microsoft.Extensions.FileProviders;
using Microsoft.Extensions.Lo... | mit | C# |
f95e023e0d8a44255ea4650fb0ddc606ec1129f5 | Undo Windows Changed UI thread dispatcher #166 | AndreiMisiukevich/FFImageLoading,molinch/FFImageLoading,daniel-luberda/FFImageLoading,luberda-molinet/FFImageLoading | source/FFImageLoading.Windows/Helpers/MainThreadDispatcher.cs | source/FFImageLoading.Windows/Helpers/MainThreadDispatcher.cs | using System;
using System.Threading.Tasks;
using Windows.ApplicationModel.Core;
using Windows.UI.Core;
namespace FFImageLoading.Helpers
{
public class MainThreadDispatcher : IMainThreadDispatcher
{
static MainThreadDispatcher instance;
public static MainThreadDispatcher Instance
{
... | using System;
using System.Threading.Tasks;
using Windows.ApplicationModel.Core;
using Windows.UI.Core;
namespace FFImageLoading.Helpers
{
public class MainThreadDispatcher : IMainThreadDispatcher
{
static MainThreadDispatcher instance;
public static MainThreadDispatcher Instance
{
... | mit | C# |
3a161df910cfa7410dc19edd13e2daf09363277a | Fix test naming convention for NoError | LeandroMBarreto/MlIB.Reply,LeandroMBarreto/lib-Reply | source/MlIB.Reply.Tests.Unit/Features/static_Reply_NoError.cs | source/MlIB.Reply.Tests.Unit/Features/static_Reply_NoError.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MlIB.Reply.Tests.Unit.Features
{
[TestClass]
public class static_Reply_NoError
{
// UNIT UNDER TEST:
//public static Reply<T> NoError<T>(T value)
//I:value nullString
//O:has no error
//O:... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MlIB.Reply.Tests.Unit.Features
{
[TestClass]
public class static_Reply_NoError
{
// UNIT UNDER TEST:
//public static Reply<T> NoError<T>(T value)
//I:value nullString
//O:has no error
//O:... | mit | C# |
8888d1f701cc28e37a0d815611cba0cb722b66f4 | Update for KSP 1.4 | DMagic1/DMModuleScienceAnimateGeneric | Source/Properties/AssemblyInfo.cs | Source/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("DM... | 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("DM... | bsd-2-clause | C# |
026c4601330a594c9c368629254c27e750a5c68a | Add formatToSqlParams param to GetOrCreateUserQuery | ITCompaniet/ITCO-SBO-Addon-Framework | src/ITCO.SboAddon.Framework/Extensions/UserQueryExtensions.cs | src/ITCO.SboAddon.Framework/Extensions/UserQueryExtensions.cs |
using System.Linq;
using System.Text.RegularExpressions;
using ITCO.SboAddon.Framework.Helpers;
using SAPbobsCOM;
namespace ITCO.SboAddon.Framework.Extensions
{
public static class UserQueryExtensions
{
/// <summary>
/// Get or create User Query
/// </summary>
/// <param name=... |
using System.Linq;
using ITCO.SboAddon.Framework.Helpers;
using SAPbobsCOM;
namespace ITCO.SboAddon.Framework.Extensions
{
public static class UserQueryExtensions
{
public static string GetOrCreateUserQuery(this Company company, string userQueryName, string userQueryDefaultQuery)
{
... | mit | C# |
f07be8a89a055602ab193bb4c77391b9af850b7c | Fix Orchestration tests | quartz-software/kephas,quartz-software/kephas | src/Tests/Kephas.Orchestration.Tests/OrchestrationTestBase.cs | src/Tests/Kephas.Orchestration.Tests/OrchestrationTestBase.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="OrchestrationTestBase.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the ... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="OrchestrationTestBase.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the ... | mit | C# |
cbe6936e9f207874d269e9023aa14555a4228de3 | Update version | lukakama/rimworld-mod-real-fow | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// Le informazioni generali relative a un assembly sono controllate dal seguente
// set di attributi. Modificare i valori di questi attributi per modificare le informazioni
// associate a un assembly.
[assembly: AssemblyTitle("RimWorldRealFoWMod")]
[asse... | using System.Reflection;
using System.Runtime.InteropServices;
// Le informazioni generali relative a un assembly sono controllate dal seguente
// set di attributi. Modificare i valori di questi attributi per modificare le informazioni
// associate a un assembly.
[assembly: AssemblyTitle("RimWorldRealFoWMod")]
[asse... | apache-2.0 | C# |
040bac28fec8a2af635a1b3f303072d8f5fd982f | Update KSP version to 1.1.2 | agufranov/ksp-advanced-flybywire,agufranov/ksp-advanced-flybywire | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | mit | C# |
1e927dc0a7ab022bc6ecbd53134d2b2c738b6ba5 | update date | Microsoft/vscode-mono-debug,Microsoft/vscode-mono-debug | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | /*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------... | /*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------... | mit | C# |
cc0ecae67705ae7a3c80e442426a8e7ef32c41dc | Fix Silverlight build error | MindTouch/NServiceKit,nataren/NServiceKit,ZocDoc/ServiceStack,timba/NServiceKit,timba/NServiceKit,MindTouch/NServiceKit,NServiceKit/NServiceKit,timba/NServiceKit,MindTouch/NServiceKit,ZocDoc/ServiceStack,timba/NServiceKit,NServiceKit/NServiceKit,MindTouch/NServiceKit,NServiceKit/NServiceKit,ZocDoc/ServiceStack,nataren/... | src/ServiceStack.Common/Utils/FuncUtils.cs | src/ServiceStack.Common/Utils/FuncUtils.cs | using System;
using ServiceStack.Logging;
namespace ServiceStack.Common.Utils
{
public static class FuncUtils
{
private static readonly ILog Log = LogManager.GetLogger(typeof(FuncUtils));
/// <summary>
/// Invokes the action provided and returns true if no excpetion was thrown.
... | using System;
using ServiceStack.Logging;
namespace ServiceStack.Common.Utils
{
public static class FuncUtils
{
private static readonly ILog Log = LogManager.GetLogger(typeof(FuncUtils));
/// <summary>
/// Invokes the action provided and returns true if no excpetion was thrown.
... | bsd-3-clause | C# |
500e16f3a57d28b3e387425de8e14bf72b02488a | Update SolutionProjectExtractorTests.cs | ParticularLabs/SetStartupProjects | src/Tests/SolutionProjectExtractorTests.cs | src/Tests/SolutionProjectExtractorTests.cs | using SetStartupProjects;
using VerifyXunit;
using Xunit;
[UsesVerify]
public class SolutionProjectExtractorTests
{
[Fact]
public Task GetAllProjectFiles()
{
var allProjectFiles = SolutionProjectExtractor.GetAllProjectFiles("SampleSolution.txt");
return Verify(allProjectFiles);
}
} | using SetStartupProjects;
using VerifyXunit;
using Xunit;
[UsesVerify]
public class SolutionProjectExtractorTests
{
[Fact]
public Task GetAllProjectFiles()
{
var allProjectFiles = SolutionProjectExtractor.GetAllProjectFiles("SampleSolution.txt");
return Verifier.Verify(allProjectFiles);
... | mit | C# |
7052fb7d67fab67fd4a804e3b655eec934612ff9 | Remove extra loadImage callback until we discuss it | Excel-DNA/Samples | Ribbon/RibbonController.cs | Ribbon/RibbonController.cs | using System.Runtime.InteropServices;
using System.Windows.Forms;
using ExcelDna.Integration.CustomUI;
namespace Ribbon
{
[ComVisible(true)]
public class RibbonController : ExcelRibbon
{
public override string GetCustomUI(string RibbonID)
{
return @"
<customUI xmlns='http... | using System.Runtime.InteropServices;
using System.Windows.Forms;
using ExcelDna.Integration.CustomUI;
namespace Ribbon
{
[ComVisible(true)]
public class RibbonController : ExcelRibbon
{
public override string GetCustomUI(string RibbonID)
{
return @"
<customUI xmlns='http... | mit | C# |
b87ca9c0b1a8fe57d8aacaf06052988b3cba42d3 | Remove substatus field from test since SHIPPO_TRANIST DOES NOT CONTAIN SUBSTATUS | goshippo/shippo-csharp-client | ShippoTesting/TrackTest.cs | ShippoTesting/TrackTest.cs | using NUnit.Framework;
using System;
using System.Collections;
using Shippo;
namespace ShippoTesting
{
[TestFixture]
public class TrackTest : ShippoTest
{
private static readonly String TRACKING_NO = "SHIPPO_TRANSIT";
private static readonly String CARRIER = "shippo";
[Test]
... | using NUnit.Framework;
using System;
using System.Collections;
using Shippo;
namespace ShippoTesting
{
[TestFixture]
public class TrackTest : ShippoTest
{
private static readonly String TRACKING_NO = "SHIPPO_TRANSIT";
private static readonly String CARRIER = "shippo";
[Test]
... | apache-2.0 | C# |
8e7e6a4bec2f6b9284293d21f72ded8aeb3d31b8 | Make explicit DLR lookups | RonnChyran/snowflake,SnowflakePowered/snowflake,SnowflakePowered/snowflake,faint32/snowflake-1,faint32/snowflake-1,SnowflakePowered/snowflake,faint32/snowflake-1,RonnChyran/snowflake,RonnChyran/snowflake | Snowflake/Game/GameInfo.cs | Snowflake/Game/GameInfo.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Snowflake.Information.MediaStore;
using Snowflake.Information;
using Snowflake.Utility;
namespace Snowflake.Game
{
public class GameInfo : Info, IGameInfo
{
public string UUID { ge... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Snowflake.Information.MediaStore;
using Snowflake.Information;
using Snowflake.Utility;
namespace Snowflake.Game
{
public class GameInfo : Info, IGameInfo
{
public string UUID { ge... | mpl-2.0 | C# |
c28b1cfd75f5184a89a019350619ac55333beabb | Throw error on Insert/Remove IGluon while ticking/updating | tainicom/Aether | Source/Core/GluonPlasma.cs | Source/Core/GluonPlasma.cs | #region License
// Copyright 2015 Kastellanos Nikolaos
//
// 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 requi... | #region License
// Copyright 2015 Kastellanos Nikolaos
//
// 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 requi... | apache-2.0 | C# |
931dfb600f0feb943dc68d090840bcf22c8d89ae | increment patch version, | jwChung/Experimentalism,jwChung/Experimentalism | build/CommonAssemblyInfo.cs | build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | mit | C# |
10c4e54e72427e39cbdd919b3bf8ed1e46bb2caa | Add proper repo | Frozenfire92/UnityScripts | Scripts/TimeColor.cs | Scripts/TimeColor.cs | /* TimeColor.cs
*
* Author: Joel Kuntz - github.com/Frozenfire92/UnityScripts
* Started: December 19 2014
* Updated: December 20 2014
* License: Public Domain
*
* Attach this script to a Unity 4.6 UI/Text object.
* It will update the text with the time and hex value
* afterwards it updates the main cameras ... | /* TimeColor.cs
*
* Author: Joel Kuntz - github.com/Frozenfire92
* Started: December 19 2014
* Updated: December 20 2014
* License: Public Domain
*
* Attach this script to a Unity 4.6 UI/Text object.
* It will update the text with the time and hex value
* afterwards it updates the main cameras background co... | unlicense | C# |
96f782e75a65e61f6f54c8bf225cf3ffe8b5b816 | fix object reference issue maybe? | smoogipoo/osu,peppy/osu,peppy/osu,Frontear/osuKyzer,NeoAdonis/osu,peppy/osu-new,ZLima12/osu,EVAST9919/osu,smoogipooo/osu,NeoAdonis/osu,naoey/osu,UselessToucan/osu,peppy/osu,johnneijzen/osu,naoey/osu,smoogipoo/osu,EVAST9919/osu,ppy/osu,UselessToucan/osu,DrabWeb/osu,UselessToucan/osu,smoogipoo/osu,naoey/osu,DrabWeb/osu,2... | osu.Game/Overlays/BeatmapSet/HeaderButton.cs | osu.Game/Overlays/BeatmapSet/HeaderButton.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Game.Graphics;
using osu.Game.Graphics.User... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Game.Graphics;
using osu.Game.Graphics.User... | mit | C# |
b2e99cd52e23506eda60e8b644c149876eda0f46 | Fix unit test | stwalkerster/eyeinthesky,stwalkerster/eyeinthesky,stwalkerster/eyeinthesky | EyeInTheSky/Services/ConfigFactoryBase.cs | EyeInTheSky/Services/ConfigFactoryBase.cs | namespace EyeInTheSky.Services
{
using System;
using System.Globalization;
using System.Xml;
using Castle.Core.Logging;
public abstract class ConfigFactoryBase
{
public ConfigFactoryBase(ILogger logger)
{
this.Logger = logger;
}
protected ILogger Log... | namespace EyeInTheSky.Services
{
using System;
using System.Globalization;
using System.Xml;
using Castle.Core.Logging;
public abstract class ConfigFactoryBase
{
public ConfigFactoryBase(ILogger logger)
{
this.Logger = logger;
}
protected ILogger Log... | mit | C# |
4d92eebac43843a2cab257074f4afa8777ce8ce4 | Add Azure File Storage code | A51UK/File-Repository | File-Repository/Azure/AzureFileStorage.cs | File-Repository/Azure/AzureFileStorage.cs | /*
* Copyright 2017 Criag Lee Mark Adams
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 agree... | /*
* Copyright 2017 Criag Lee Mark Adams
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 agree... | apache-2.0 | C# |
5781b45b3903393570025c567a7071446b08f9f5 | Set TimeRate after mod application | smoogipooo/osu,DrabWeb/osu,UselessToucan/osu,johnneijzen/osu,Drezi126/osu,ppy/osu,UselessToucan/osu,EVAST9919/osu,NeoAdonis/osu,ZLima12/osu,DrabWeb/osu,ZLima12/osu,ppy/osu,Nabile-Rahmani/osu,NeoAdonis/osu,naoey/osu,DrabWeb/osu,peppy/osu,naoey/osu,EVAST9919/osu,johnneijzen/osu,smoogipoo/osu,naoey/osu,2yangk23/osu,Useles... | osu.Game/Beatmaps/DifficultyCalculator.cs | osu.Game/Beatmaps/DifficultyCalculator.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Rulesets.Objects;
using System.Collections.Generic;
using osu.Game.Rulesets.Mods;
using osu.Framework.Timing;
using System.Linq;
using osu.Framew... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Rulesets.Objects;
using System.Collections.Generic;
using osu.Game.Rulesets.Mods;
using osu.Framework.Timing;
using System.Linq;
using osu.Framew... | mit | C# |
13018bd92059d19452c654982bb35b994722ef26 | Update NativeShareTest.cs | yasirkula/UnityNativeShare | NativeShareDemo/Assets/NativeShareTest.cs | NativeShareDemo/Assets/NativeShareTest.cs | using System.Collections;
using System.IO;
using UnityEngine;
public class NativeShareTest : MonoBehaviour
{
void Update()
{
transform.Rotate( 0, 90 * Time.deltaTime, 0 );
if( Input.GetMouseButtonDown( 0 ) )
StartCoroutine( TakeSSAndShare() );
}
private IEnumerator TakeSSAndShare()
{
yi... | using System.Collections;
using System.IO;
using UnityEngine;
public class NativeShareTest : MonoBehaviour
{
void Update()
{
transform.Rotate( 0, 90 * Time.deltaTime, 0 );
if( Input.GetMouseButtonDown( 0 ) )
StartCoroutine( TakeSSAndShare() );
}
private IEnumerator TakeSSAndShare()
{
yi... | mit | C# |
de70260b292de04d1bf936418ee9eb71f254124f | Remove trailing newline. | jagrem/msg | Msg.Core.Specs/Transport/Connections/Tcp/TcpConnectionSpecs.cs | Msg.Core.Specs/Transport/Connections/Tcp/TcpConnectionSpecs.cs | using NUnit.Framework;
using System.Threading.Tasks;
using Msg.Core.Transport.Connections.Tcp;
using FluentAssertions;
namespace Msg.Core.Specs.Transport.Connections.Tcp
{
[TestFixture]
public class TcpConnectionSpecs
{
[Test]
public async Task Given_a_Tcp_server_When_sending_bytes_Then_th... | using NUnit.Framework;
using System.Threading.Tasks;
using Msg.Core.Transport.Connections.Tcp;
using FluentAssertions;
namespace Msg.Core.Specs.Transport.Connections.Tcp
{
[TestFixture]
public class TcpConnectionSpecs
{
[Test]
public async Task Given_a_Tcp_server_When_sending_bytes_Then_th... | apache-2.0 | C# |
5670d1882dcd0abfa37fd9f4fe72f0b370718f75 | fix assembly info | paymill/paymill-net,paymill/paymill-net | PaymillWrapper/Properties/AssemblyInfo.cs | PaymillWrapper/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// La información general sobre un ensamblado se controla mediante el siguiente
// conjunto de atributos. Cambie estos atributos para modificar la información
// asociada con un ensamblado.
[assembly: AssemblyTitle(... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// La información general sobre un ensamblado se controla mediante el siguiente
// conjunto de atributos. Cambie estos atributos para modificar la información
// asociada con un ensamblado.
[assembly: AssemblyTitle(... | mit | C# |
105eb6883255abba44d38e2a782b4dabe3741f6c | Update GrabDesktop.cs | UnityCommunity/UnityLibrary | Scripts/Helpers/Screenshot/GrabDesktop.cs | Scripts/Helpers/Screenshot/GrabDesktop.cs | using UnityEngine;
using System.Collections;
using System.Drawing;
using Screen = System.Windows.Forms.Screen;
using Application = UnityEngine.Application;
using System.Drawing.Imaging;
// Drag windows desktop image using System.Drawing.dll
// guide on using System.Drawing.dll in unity : http://answers.unity3d.com/ans... | using UnityEngine;
using System.Collections;
using System.Drawing;
using Screen = System.Windows.Forms.Screen;
using Application = UnityEngine.Application;
using System.Drawing.Imaging;
// Drag windows desktop image using System.Drawing.dll
// guide on using System.Drawing.dll in unity : http://answers.unity3d.com/ans... | mit | C# |
e16ad05054860a33ae3b45e69e57462e2d0ff04c | Test Refactor, consolidate Evaluate Add tests | ajlopez/ClojSharp | Src/ClojSharp.Core.Tests/EvaluateTests.cs | Src/ClojSharp.Core.Tests/EvaluateTests.cs | namespace ClojSharp.Core.Tests
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ClojSharp.Core.Compiler;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class EvaluateTests
{
private Machine mac... | namespace ClojSharp.Core.Tests
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ClojSharp.Core.Compiler;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class EvaluateTests
{
private Machine mac... | mit | C# |
70f328725804391b79ed34bd25c38be9774c4106 | Add test for cipher | aloisdg/algo | Algo/CaesarCipher/Program.cs | Algo/CaesarCipher/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CaesarCipher
{
class Program
{
static void Main(string[] args)
{
string str = "je t'aime";
str = CaesarCipher.Encrypt(str, 6);
Conso... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CaesarCipher
{
class Program
{
static void Main(string[] args)
{
string str = "je t'aime";
str = CaesarCipher.Encrypt(str, 6);
Conso... | bsd-3-clause | C# |
886aa87099ffe762ab692a54e18cf81f3b4c270e | Reset live tokens value when it can not be saved | Piotrekol/StreamCompanion,Piotrekol/StreamCompanion | plugins/OsuMemoryEventSource/LiveToken.cs | plugins/OsuMemoryEventSource/LiveToken.cs | using System;
using System.Diagnostics;
using StreamCompanionTypes.DataTypes;
using StreamCompanionTypes.Enums;
namespace OsuMemoryEventSource
{
public class LiveToken
{
public IToken Token { get; set; }
public Func<object> Updater;
public bool IsLazy { get; set; }
protected Laz... | using System;
using System.Diagnostics;
using StreamCompanionTypes.DataTypes;
using StreamCompanionTypes.Enums;
namespace OsuMemoryEventSource
{
public class LiveToken
{
public IToken Token { get; set; }
public Func<object> Updater;
public bool IsLazy { get; set; }
protected Laz... | mit | C# |
6290d676b5d7f71dfaa7485d5310e6285e512256 | Update CarroController.cs | cayodonatti/TopGearApi | TopGearApi/Controllers/CarroController.cs | TopGearApi/Controllers/CarroController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using TopGearApi.DataAccess;
using TopGearApi.Domain.Models;
using TopGearApi.Models;
namespace TopGearApi.Controllers
{
public class CarroController : TController<Carro>
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using TopGearApi.DataAccess;
using TopGearApi.Domain.Models;
using TopGearApi.Models;
namespace TopGearApi.Controllers
{
public class CarroController : TController<Carro>
{
... | mit | C# |
e2f32efeccb739a0281c6d8f12d67a3f6658d5e5 | Update BackgroundWorker.cs | oskardudycz/EventSourcing.NetCore | Core/BackgroundWorkers/BackgroundWorker.cs | Core/BackgroundWorkers/BackgroundWorker.cs | using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace Core.BackgroundWorkers;
public class BackgroundWorker: BackgroundService
{
private readonly ILogger<BackgroundWorker> logger;
private readonly Func<CancellationToken, Task> perform;
public BackgroundWorker(
ILogger... | using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace Core.BackgroundWorkers;
public class BackgroundWorker: BackgroundService
{
private readonly ILogger<BackgroundWorker> logger;
private readonly Func<CancellationToken, Task> perform;
public BackgroundWorker(
ILogger... | mit | C# |
e32316ca8586d9d0e3c734b523d877d7ec1ef5f9 | Enable overriding of settings via command line arguments in the formats: /SettingName=value /SettingName:value | chucknorris/dropkick,chucknorris/dropkick,chucknorris/dropkick,chucknorris/dropkick | product/dropkick/Settings/SettingsParser.cs | product/dropkick/Settings/SettingsParser.cs | // Copyright 2007-2010 The Apache Software Foundation.
//
// 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 req... | // Copyright 2007-2010 The Apache Software Foundation.
//
// 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 req... | apache-2.0 | C# |
cfa1dfa1a4daef0e8a0f992a275e184768859176 | Split out into own method | NeoAdonis/osu,peppy/osu,UselessToucan/osu,smoogipooo/osu,EVAST9919/osu,johnneijzen/osu,NeoAdonis/osu,UselessToucan/osu,johnneijzen/osu,smoogipoo/osu,EVAST9919/osu,smoogipoo/osu,2yangk23/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,peppy/osu,2yangk23/osu,UselessToucan/osu,peppy/osu,ppy/osu,peppy/osu-new,ppy/osu | osu.Game.Rulesets.Mania/Skinning/ManiaLegacySkinTransformer.cs | osu.Game.Rulesets.Mania/Skinning/ManiaLegacySkinTransformer.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.Textures;
using osu.Framework.Audio.Sample;
using osu.Framework.Bindables;
using osu.Game.Rulesets.Scoring;
usi... | // 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.Textures;
using osu.Framework.Audio.Sample;
using osu.Framework.Bindables;
using osu.Game.Rulesets.Scoring;
usi... | mit | C# |
84621605351408293034e112b85140ff52651d4f | Fix Linux build to compile the new Palette class | BloomBooks/BloomDesktop,gmartin7/myBloomFork,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,gmartin7/myBloomFork,StephenMcConnel/... | src/BloomExe/Palette.cs | src/BloomExe/Palette.cs | using System.Drawing;
namespace Bloom
{
class Palette
{
public static Color LightTextAgainstDarkBackground = Color.WhiteSmoke;
public static Color SILInternationalBlue = Color.FromArgb(0,101,163);//NB: the "official" RGB is 0,91,163, but all samples are close to this one I'm using.
public static Color DarkTex... | using System.Drawing;
namespace Bloom
{
class Palette
{
public static Color LightTextAgainstDarkBackground = Color.WhiteSmoke;
public static Color SILInternationalBlue = Color.FromArgb(0,101,163);//NB: the "official" RGB is 0,91,163, but all samples are close to this one I'm using.
public static Color DarkTe... | mit | C# |
7f344444bd3a88e992f3dbc287fadae5b1e28479 | Add Thumbnail property | fmassaretto/formacao-talentos,fmassaretto/formacao-talentos,fmassaretto/formacao-talentos | Fatec.Treinamento.Model/Video.cs | Fatec.Treinamento.Model/Video.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Fatec.Treinamento.Model
{
public class Video
{
public int Id { get; set; }
public string Nome { get; set; }
public int Duracao { get; set; }
public str... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Fatec.Treinamento.Model
{
public class Video
{
public int Id { get; set; }
public string Nome { get; set; }
public int Duracao { get; set; }
public str... | apache-2.0 | C# |
24ba6673715564a5ced414e01c9bb1ea8c6fc4a3 | fix DropoutLayer | cbovar/ConvNetSharp | src/ConvNetSharp.Core/Layers/DropoutLayer.cs | src/ConvNetSharp.Core/Layers/DropoutLayer.cs | using System;
using ConvNetSharp.Volume;
namespace ConvNetSharp.Core.Layers
{
public class DropoutLayer<T> : LayerBase<T> where T : struct, IEquatable<T>, IFormattable
{
public T DropProbability { get; set; }
public override void Backward(Volume<T> outputGradient)
{
this.O... | using System;
using ConvNetSharp.Volume;
namespace ConvNetSharp.Core.Layers
{
public class DropoutLayer<T> : LayerBase<T> where T : struct, IEquatable<T>, IFormattable
{
public T DropProbability { get; set; }
public override void Backward(Volume<T> outputGradient)
{
this.O... | mit | C# |
b8bbbe2d558af7066040db365eac37a9fc97a853 | Update ArkAccountTop.cs | kristjank/ark-net,sharkdev-j/ark-net | ark-net/Model/Account/ArkAccountTop.cs | ark-net/Model/Account/ArkAccountTop.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ArkAccountTop.cs" company="Ark">
// MIT License
// //
// // Copyright (c) 2017 Kristjan Košič
// //
// // Permission is hereby granted, free of charge, to any pe... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ArkAccountTop.cs" company="Ark Labs">
// MIT License
// //
// // Copyright (c) 2017 Kristjan Košič
// //
// // Permission is hereby granted, free of charge, to a... | mit | C# |
4bf42066b48de46cb01b27053336604e3194a559 | allow private props | prime31/Nez,prime31/Nez,ericmbernier/Nez,Blucky87/Nez,eumario/Nez,prime31/Nez | Nez-PCL/Utils/ReflectionUtils.cs | Nez-PCL/Utils/ReflectionUtils.cs | using System;
using System.Reflection;
namespace Nez
{
/// <summary>
/// helper class to fetch property delegates
/// </summary>
class ReflectionUtils
{
/// <summary>
/// either returns a super fast Delegate to set the given property or null if it couldn't be found
/// via reflection
/// </summary>
pu... | using System;
namespace Nez
{
/// <summary>
/// helper class to fetch property delegates
/// </summary>
class ReflectionUtils
{
/// <summary>
/// either returns a super fast Delegate to set the given property or null if it couldn't be found
/// via reflection
/// </summary>
public static T setterForPr... | mit | C# |
49efb797f5322b4a32e67c36d7e14facf4910bd0 | Bump 0.21.0 | lstefano71/Nowin,Bobris/Nowin,Bobris/Nowin,Bobris/Nowin,lstefano71/Nowin,lstefano71/Nowin | Nowin/Properties/AssemblyInfo.cs | Nowin/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("Nowin")]
[assembly: AssemblyDescription("... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Nowin")]
[assembly: AssemblyDescription("... | mit | C# |
b019f4e53d3850d6d5f82ac9c37ff2bfbae3092f | Remove unused constants. | ravimeda/cli,Faizan2304/cli,livarcocc/cli-1,EdwardBlair/cli,johnbeisner/cli,Faizan2304/cli,blackdwarf/cli,livarcocc/cli-1,Faizan2304/cli,dasMulli/cli,livarcocc/cli-1,svick/cli,EdwardBlair/cli,johnbeisner/cli,blackdwarf/cli,dasMulli/cli,blackdwarf/cli,harshjain2/cli,EdwardBlair/cli,ravimeda/cli,harshjain2/cli,ravimeda/c... | src/Microsoft.DotNet.Cli.Utils/Constants.cs | src/Microsoft.DotNet.Cli.Utils/Constants.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 Microsoft.DotNet.PlatformAbstractions;
namespace Microsoft.DotNet.Cli.Utils
{
public static class Constants
{
private sta... | // 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 Microsoft.DotNet.PlatformAbstractions;
namespace Microsoft.DotNet.Cli.Utils
{
public static class Constants
{
private sta... | mit | C# |
06dfa68323cea0006cd2df9f80d4814ecab4798f | check if URI is valid in ArticleImage | ceee/ReadSharp,alexeib/ReadSharp | ReadSharp/Models/ArticleImage.cs | ReadSharp/Models/ArticleImage.cs | using System;
namespace ReadSharp
{
/// <summary>
/// Article image
/// </summary>
public class ArticleImage
{
/// <summary>
/// Gets or sets the identifier.
/// </summary>
/// <value>
/// The identifier.
/// </value>
public string ID { get; set; }
/// <summary>
/// Gets... | using System;
namespace ReadSharp
{
/// <summary>
/// Article image
/// </summary>
public class ArticleImage
{
/// <summary>
/// Gets or sets the identifier.
/// </summary>
/// <value>
/// The identifier.
/// </value>
public string ID { get; set; }
/// <summary>
/// Gets... | mit | C# |
a346fef3b7c1f4101742a8b251f6ee0422387604 | use a queue instead | AzureAD/microsoft-authentication-library-for-dotnet,yamamoWorks/azure-activedirectory-library-for-dotnet,AzureAD/azure-activedirectory-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,bjartebore/azure-activedirectory-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/mi... | src/ADAL.PCL/HttpMessageHandlerFactory.cs | src/ADAL.PCL/HttpMessageHandlerFactory.cs | //------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated do... | //------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated do... | mit | C# |
27f4dc9a39ff6ec733ec215f4a3abbd8e210168b | Put performance test into separate method in console. | kangkot/ArangoDB-NET,yojimbo87/ArangoDB-NET | src/Arango/Arango.ConsoleTests/Program.cs | src/Arango/Arango.ConsoleTests/Program.cs | using System;
using System.Collections.Generic;
using Arango.Client;
using Arango.fastJSON;
namespace Arango.ConsoleTests
{
class Program
{
public static void Main(string[] args)
{
//PerformanceTests();
Console.Write("Press any key to continue ... | using System;
using System.Collections.Generic;
using Arango.Client;
using Arango.fastJSON;
namespace Arango.ConsoleTests
{
class Program
{
public static void Main(string[] args)
{
var performance = new Performance();
//performance.TestSimpleSe... | mit | C# |
5e08400bff4635e05dced57f86b66e0539cde964 | Add XML comments to TraceLogAttribute | YevgeniyShunevych/Atata,YevgeniyShunevych/Atata,atata-framework/atata,atata-framework/atata | src/Atata/Attributes/TraceLogAttribute.cs | src/Atata/Attributes/TraceLogAttribute.cs | using System;
namespace Atata
{
/// <summary>
/// Indicates that component log messages should be written with <see cref="LogLevel.Trace"/> log level instead of <see cref="LogLevel.Info"/>.
/// Attribute is useful for sub-controls of complex controls to keep info log cleaner by skipping sub-control ... | using System;
namespace Atata
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Property)]
public class TraceLogAttribute : Attribute
{
}
}
| apache-2.0 | C# |
4506b7f3c71751b979af49f208476e42e74baabe | Add Equality checks to TopicAndPartitionValue | HCanber/kafkaclient-net | src/KafkaClient/TopicAndPartitionValue.cs | src/KafkaClient/TopicAndPartitionValue.cs | using System;
using System.Collections.Generic;
using Kafka.Client.Api;
namespace Kafka.Client
{
public class TopicAndPartitionValue<T> : IEquatable<TopicAndPartitionValue<T>>
{
private readonly TopicAndPartition _topicAndPartition;
private readonly T _value;
public TopicAndPartitionValue(TopicAnd... | using Kafka.Client.Api;
namespace Kafka.Client
{
public class TopicAndPartitionValue<T>
{
private readonly TopicAndPartition _topicAndPartition;
private readonly T _value;
public TopicAndPartitionValue(TopicAndPartition topicAndPartition, T value)
{
_topicAndPartition = topicAndPartition;
... | mit | C# |
49f24852c4b668a1dc076d79176e300d08e1389e | Fix for coverage | Kralizek/Nybus,Nybus-project/Nybus | src/Nybus/Utils/MessageDescriptorStore.cs | src/Nybus/Utils/MessageDescriptorStore.cs | using System;
using System.Collections.Generic;
using System.Reflection;
namespace Nybus.Utils
{
public class MessageDescriptorStore : IMessageDescriptorStore
{
private readonly IDictionary<Type, MessageDescriptor> _descriptorsByType = new Dictionary<Type, MessageDescriptor>();
private readonl... | using System;
using System.Collections.Generic;
using System.Reflection;
namespace Nybus.Utils
{
public class MessageDescriptorStore : IMessageDescriptorStore
{
private readonly IDictionary<Type, MessageDescriptor> _descriptorsByType = new Dictionary<Type, MessageDescriptor>();
private readonl... | mit | C# |
5b0e8831f6f68bc316d941fd5bb027b6f3914716 | Handle invalid public keys in the SignatureEvidence class | openchain/openchain | src/Openchain.Ledger/SignatureEvidence.cs | src/Openchain.Ledger/SignatureEvidence.cs | // Copyright 2015 Coinprism, Inc.
//
// 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 agree... | // Copyright 2015 Coinprism, Inc.
//
// 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 agree... | apache-2.0 | C# |
600e8ed184ed4a62ede085c621349c188c6bc5f4 | remove bio text | sitereactor/Umbraco-Lunch-App,sitereactor/Umbraco-Lunch-App | Chainbox.FoodApp.Web/Views/Partials/RegisterPartial.cshtml | Chainbox.FoodApp.Web/Views/Partials/RegisterPartial.cshtml | @using Chainbox.FoodApp.Controllers
@model Chainbox.FoodApp.ViewModels.RegisterModel
@using (Html.BeginUmbracoForm<RegisterController>("Register"))
{
@Html.AntiForgeryToken()
@Html.ValidationSummary(true)
<fieldset>
<legend>RegisterModel</legend>
<div class="editor-label">
@H... | @using Chainbox.FoodApp.Controllers
@model Chainbox.FoodApp.ViewModels.RegisterModel
@using (Html.BeginUmbracoForm<RegisterController>("Register"))
{
@Html.AntiForgeryToken()
@Html.ValidationSummary(true)
<fieldset>
<legend>RegisterModel</legend>
<div class="editor-label">
@H... | mit | C# |
eecae24d8ca2d6e959fa7a8f11038c8cda151419 | Update RenameNamedRange.cs | aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-... | Examples/CSharp/Data/AddOn/NamedRanges/RenameNamedRange.cs | Examples/CSharp/Data/AddOn/NamedRanges/RenameNamedRange.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Data.AddOn.NamedRanges
{
public class RenameNamedRange
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Data.AddOn.NamedRanges
{
public class RenameNamedRange
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.... | mit | C# |
de8c7b4e54655e911a1de4dfbd9297c244876490 | Refactor Pinger to give 1000ms timeout. | frozenskys/Helpers | Frozenskys.Helpers/Pinger.cs | Frozenskys.Helpers/Pinger.cs | namespace Frozenskys.Helpers
{
using System.Net;
using System.Net.Sockets;
public class Pinger
{
public string Send(IPAddress address)
{
var status = "";
using (var client = new TcpClient())
{
if (!client.ConnectAsync(address, 443).Wa... | namespace Frozenskys.Helpers
{
using System.Net;
using System.Net.Sockets;
public class Pinger
{
public string Send(IPAddress address)
{
using (var sckt = new TcpClient())
{
try
{
sckt.Connect(address, 443);
... | mit | C# |
ec7c64a05f7cf542511b6534dd991200e208e089 | Add client function | pgh7092/TessOCRMFC,pgh7092/TessOCRMFC | Form1.cs | Form1.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
using System.Net.Sockets;
namespace TessOCR
{
public partial class Fo... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TessOCR
{
public partial class Form1 : Form
{
public Form1()
... | mit | C# |
4135fa340c7ae7623d84a66b5cd7466ced675c76 | Fix console project. | haefele/YnabApi,haefele/Ynab | src/Console/Program.cs | src/Console/Program.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ynab;
using Ynab.Desktop;
using Ynab.DeviceActions;
using Ynab.Dropbox;
using Ynab.Items;
namespace Console
{
class Program
{
public static void Main(stri... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ynab;
using Ynab.Desktop;
using Ynab.DeviceActions;
using Ynab.Dropbox;
using Ynab.Items;
namespace Console
{
class Program
{
public static void Main(stri... | mit | C# |
6c50b7790204ce88653c2341839a8ff09147360c | fix array definiton | overtools/OWLib,kerzyte/OWLib | OWLib/Types/STUD/Subtitle.cs | OWLib/Types/STUD/Subtitle.cs | using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
namespace OWLib.Types.STUD {
[System.Diagnostics.DebuggerDisplay(OWLib.STUD.STUD_DEBUG_STR)]
public class Subtitle : ISTUDInstance {
// Subtitle is instance 1 (remember that we're programmers here) in 071 files.
... | using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
namespace OWLib.Types.STUD {
[System.Diagnostics.DebuggerDisplay(OWLib.STUD.STUD_DEBUG_STR)]
public class Subtitle : ISTUDInstance {
// Subtitle is instance 1 (remember that we're programmers here) in 071 files.
... | mit | C# |
975e88077ce6134883311e6e595a358bbc0c74f2 | test page object fix | Softlr/selenium-webdriver-extensions,RaYell/selenium-webdriver-extensions,Softlr/Selenium.WebDriver.Extensions,Softlr/selenium-webdriver-extensions | test/Selenium.WebDriver.Extensions.IntegrationTests/TestPage.cs | test/Selenium.WebDriver.Extensions.IntegrationTests/TestPage.cs | namespace Selenium.WebDriver.Extensions.IntegrationTests
{
using System;
using System.Diagnostics.CodeAnalysis;
using JetBrains.Annotations;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;
using static Suppress.Category;
using static Suppress.CodeCracker;
[PublicAPI]
... | namespace Selenium.WebDriver.Extensions.IntegrationTests
{
using System.Diagnostics.CodeAnalysis;
using JetBrains.Annotations;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;
[PublicAPI]
[ExcludeFromCodeCoverage]
internal class TestPage
{
private IWebDriver _dr... | apache-2.0 | C# |
cbdd7cd0a0fe01b2b4f8bfeaad6a9d25bd2a9306 | Fix "rate app" button in the about page. | ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus | windows/Source/Main.WindowsRuntime/Services/AppRatingService.cs | windows/Source/Main.WindowsRuntime/Services/AppRatingService.cs | // Copyright (c) PocketCampus.Org 2014-15
// See LICENSE file for more details
// File author: Solal Pirelli
using System;
using Windows.System;
namespace PocketCampus.Main.Services
{
public sealed class AppRatingService : IAppRatingService
{
private const string AppId = "28f8300e-8a84-4e3... | // Copyright (c) PocketCampus.Org 2014-15
// See LICENSE file for more details
// File author: Solal Pirelli
using System;
using Windows.ApplicationModel;
using Windows.System;
namespace PocketCampus.Main.Services
{
public sealed class AppRatingService : IAppRatingService
{
public async v... | bsd-3-clause | C# |
fb69fdb506d5e8701f08fae42751a18ab5c8b56c | Test applies to MsSQLServer 2005/2008 | ngbrown/nhibernate-core,RogerKratz/nhibernate-core,ManufacturingIntelligence/nhibernate-core,fredericDelaporte/nhibernate-core,RogerKratz/nhibernate-core,nkreipke/nhibernate-core,gliljas/nhibernate-core,fredericDelaporte/nhibernate-core,ngbrown/nhibernate-core,alobakov/nhibernate-core,nhibernate/nhibernate-core,hazzik/... | src/NHibernate.Test/NHSpecificTest/NH645/HQLFunctionFixture.cs | src/NHibernate.Test/NHSpecificTest/NH645/HQLFunctionFixture.cs | using System;
using System.Collections;
using NHibernate.Cfg;
using NHibernate.Dialect;
using NHibernate.Dialect.Function;
using NUnit.Framework;
using Environment=NHibernate.Cfg.Environment;
namespace NHibernate.Test.NHSpecificTest.NH645
{
[TestFixture]
public class HQLFunctionFixture : TestCase
{
p... | using System;
using System.Collections;
using NHibernate.Cfg;
using NHibernate.Dialect;
using NHibernate.Dialect.Function;
using NUnit.Framework;
using Environment=NHibernate.Cfg.Environment;
namespace NHibernate.Test.NHSpecificTest.NH645
{
[TestFixture]
public class HQLFunctionFixture : TestCase
{
p... | lgpl-2.1 | C# |
c5edf3ba2913f8c127d7963361d0885e25cd9610 | Modify ValuesController | gparlakov/chat-teamwork,gparlakov/chat-teamwork | WS-Team-Work/Chat.Services/Controllers/ValuesController.cs | WS-Team-Work/Chat.Services/Controllers/ValuesController.cs | using Chat.Models;
using Chat.Repository;
using Chat.Services.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace Chat.Services.Controllers
{
public class ValuesController : ApiController
{
p... | using Chat.Models;
using Chat.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace Chat.Services.Controllers
{
public class ValuesController : ApiController
{
private MessageRepository mess... | mit | C# |
9be1db4f7df99f0b976ad8d991a2c417eec41be4 | Update ContextTests.cs | Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D | tests/Core2D.UnitTests/Data/ContextTests.cs | tests/Core2D.UnitTests/Data/ContextTests.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Core2D.Data;
using Xunit;
namespace Core2D.UnitTests
{
public class ContextTests
{
[Fact]
[Trait("Core2D.Data", "Database")]
... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Core2D.Data;
using Xunit;
namespace Core2D.UnitTests
{
public class ContextTests
{
[Fact]
[Trait("Core2D.Data", "Database")]
... | mit | C# |
974ed711ecbc4b1300f9aab58b52253450691055 | Fix timing problem with SettingProtectionHelper | hatton/libpalaso,marksvc/libpalaso,marksvc/libpalaso,hatton/libpalaso,gmartin7/libpalaso,sillsdev/libpalaso,gtryus/libpalaso,ddaspit/libpalaso,glasseyes/libpalaso,mccarthyrb/libpalaso,darcywong00/libpalaso,JohnThomson/libpalaso,andrew-polk/libpalaso,tombogle/libpalaso,gmartin7/libpalaso,sillsdev/libpalaso,chrisvire/lib... | PalasoUIWindowsForms/SettingProtection/SettingsLauncherHelper.cs | PalasoUIWindowsForms/SettingProtection/SettingsLauncherHelper.cs | using System;
using System.ComponentModel;
using System.Windows.Forms;
namespace Palaso.UI.WindowsForms.SettingProtection
{
/// <summary>
/// This class takes an Settings-launching control & adds the behaviors needed to conform to the standard SIL "Rice Farmer" settings protection behavior.
/// If you use the stan... | using System;
using System.ComponentModel;
using System.Windows.Forms;
namespace Palaso.UI.WindowsForms.SettingProtection
{
/// <summary>
/// This class takes an Settings-launching control & adds the behaviors needed to conform to the standard SIL "Rice Farmer" settings protection behavior.
/// If you use the stan... | mit | C# |
41f0b3bac08392ca3b2a9360e435618791a898c5 | fix comments in program class. | c0c0n3/winice | nice/Program.cs | nice/Program.cs | using System;
namespace nice
{
/// <summary>
/// Simple (or better, simplistic) program that mimics Unix's <c>nice</c>.
/// </summary>
class Program
{
ArgumentsParser Parser { get; set; }
Program(string[] args)
{
Parser = new ArgumentsParser(args);
}
... | using System;
namespace nice
{
/// <summary>
/// Simple (or better, simplistic) program to mimic Unix's <c>nice</c>.
/// </summary>
/// <remarks>
/// TODO
/// NB only supports two ways:
/// 1. nice -n v cmd ...
/// 2. nice
///
/// </remarks>
class Program
... | mit | C# |
584bcd8b0040e18bcdcd1cb067cd31d944209c3e | Update TypeExtension.cs | NMSLanX/Natasha | src/Natasha/ExtensionApi/TypeExtension.cs | src/Natasha/ExtensionApi/TypeExtension.cs | using System;
using System.Collections.Generic;
namespace Natasha
{
public static class TypeExtension
{
public static bool IsSimpleType(this Type type)
{
return type.IsValueType || type == typeof(string) || type == typeof(Delegate) || type == typeof(MulticastDelegate);
}
... | using System;
using System.Collections.Generic;
namespace Natasha
{
public static class TypeExtension
{
public static bool IsImplementFrom(this Type type,Type iType)
{
HashSet<Type> types = new HashSet<Type>(type.GetInterfaces());
return types.Contains(iType);
}... | mpl-2.0 | C# |
5040d136173960e7a1744885d44613f440b498a4 | Update version | AdtecSoftware/Adtec.SagePayMvc,JeremySkinner/SagePayMvc,cergis-robert/SagePayMvc,IntegratedArts/SagePayMvc,AdtecSoftware/SagePayMvc | src/SagePayMvc/Properties/AssemblyInfo.cs | src/SagePayMvc/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | apache-2.0 | C# |
e423c93a16309129228bdc94d0c9680f2a8eec38 | Fix HelpController for isolated intranet solutions (#7163) | hfloyd/Umbraco-CMS,tcmorris/Umbraco-CMS,mattbrailsford/Umbraco-CMS,abjerner/Umbraco-CMS,robertjf/Umbraco-CMS,madsoulswe/Umbraco-CMS,robertjf/Umbraco-CMS,abryukhov/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,NikRimington/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,leekelleher/Umbraco-CMS,NikRimington/Umbraco-CMS,marcemarc/U... | src/Umbraco.Web/Editors/HelpController.cs | src/Umbraco.Web/Editors/HelpController.cs | using Newtonsoft.Json;
using System.Collections.Generic;
using System.Net.Http;
using System.Runtime.Serialization;
using System.Threading.Tasks;
namespace Umbraco.Web.Editors
{
public class HelpController : UmbracoAuthorizedJsonController
{
private static HttpClient _httpClient;
public async ... | using Newtonsoft.Json;
using System.Collections.Generic;
using System.Net.Http;
using System.Runtime.Serialization;
using System.Threading.Tasks;
namespace Umbraco.Web.Editors
{
public class HelpController : UmbracoAuthorizedJsonController
{
private static HttpClient _httpClient;
public async ... | mit | C# |
ccd2887a1ce0ac73b3f843c9244d7d23695d50ca | Update CalendarService.cs | marska/wundercal | src/Wundercal/Services/CalendarService.cs | src/Wundercal/Services/CalendarService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using DDay.iCal;
using Wundercal.Services.Dto;
namespace Wundercal.Services
{
internal class CalendarService : ICalendarService
{
private readonly IICalendar _calendar;
internal CalendarService(Uri uri)
{
Console.WriteLine("Load... | using System;
using System.Collections.Generic;
using System.Linq;
using DDay.iCal;
using Wundercal.Services.Dto;
namespace Wundercal.Services
{
internal class CalendarService : ICalendarService
{
private readonly IICalendar _calendar;
internal CalendarService(Uri uri)
{
Console.WriteLine("Load... | apache-2.0 | C# |
a6fc1280943dea4a38f1942b7234b65d31726238 | Fix WaveOverlayContainer always being present | DrabWeb/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,2yangk23/osu,UselessToucan/osu,ZLima12/osu,smoogipooo/osu,johnneijzen/osu,DrabWeb/osu,2yangk23/osu,naoey/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,naoey/osu,johnneijzen/osu,EVAST9919/osu,peppy/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,EVAST9919/osu,nao... | osu.Game/Overlays/WaveOverlayContainer.cs | osu.Game/Overlays/WaveOverlayContainer.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics;
using osu.Game.Graphics.Containers;
namespace osu.Game.Overlays
{
public abstract class Wave... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics;
using osu.Game.Graphics.Containers;
namespace osu.Game.Overlays
{
public abstract class Wave... | mit | C# |
2fdda154f3f6683828e3a332c32a390835fef8c9 | Use momentjs rather than toLocaleString for better browser support | ritterim/AspNetBrowserLocale,kendaleiv/AspNetBrowserLocale | src/Core/HtmlHelpers.cs | src/Core/HtmlHelpers.cs | using System;
using System.Web.Mvc;
namespace AspNetBrowserLocale.Core
{
public static class HtmlHelpers
{
private const string NullValueDisplay = "—";
public static MvcHtmlString InitializeLocaleDateTime(this HtmlHelper htmlHelper)
{
return MvcHtmlString.Create(stri... | using System;
using System.Web.Mvc;
namespace AspNetBrowserLocale.Core
{
public static class HtmlHelpers
{
private const string NullValueDisplay = "—";
public static MvcHtmlString InitializeLocaleDateTime(this HtmlHelper htmlHelper)
{
return MvcHtmlString.Create(stri... | mit | C# |
febd4c5bfdfb808e5ce0d801f539aadf1fede9d4 | Change text | richlander/test-repo | foo/Views/Home/Index.cshtml | foo/Views/Home/Index.cshtml | @using MvcSample.Web.Models
@model User
@{
Layout = "/Views/Shared/_Layout.cshtml";
ViewBag.Title = "Home Page";
string helloClass = null;
}
<div class="jumbotron">
<h1>ASP.NET</h1>
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS an... | @using MvcSample.Web.Models
@model User
@{
Layout = "/Views/Shared/_Layout.cshtml";
ViewBag.Title = "Home Page";
string helloClass = null;
}
<div class="jumbotron">
<h1>ASP.NET</h1>
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS an... | mit | C# |
4e79cf1e546f4db1613ef0725615e2970c26fc11 | Update the explosion to appear exactly from the center of the asteroid | krasiymihajlov/CSharp_Game_Shooter | AsteroidsGame/AsteroidsGame/AsteroidsForm.cs | AsteroidsGame/AsteroidsGame/AsteroidsForm.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Media;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace AsteroidsGame
{
public partial class AsteroidsForm : Form
{
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Media;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace AsteroidsGame
{
public partial class AsteroidsForm : Form
{
... | mit | C# |
a838942c23a7f289d8fbe9e38eb2f2e1b3818c04 | Make the SUTA edit text form bigger | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/SUTA/Edit.cshtml | Battery-Commander.Web/Views/SUTA/Edit.cshtml | @model BatteryCommander.Web.Commands.UpdateSUTARequest
@using (Html.BeginForm("Edit", "SUTA", new { Model.Id }, FormMethod.Post, true, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
@Html.ValidationSummary()
<div class="form-group form-group-lg">
@Html.Disp... | @model BatteryCommander.Web.Commands.UpdateSUTARequest
@using (Html.BeginForm("Edit", "SUTA", new { Model.Id }, FormMethod.Post, true, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
@Html.ValidationSummary()
<div class="form-group form-group-lg">
@Html.Disp... | mit | C# |
9f7a798adcf1217d4f14b268997c2e70b3c65b56 | Add missing setters in the DTO | Gatecoin/api-gatecoin-dotnet,Gatecoin/API_client_csharp,Gatecoin/api-gatecoin-dotnet | Model/Currency.cs | Model/Currency.cs | using ServiceStack.ServiceInterface.ServiceModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GatecoinServiceInterface.Model;
namespace GatecoinServiceInterface.Model{
[Serializable]
public class Currency
{
public System.String Code {get; s... | using ServiceStack.ServiceInterface.ServiceModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GatecoinServiceInterface.Model;
namespace GatecoinServiceInterface.Model{
[Serializable]
public class Currency
{
public System.String Code {get; s... | mit | C# |
c7162532f488c557c3725cdd61b6a7ab719dd1ee | use API version as a document name (swagger) | dzimchuk/book-fast-service-fabric,dzimchuk/book-fast-service-fabric,dzimchuk/book-fast-service-fabric | Common/BookFast.Swagger/SwaggerExtensions.cs | Common/BookFast.Swagger/SwaggerExtensions.cs | using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.PlatformAbstractions;
using System.IO;
namespace BookFast.Swagger
{
public static class SwaggerExtensions
{
public static void AddSwashbuckle(this IServiceCollection services, string title, st... | using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.PlatformAbstractions;
using System.IO;
namespace BookFast.Swagger
{
public static class SwaggerExtensions
{
public static void AddSwashbuckle(this IServiceCollection services, string title, st... | mit | C# |
061169e78864f978a4e22115db491341b9be3648 | Fix assignment statement in update service example | teoreteetik/api-snippets,teoreteetik/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snip... | ip-messaging/rest/services/update-service/update-service.4.x.cs | ip-messaging/rest/services/update-service/update-service.4.x.cs | // Download the twilio-csharp library from twilio.com/docs/csharp/install
using System;
using Twilio;
class Example {
static void Main (string[] args) {
// Find your Account Sid and Auth Token at twilio.com/user/account
const string accountSid = "accountSid";
const string authToken = "authT... | // Download the twilio-csharp library from twilio.com/docs/csharp/install
using System;
using Twilio;
class Example {
static void Main (string[] args) {
// Find your Account Sid and Auth Token at twilio.com/user/account
const string accountSid = "accountSid";
const string authToken = "authT... | mit | C# |
b8251f66ea80f36f23e2c4c803c1b456b01a1191 | Update with more efficient lookup and C# tuples | mre/the-coding-interview,mre/the-coding-interview,mre/the-coding-interview,mre/the-coding-interview,mre/the-coding-interview,mre/the-coding-interview,mre/the-coding-interview,mre/the-coding-interview,mre/the-coding-interview,mre/the-coding-interview,mre/the-coding-interview,mre/the-coding-interview,mre/the-coding-inter... | problems/array-pair-sum/array_pair_sum.cs | problems/array-pair-sum/array_pair_sum.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World! 12091029");
ArrayPairSum(10, new int[] { 3, 4, 5, 6, 7 }); // [[4, 6], [3, 7]]
Consol... | using System;
using System.Collections.Generic;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World! 12091029");
ArrayPairSum(10, new int[] { 3, 4, 5, 6, 7 }); // [[6, 4], [7, 3]]
Console.WriteLine();
... | mit | C# |
fb298a2e3c292f7262ad1ff9536dcc6dc8a0b457 | Update GraphicsResource.cs | ericmbernier/Nez,prime31/Nez,eumario/Nez,prime31/Nez,prime31/Nez,Blucky87/Nez | Nez-PCL/Graphics/Batcher/GraphicsResource.cs | Nez-PCL/Graphics/Batcher/GraphicsResource.cs | using System;
using System.Diagnostics;
using Microsoft.Xna.Framework.Graphics;
using System.Reflection;
namespace Nez
{
/// <summary>
/// this class exists only so that we can sneak the Batcher through and have it work just like SpriteBatch with regard to resource handling.
/// </summary>
public abstract class G... | using System;
using System.Diagnostics;
using Microsoft.Xna.Framework.Graphics;
using System.Reflection;
namespace Nez
{
/// <summary>
/// this class exists only so that we can sneak the Bather through and have it work just like SpriteBatch with regard to resource handling.
/// </summary>
public abstract class Gr... | mit | C# |
0aefe648c083c48c2c95c58fa015720d7df10771 | Add tag for Scene logs; Code alignment; | KonH/UDBase | Components/Log/LogTags.cs | Components/Log/LogTags.cs | using UnityEngine;
using System.Collections;
namespace UDBase.Components.Log {
public class LogTags {
public const int Common = 1;
public const int UI = 2;
public const int Scene = 3;
string[] _names = new string[]{"Common", "UI", "Scene"};
public virtual string GetName(int index) {
switch( index... | using UnityEngine;
using System.Collections;
namespace UDBase.Components.Log {
public class LogTags {
public const int Common = 1;
public const int UI = 2;
string[] _names = new string[]{"Common", "UI"};
public virtual string GetName(int index) {
switch( index ) {
case Common: {
return "Co... | mit | C# |
ea26192f7a1257dc36465c621fc7aff38e286ed8 | Update GetUpdateVersion.cs | afroraydude/First_Unity_Game,afroraydude/First_Unity_Game,afroraydude/First_Unity_Game | Real_Game/Assets/Scripts/GetUpdateVersion.cs | Real_Game/Assets/Scripts/GetUpdateVersion.cs | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class GetUpdateVersion : MonoBehaviour {
public WWW update;
public Button updateButton;
public Text updateButtonText;
public string updateURL;
public float version;
public string gotVersionText;
public float gotVersion;
// Use this fo... | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class GetUpdateVersion : MonoBehaviour {
public WWW update;
public Button updateButton;
public Text updateButtonText;
public string updateURL;
public float version;
public string gotVersionText;
public float gotVersion;
// Use this fo... | mit | C# |
4fc0ec40cf89d079f52a56e4158cf8a580c3d154 | Update KnownNetwork.cs | EricZimmerman/RegistryPlugins | RegistryPlugin.KnownNetworks/KnownNetwork.cs | RegistryPlugin.KnownNetworks/KnownNetwork.cs | using System;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.KnownNetworks
{
public class KnownNetwork:IValueOut
{
public enum NameTypes
{
Wireless = 71,
Wired = 6,
WWAN = 23,
Unknown = 0
}
public KnownNetwork(stri... | using System;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.KnownNetworks
{
public class KnownNetwork:IValueOut
{
public enum NameTypes
{
Wireless = 71,
Wired = 6,
WWAN = 23,
Unknown = 0
}
public KnownNetwork(stri... | mit | C# |
1ab7879785a20b51db43c671d6250f614dbcdeef | Fix of LocalChecker sometimes loopback could be already part of dictionary throwing exception on duplicate add. | pysco68/Nowin,et1975/Nowin,modulexcite/Nowin,lstefano71/Nowin,lstefano71/Nowin,pysco68/Nowin,Bobris/Nowin,et1975/Nowin,pysco68/Nowin,modulexcite/Nowin,modulexcite/Nowin,et1975/Nowin,Bobris/Nowin,Bobris/Nowin,lstefano71/Nowin | Nowin/IpIsLocalChecker.cs | Nowin/IpIsLocalChecker.cs | using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
namespace Nowin
{
public class IpIsLocalChecker : IIpIsLocalChecker
{
readonly Dictionary<IPAddress, bool> _dict;
public IpIsLocalChecker()
{
var host = Dns.GetHostEntry(Dns.Get... | using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
namespace Nowin
{
public class IpIsLocalChecker : IIpIsLocalChecker
{
readonly Dictionary<IPAddress, bool> _dict;
public IpIsLocalChecker()
{
var host = Dns.GetHostEntry(Dns.Get... | mit | C# |
781fc4a2bc7696e69ee611d09063ca58b7c6bec5 | Create Asset Menu | UTC-SkillsUSA-2015/SkillsUSA-2015 | Assets/Scripts/AttackData.cs | Assets/Scripts/AttackData.cs | using UnityEngine;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
[CreateAssetMenu(fileName = "Attack Data", menuName = "Attack Data")]
public class AttackData : ScriptableObject {
// Note: Values of the AttackData are separated into fields and their property
//... | using UnityEngine;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class AttackData : ScriptableObject {
// Note: Values of the AttackData are separated into fields and their property
// encapsulations. Fields are accessed by the designers through Inspector... | apache-2.0 | C# |
a6e72cfcb4ed0f84191ef460b80052adf490b1ee | Fix issue #9 | gentlecat/unipong | Assets/BallMovement.cs | Assets/BallMovement.cs | using UnityEngine;
public class BallMovement :MonoBehaviour
{
public Vector2 Direction;
public GameObject Camera;
// Players
public GameObject PlayerLeft;
public GameObject PlayerRight;
// Score
public GameObject ScoreLeft;
public GameObject ScoreRight;
// Borders
public float BorderLeft = -1... | using UnityEngine;
public class BallMovement :MonoBehaviour
{
public Vector2 Direction;
public GameObject Camera;
// Players
public GameObject PlayerLeft;
public GameObject PlayerRight;
// Score
public GameObject ScoreLeft;
public GameObject ScoreRight;
// Borders
public float BorderLeft = -1... | mit | C# |
3340e57ff6f602b11d8cded3bb8bc26276302962 | Correct press/release behavior when dragging pointer in and out of the object | zeh/unity-tidbits | objects/SimpleButton.cs | objects/SimpleButton.cs | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SimpleButton:MonoBehaviour {
/*
A button with simple actions; syntax sugar
*/
// Properties
private bool _isPointerOver;
private bool _isPressed;
// =====================================================... | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SimpleButton:MonoBehaviour {
/*
A button with simple actions; syntax sugar
*/
// Properties
private bool _isPointerOver;
private bool _isPressed;
// =====================================================... | mit | C# |
3b983d1e685d6842933cb8b2f3d1f27c9acb71fa | select method should alwas set the flag to select | sqlkata/querybuilder | QueryBuilder/Query.Select.cs | QueryBuilder/Query.Select.cs | using System;
namespace SqlKata
{
public partial class Query
{
public Query Select(params string[] columns)
{
Method = "select";
foreach (var column in columns)
{
Add("select", new Column
{
Name = column
... | using System;
namespace SqlKata
{
public partial class Query
{
public Query Select(params string[] columns)
{
foreach (var column in columns)
{
Add("select", new Column
{
Name = column
});
}... | mit | C# |
11c48cc697687ae6f529534938448d140625d8c1 | Fix offset bug | mstrother/BmpListener | src/BmpListener/Bmp/PeerUpNotification.cs | src/BmpListener/Bmp/PeerUpNotification.cs | using System;
using System.Net;
using BmpListener.Bgp;
using System.Linq;
using BmpListener.MiscUtil.Conversion;
namespace BmpListener.Bmp
{
public class PeerUpNotification : BmpMessage
{
public IPAddress LocalAddress { get; private set; }
public int LocalPort { get; private set; }
pub... | using System;
using System.Net;
using BmpListener.Bgp;
using System.Linq;
using BmpListener.MiscUtil.Conversion;
namespace BmpListener.Bmp
{
public class PeerUpNotification : BmpMessage
{
public IPAddress LocalAddress { get; private set; }
public int LocalPort { get; private set; }
pub... | mit | C# |
7b62fb48bcbb2b739ca8459e5b71f813470e3f1e | Fix feed for @LeomarisReyes | planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin | src/Firehose.Web/Authors/LeomarisReyes.cs | src/Firehose.Web/Authors/LeomarisReyes.cs | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class LeomarisReyes : IAmACommunityMember
{
public string FirstName => "Leomaris";
public string LastName => "Reyes";
public string ShortBioOrTagLine =... | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class LeomarisReyes : IAmACommunityMember
{
public string FirstName => "Leomaris";
public string LastName => "Reyes";
public string ShortBioOrTagLine =... | mit | C# |
0991a9255f81cb15d23d7001a3b8f10846151c53 | Remove empty lines... | mbrenn/datenmeister-new,mbrenn/datenmeister-new,mbrenn/datenmeister-new,mbrenn/datenmeister-new,mbrenn/datenmeister-new | src/Web/DatenMeister.WebServer/Startup.cs | src/Web/DatenMeister.WebServer/Startup.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace DatenMeister.W... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace DatenMeister.W... | mit | C# |
dd86edc964a9859debd654b1bdb90f693fdd5dee | Change logger type for NLog error messages to be based on exception if possible | DarthFubuMVC/FubuMVC.Loggers,DarthFubuMVC/FubuMVC.Loggers | src/FubuMVC.NLog/NLogListener.cs | src/FubuMVC.NLog/NLogListener.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using FubuCore;
using FubuCore.Descriptions;
using FubuCore.Logging;
using FubuCore.Util;
using NLog;
using Logger = NLog.Logger;
namespace FubuMVC.NLog
{
public class NLogListener : ILogListener
{
private readonly... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using FubuCore;
using FubuCore.Descriptions;
using FubuCore.Logging;
using FubuCore.Util;
using NLog;
using Logger = NLog.Logger;
namespace FubuMVC.NLog
{
public class NLogListener : ILogListener
{
private readonly... | apache-2.0 | C# |
68965c9b27966b99f888df3dbd4ed3dd9958bca4 | Update index.cshtml | aidka011/apmathcloudaida | site/index.cshtml | site/index.cshtml | @{
var txt = Request.QueryString["txtstring"];
}
<html>
<body>
<p>The dateTime is @txt</p>
</body>
</html>
| @{
var txt = Request.Params["txtstring"];
}
<html>
<body>
<p>The dateTime is @txt</p>
</body>
</html>
| mit | C# |
da5dba62021f2c6ff34680c1c0af612cdcfc0865 | Replace size request with preferred height / width | PintaProject/Pinta,PintaProject/Pinta,PintaProject/Pinta | Pinta.Gui.Widgets/Widgets/FilledAreaBin.cs | Pinta.Gui.Widgets/Widgets/FilledAreaBin.cs | //
// FilledAreaBin.cs
//
// Author:
// Jonathan Pobst <monkey@jpobst.com>
//
// Copyright (c) 2015 Jonathan Pobst
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without re... | //
// FilledAreaBin.cs
//
// Author:
// Jonathan Pobst <monkey@jpobst.com>
//
// Copyright (c) 2015 Jonathan Pobst
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without re... | mit | C# |
b933827336b5232a86075553f1110468c2f25014 | fix extra bytes on public key address | ArsenShnurkov/BitSharp | BitSharp.Wallet/Address/Top10000Address.cs | BitSharp.Wallet/Address/Top10000Address.cs | using BitSharp.Common;
using BitSharp.Core.Domain;
using BitSharp.Core.Script;
using BitSharp.Wallet.Base58;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace BitSharp.Wallet.Ad... | using BitSharp.Common;
using BitSharp.Core.Domain;
using BitSharp.Core.Script;
using BitSharp.Wallet.Base58;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace BitSharp.Wallet.Ad... | unlicense | C# |
79169cc59c559e3b66c99560409a283d2c8814bd | Fix `PropertySetter` query object types | alastairs/BobTheBuilder | BobTheBuilder/Activation/PropertySetter.cs | BobTheBuilder/Activation/PropertySetter.cs | using BobTheBuilder.ArgumentStore.Queries;
using System;
namespace BobTheBuilder.Activation
{
internal class PropertySetter
{
private IArgumentStoreQuery propertyValuesQuery;
public PropertySetter(IArgumentStoreQuery propertyValuesQuery)
{
if (propertyValuesQuery == null)
... | using BobTheBuilder.ArgumentStore.Queries;
using System;
namespace BobTheBuilder.Activation
{
internal class PropertySetter
{
private PropertyValuesQuery propertyValuesQuery;
public PropertySetter(PropertyValuesQuery propertyValuesQuery)
{
if (propertyValuesQuery == null)
... | apache-2.0 | C# |
437f3bb0207105d25609eac5e22ced579606dc4e | Fix version number | mono/tao,mono/tao,OpenRA/tao,OpenRA/tao | Framework/Projects/Tao.Sdl/AssemblyInfo.cs | Framework/Projects/Tao.Sdl/AssemblyInfo.cs | #region License
/*
MIT License
Copyright 2003-2005 Tao Framework Team
http://www.taoframework.com
All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includin... | #region License
/*
MIT License
Copyright 2003-2005 Tao Framework Team
http://www.taoframework.com
All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includin... | mit | C# |
0d15bb776645c8b5182da08a9a1d68258bae0c5c | Add warmup attribute to test runner factory | Hammerstad/Moya | Moya.Runner/Factories/TestRunnerFactory.cs | Moya.Runner/Factories/TestRunnerFactory.cs | namespace Moya.Runner.Factories
{
using System;
using System.Collections.Generic;
using Attributes;
using Exceptions;
using Extensions;
using Moya.Utility;
using Runners;
public class TestRunnerFactory : ITestRunnerFactory
{
private readonly IDictionary<Type, Type> attribut... | namespace Moya.Runner.Factories
{
using System;
using System.Collections.Generic;
using Attributes;
using Exceptions;
using Extensions;
using Moya.Utility;
using Runners;
public class TestRunnerFactory : ITestRunnerFactory
{
private readonly IDictionary<Type, Type> attribut... | mit | C# |
2f32c4d4d1d4edb62a167746e7203d481773edff | Fix title of match song select | johnneijzen/osu,NeoAdonis/osu,DrabWeb/osu,peppy/osu,smoogipoo/osu,peppy/osu,ppy/osu,UselessToucan/osu,EVAST9919/osu,ZLima12/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,2yangk23/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,DrabWeb/osu,2yangk23/osu,EVAST9919/osu,UselessToucan/osu,DrabWeb/osu,UselessToucan/osu,ZLima12/osu... | osu.Game/Screens/Select/MatchSongSelect.cs | osu.Game/Screens/Select/MatchSongSelect.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using Humanizer;
using osu.Game.Online.Multiplayer;
using osu.Game.Screens.Multi;
namespace osu.Game.Screens.Select
{
public class MatchSongSelect : ... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Game.Online.Multiplayer;
using osu.Game.Screens.Multi;
namespace osu.Game.Screens.Select
{
public class MatchSongSelect : SongSelect, IMult... | mit | C# |
72c4ff8e591e84a3f249be9c4d06408609eeb3a4 | use bottom in sample | MarcBruins/TTGSnackbar-Xamarin-iOS | Sample/TTGSnackbarSample/ViewController.cs | Sample/TTGSnackbarSample/ViewController.cs | using System;
using System.Threading.Tasks;
using TTGSnackBar;
using UIKit;
namespace TTGSnackbarSample
{
public partial class ViewController : UIViewController
{
protected ViewController(IntPtr handle) : base(handle)
{
// Note: this .ctor should not contain any initialization logi... | using System;
using System.Threading.Tasks;
using TTGSnackBar;
using UIKit;
namespace TTGSnackbarSample
{
public partial class ViewController : UIViewController
{
protected ViewController(IntPtr handle) : base(handle)
{
// Note: this .ctor should not contain any initialization logi... | mit | C# |
f721bd243a53a2309bb555e99e5daa8a2ed253e3 | Add Console.WriteLine for currentNewEnergy | kw90/SantasSledge | Santa/MetaHeuristics/SimulatedAnnealing.cs | Santa/MetaHeuristics/SimulatedAnnealing.cs | using System;
using System.Collections.Generic;
using Common;
using FirstSolution.Algos;
namespace MetaHeuristics
{
public class SimulatedAnnealing : ISolver
{
double _temperature;
Random random = new Random();
double _coolingRate;
public SimulatedAnnealing(double temperature, double coolingRate)
{
th... | using System;
using System.Collections.Generic;
using Common;
using FirstSolution.Algos;
namespace MetaHeuristics
{
public class SimulatedAnnealing : ISolver
{
double _temperature;
Random random = new Random();
double _coolingRate;
public SimulatedAnnealing(double temperature, double coolingRate)
{
th... | mit | C# |
f34ecf8d35f18c137cca92dc970f2b80041aeb1b | add string.Reverse() and string.FromBase() | martinlindhe/Punku | punku/Extensions/StringExtensions.cs | punku/Extensions/StringExtensions.cs | using System;
using System.Text;
using Punku;
public static class StringExtensions
{
/**
* repeat the string count times
*/
public static string Repeat (this string input, int count)
{
var builder = new StringBuilder ((input == null ? 0 : input.Length) * count);
for (int i = 0; i < count; i++)
builder.... | using System;
using System.Text;
using Punku;
public static class StringExtensions
{
/**
* repeat the string count times
*/
public static string Repeat (this string input, int count)
{
var builder = new StringBuilder ((input == null ? 0 : input.Length) * count);
for (int i = 0; i < count; i++)
builder.... | mit | C# |
55421b0065a8e22b66e260ae594463a04d1bdbf5 | Add missing full stop | NeoAdonis/osu,ppy/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu,ppy/osu,UselessToucan/osu,peppy/osu,peppy/osu-new,UselessToucan/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu | osu.Game.Rulesets.Mania/Mods/ManiaModMirror.cs | osu.Game.Rulesets.Mania/Mods/ManiaModMirror.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.Extensions.IEnumerableExtensions;
using osu.Game.Rulesets.Mania.Objects;
using osu.Game.Rulesets.Mods;
using System.Linq;
using osu.Game.Beatmaps;
us... | // 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.Extensions.IEnumerableExtensions;
using osu.Game.Rulesets.Mania.Objects;
using osu.Game.Rulesets.Mods;
using System.Linq;
using osu.Game.Beatmaps;
us... | mit | C# |
1c4a3c584a76fb9ecbf7b56d6d62850fcc89b88d | Use correct lookup type to ensure username based lookups always prefer username | ppy/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu | osu.Game/Online/API/Requests/GetUserRequest.cs | osu.Game/Online/API/Requests/GetUserRequest.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.Users;
using osu.Game.Rulesets;
namespace osu.Game.Online.API.Requests
{
public class GetUserRequest : APIRequest<User>
{
private readonl... | // 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.Users;
using osu.Game.Rulesets;
namespace osu.Game.Online.API.Requests
{
public class GetUserRequest : APIRequest<User>
{
private readonl... | mit | C# |
69bc3ef98c4d3e664560f14257caf5f4856cc743 | Replace two xml comment instances of 'OmitOnRecursionGuard' with 'RecursionGuard' | yuva2achieve/AutoFixture,sean-gilliam/AutoFixture,yuva2achieve/AutoFixture,adamchester/AutoFixture,sbrockway/AutoFixture,mrinaldi/AutoFixture,sergeyshushlyapin/AutoFixture,olegsych/AutoFixture,sbrockway/AutoFixture,olegsych/AutoFixture,amarant/AutoFixture,hackle/AutoFixture,zvirja/AutoFixture,StevenJiang2015/AutoFixtur... | Src/AutoFixture/OmitOnRecursionBehavior.cs | Src/AutoFixture/OmitOnRecursionBehavior.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ploeh.AutoFixture.Kernel;
namespace Ploeh.AutoFixture
{
/// <summary>
/// Decorates an <see cref="ISpecimenBuilder" /> with a
/// <see cref="RecursionGuard" />.
/// </summary>
public class OmitO... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ploeh.AutoFixture.Kernel;
namespace Ploeh.AutoFixture
{
/// <summary>
/// Decorates an <see cref="ISpecimenBuilder" /> with a
/// <see cref="OmitOnRecursionGuard" />.
/// </summary>
public class... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.