Skip to content

Instantly share code, notes, and snippets.

View kezzyhko's full-sized avatar
💜
💜💜💜🤍🤍 3/5

Sergey Semushin kezzyhko

💜
💜💜💜🤍🤍 3/5
View GitHub Profile
@by-justin
by-justin / badapple
Last active January 12, 2025 15:16
bad apple 26x26
This file has been truncated, but you can view the full file.
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
@KanaHayama
KanaHayama / LangVersionPostprocessor.cs
Last active March 5, 2026 17:56
Enable latest C# language version for Unity
using System.Text.RegularExpressions;
using UnityEditor;
/// <remarks>
/// This class need to be placed in Assets/Standard Assets/Editor folder to be compiled before other scripts.
/// See <see href="https://docs.unity3d.com/Manual/ScriptCompileOrderFolders.html"/>.
/// </remarks>
internal sealed class LangVersionPostprocessor : AssetPostprocessor {
private static string OnGeneratedCSProject(string path, string content) {
var pattern = @"<LangVersion>(.*?)<\/LangVersion>";
@ThioJoe
ThioJoe / Error-Lookup-Tool-Friendly.bat
Last active February 22, 2026 17:05
Error Lookup Tool Friendly Output
@echo off
:: Note: Lines beginning with "REM" or :: are comments
:: Script by: https://github.com/thiojoe
:: Purpose: Creates a much more user friendly output for the Microsoft Error Lookup Tool (err.exe). It parses the original output and modifies the text.
:: Usage: Just call the batch file with command prompt along with the error code the same as you would with err.exe
:: Example: error.bat 50
:: Recommended to rename this script to something shorter like 'error.bat'. Must be next to the lookup tool exe file.
@Stingby12
Stingby12 / readme.txt
Created July 29, 2022 16:07
Unnamed Magnet Game REDUX (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
import java.util.*;
public class AdditionUnderXOR {
static final int SS = 1000000;
enum Ore {
COAL(60005),
IRON(60006),
@bartofzo
bartofzo / LogRangeAttribute.cs
Last active February 5, 2025 22:32
Unity Logarithmic Range Slider
using System;
using UnityEditor;
using UnityEngine;
namespace Tools
{
/// <summary>
/// Add this attribute to a float property to make it a logarithmic range slider
/// </summary>
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
@ilyaigpetrov
ilyaigpetrov / Evaluate the Risk of Browser Extension Before Installing It by Reading the Source Code.md
Last active November 27, 2025 19:57
Evaluate the Risk of Browser Extension Before Installing It by Reading the Source Code | by https://git.io/ilyaigpetrov

Evaluate the Risk of Browser Extension Before Installing It by Reading the Source Code

This post is written for Manifest v2, Manifest v3 is not yet released at the moment.

Ok, kids, today we are going to scrutinize a source code of a browser extension to speculate about its risks.
First, you will need to know how to download or view browser extension source codes:

  1. Extension for Chromium/Chrome: https://chrome.google.com/webstore/detail/chrome-extension-source-v/jifpbeccnghkjeaalbbjmodiffmgedin
  2. Right Click for FireFox: https://superuser.com/questions/771825/how-to-examine-source-code-of-firefox-extension-before-installing-it
@bmaupin
bmaupin / free-database-hosting.md
Last active March 11, 2026 06:33
Free database hosting
@DamianSuess
DamianSuess / SpecialFolderLocations.md
Last active September 7, 2025 02:33
C# Environment.SpecialFolder
@JohannesMP
JohannesMP / LICENSE
Last active October 5, 2025 19:01
[Unity3D] A Reliable, user-friendly way to reference SceneAssets by script.
/*******************************************************************************
* Don't Be a Jerk: The Open Source Software License.
* Adapted from: https://github.com/evantahler/Dont-be-a-Jerk
*******************************************************************************
* _I_ am the software author - JohannesMP on Github.
* _You_ are the user of this software. You might be a _we_, and that's OK!
*
* This is free, open source software. I will never charge you to use,
* license, or obtain this software. Doing so would make me a jerk.
*