Skip to content

Instantly share code, notes, and snippets.

View pyoneerC's full-sized avatar
:fishsticks:
fast learner, scrappy, low ego, growth mindset, ready for 0→1

Max Comperatore pyoneerC

:fishsticks:
fast learner, scrappy, low ego, growth mindset, ready for 0→1
View GitHub Profile
@pyoneerC
pyoneerC / UnityCleaner.cs
Created July 4, 2024 02:10
This C# script for Unity, named UnityCleaner, is designed to enhance project management within the Unity Editor. It provides a graphical user interface accessible under the "Tools" menu as "Project Cleaner". It let us delete unused files in our code base and filter them, with multi scene support.
namespace PyoneerC.UnityCleaner
{
using UnityEditor;
using UnityEngine;
using UnityEditor.SceneManagement;
using UnityEngine.SceneManagement;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
@pyoneerC
pyoneerC / CT1M String Generator.cpp
Created July 31, 2023 23:28
CT1M String Generator
#include <iostream>
#include <string>
#include <limits>
std::string getPalindromeSum(int num) {
if (1 == num) {
return "0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "
+ std::to_string(num) +
" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0";
} else if ((num >= 2) && (num <= 10)) {