Author: lmtapia
- Use a local store (RECOMMNDED PRACTICE replacing deprecated sandboxes)
cabal --store-dir=$(pwd) <COMMAND>
Author: lmtapia
cabal --store-dir=$(pwd) <COMMAND>
Initial configuration for Unity projects in order to save space using git and a repository server like github (recomemneded) or gitlab, it takes in consideration big files, avoids duplication, uses Meld and UnityYAMLMerge for merging YAML files.
Migration recomendations for projects that didn't started this way are included bellow in Migrate to Git LFS and are also recomemnded for any project to include every new big file not listed before.
If history is to be rewritten, it must be done with caution. Consider Rewriting history steps.
@echo off | |
REM Script for change java version like update-altenative in linux | |
REM Author: Luis Tapia (https://github.com/lmtapia) | |
REM NOTE: This only modifies enviroment variable JAVA_HOME and does not store anything more | |
setlocal EnableDelayedExpansion | |
if "%JAVA_HOME%" neq "" echo Existing enviroment path JAVA_HOME= %JAVA_HOME% | |
echo Listing reachable sources: | |
set i=1 |
# TapiaX | |
# .bash_aliases | |
# my aliases | |
alias json='python3 -m json.tool' | |
alias hg='history | grep' | |
alias inst='sudo apt install' | |
alias instf='sudo apt-get install' | |
alias ev2lines="paste -d ' ' - - " | |
alias sortlast="awk '{print $NF,$0}' | sort -nr | cut -f2- -d' '" |
using UnityEngine; | |
using UnityEngine.SceneManagement; | |
using UnityEngine.UI; | |
using System.Collections.Generic; | |
public class SceneLoader: MonoBehaviour { | |
private static SceneParams loadSceneRegister = null; | |
public SceneParams sceneParams; | |