This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using BenchmarkDotNet.Attributes; | |
using BenchmarkDotNet.Diagnostics.Windows.Configs; | |
using BenchmarkDotNet.Running; | |
using Interop_pg; | |
using Interop_Pg.Extensions; | |
[MemoryDiagnoser] | |
[InliningDiagnoser(true, true)] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class AudibleTag | |
{ | |
public string LONG_DESCRIPTION { get; set; } | |
/// <summary> | |
/// eg: Transport: Transport 1 | |
/// </summary> | |
public string SHORT_TITLE { get; set; } | |
/// <summary> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name New Userscript | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://www.iboys.at/search/* | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class FragmentedArray<T> : IEnumerable<T> | |
{ | |
private T[][] _fragments; | |
private int _fragmentSize; | |
public int Size { get; } | |
public FragmentedArray(int size, int chunks = 3) | |
{ | |
Size = size; | |
_fragmentSize = size / chunks; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CategoryDao : IDisposable, IAsyncDisposable | |
{ | |
private readonly GraphContext context; | |
public CategoryDao(GraphContext context) | |
{ | |
this.context = context; | |
} | |
public async Task<Category> FindByIdAsync(int categoryId, IEnumerable<string> requiredFields = null) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name EasyBank larger paging | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author J-Kit | |
// @match https://ebanking.easybank.at/InternetBanking/InternetBanking/* | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
namespace FluentHandler | |
{ | |
internal class CustomHandler | |
{ | |
private readonly List<ICheckable> _ceckables; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public bool IsNullable<T>(T value) | |
{ | |
return Nullable.GetUnderlyingType(typeof(T)) != null; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using TS3AudioBot.Audio; | |
using TS3AudioBot.Helper; | |
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Globalization; | |
using System.Linq; | |
using System.Text.RegularExpressions; | |
using TS3Client; | |
using TS3Client.Full; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//+ IPv4Mask {255.255.255.0} System.Net.IPAddress | |
//+ Address {10.0.0.6} System.Net.IPAddress | |
/// <summary> | |
/// Get all IPAdresses which are in the current subnet | |
/// </summary> | |
/// <returns></returns> | |
public static List<IPAddress> GetAllIp() | |
{ | |
var retVar = new List<IPAddress>(); |