Skip to content

Instantly share code, notes, and snippets.

View rickyah's full-sized avatar

Ricardo Amores Hernández rickyah

  • Barcelona
  • 00:08 (UTC +02:00)
  • X @rickyah
View GitHub Profile
@rickyah
rickyah / clase-git.md
Last active April 3, 2021 18:49
Notas de la clase de git para el equipo

# Clase git

## Conceptos básicos

Commit

Commits son inmutables

Commits contienen

  • SHA1
@rickyah
rickyah / unity-print-assetbundles.cs
Last active September 10, 2020 17:31
Script to print all asset bundles of the project and its dependencies
[MenuItem("AssetBundles/Print all Asset Bundle names")]
static void PrintAssetBundlesToDebugConsole()
{
var sb = new StringBuilder();
var globalTimer = new Stopwatch();
var timer = new Stopwatch();
globalTimer.Start();
timer.Start();
@rickyah
rickyah / dotnet-format-action.yml
Created July 25, 2020 08:24
Runs dotnet-format on every PR and create a commit that fixes the formatting if it doesn't comply with your code convention
name: Format check on pull request
on: pull_request
jobs:
dotnet-format:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2.2.0
with:
fetch-depth: 0