This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
git filter-branch --env-filter ' | |
OLD_EMAIL="[email protected]" | |
CORRECT_NAME="Correct Name" | |
CORRECT_EMAIL="[email protected]" | |
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ] | |
then | |
export GIT_COMMITTER_NAME="$CORRECT_NAME" | |
export GIT_COMMITTER_EMAIL="$CORRECT_EMAIL" | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
git fetch --prune | |
git branch | grep "feature\/\|bugfix\/" | while read -r p; do | |
echo "$p" | |
EXIST=$(git branch -r --contains "$p" | wc -l) | |
if [[ $EXIST == "0" ]]; then | |
git branch -D "$p" | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
public sealed class Dome | |
{ | |
private readonly Vector2Int size; | |
private readonly float fill; | |
public Dome(Vector2Int size, float fill) | |
{ | |
this.size = size; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shader "Unlit/Dissolve Cutout" | |
{ | |
Properties | |
{ | |
_Color ("Color", Color) = (1, 1, 1, 1) | |
_MainTex ("Base (RGB)", 2D) = "white" { } | |
_Dissolve ("Dissolve (A)", 2D) = "white" { } | |
_EdgeColor ("Edge Color", Color) = (1, 1, 1, 1) | |
_EdgeSize ("Edge Size", Range(0, 1)) = 0.5 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This file should be placed in the root direcotry inside your Unity project directory like following /.vscode/settings.json | |
{ | |
"files.exclude": { | |
// Root directory | |
"[Bb]uild/": true, | |
"[Bb]uilds/": true, | |
"[L]ibrary/": true, | |
"[Ll]ogs/": true, | |
"[Oo]bj/": true, | |
"[Tt]emp/": true, |