Skip to content
View gpc91's full-sized avatar
📖
Always Learning
📖
Always Learning
  • Steel City Interactive
  • Doncaster, United Kingdom

Highlights

  • Pro

Block or report gpc91

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Convert a Numerical Type to a binary... Convert a Numerical Type to a binary string and pad it properly.
    1
    string NumberToBinary<T>(T val) where T : notnull, IConvertible
    2
    {
    3
        try
    4
        {
    5
            long value = val.ToInt64(null);
  2. C# Prime Sieve C# Prime Sieve
    1
    /*
    2
     *  Sieve of Eratosthene, C# implementation by George Corkery (github.com/gpc91)
    3
     *  Something made for fun, feel free to use without attribution
    4
     *  For more about the Sieve of Eratosthene, see this wikipedia page: https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes
    5
     */
  3. System.Random Next ulong (UInt64) ex... System.Random Next ulong (UInt64) extension
    1
    /// <summary>
    2
    /// Extension methods for the <see cref="System.Random"/> class. 
    3
    /// </summary>
    4
    public static class RandomExtensions
    5
    {
  4. BrnFkFrW BrnFkFrW Public

    C#

  5. conway-raylib conway-raylib Public

    Conway's Game of Life using the Raylib C library

    C

  6. GameBoySandbox GameBoySandbox Public

    For my gbdk tests and such I guess idk

    C 1