Skip to content

Instantly share code, notes, and snippets.

View PAHeartBeat's full-sized avatar
🚩
Either I win or I learn, I never loose,

iPAHeartBeat PAHeartBeat

🚩
Either I win or I learn, I never loose,
View GitHub Profile
@PAHeartBeat
PAHeartBeat / .editorconfig
Created August 7, 2025 09:01
.editor config for code, style, naming, and analzer
# To learn more about .editorconfig see https://aka.ms/editorconfigdocs
################################################################################
# Core EditorConfig Options #
################################################################################
root = true
# 1 - Core Config
##################
@PAHeartBeat
PAHeartBeat / .gitconfig
Created August 7, 2025 09:00
sample .gitconfig to use multiple diff/merge tool like p4v, code, jdjson, unityYAMLMerger
[user]
email = [email protected]
name = Ankur Ranpariya
signingKey =
[gpg]
format = openpgp
program = gpg
[commit]
@PAHeartBeat
PAHeartBeat / .gitattributes
Created August 7, 2025 08:57
git-lfs settings for unity with unityYAMLMerge for prefab, scene and other unity assets, while JDJson for json files
# For line ending normalization between Unix and Windows
# Auto detect text files and perform LF normalization
* text=auto eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4
# Standard to msysgit
*.doc filter=lfs diff=lfs merge=lfs -text
*.docx diff=astextplain
*.dot filter=lfs diff=lfs merge=lfs -text
*.rtf diff=astextplain
@PAHeartBeat
PAHeartBeat / .gitignore
Last active August 28, 2025 05:20
sampale .gitignore for unity project
# Basic Unity Project Files Settings #
# ---------------------------------- #
# Packed Addressable #
# ------------------ #
!/Assets/AddressableAssetsData/*/*.bin*
# Library Data #
# ------------ #
@PAHeartBeat
PAHeartBeat / .editorconifg
Last active September 12, 2023 11:17
.Editor config with the Code style Rules, code formatting rules, naming rules, naming styles, and warning suppress information for Sonar and SytleCop
# To learn more about .editorconfig see https://aka.ms/editorconfigdocs
####################################################
# Core EditorConfig Options #
####################################################
root = true
# All files
[*]
# Indentation and spacing
@PAHeartBeat
PAHeartBeat / stylecop.json
Last active April 5, 2022 18:43
SytelCop Analyzer overrides
{
"comment": "ACTION REQUIRED: This file was automatically added to your project, but it\nwill not take effect until additional steps are taken to enable it. See the\nfollowing page for additional information:\n\nhttps://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/EnableConfiguration.md",
"$schema": "https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json",
"settings": {
"documentationRules": {
"documentationCulture": "en-US",
"documentInterfaces": true,
"documentExposedElements": true,
"documentInternalElements": true,
"documentPrivateElements": true,
#ifndef UNITY_CG_INCLUDED
#define UNITY_CG_INCLUDED
#include "UnityShaderVariables.cginc"
#if SHADER_API_FLASH
uniform float4 unity_NPOTScale;