Skip to content

Instantly share code, notes, and snippets.

View zasadnyy's full-sized avatar

Vitaliy Zasadnyy zasadnyy

View GitHub Profile
@zasadnyy
zasadnyy / git-deletebranches.sh
Last active August 14, 2017 12:43 — forked from bxt/git-deletebranches.sh
Git Delete Merged Branches
#!/bin/bash
MAIN=develop
BRANCHES=$(git branch --merged $MAIN | grep -v -e 'master\|staging\|develop\|\*')
echo Branches merged into $MAIN:
echo $BRANCHES | tr " " "\n"
read -p "Delete these branches (y/n)? " answer
@zasadnyy
zasadnyy / DebugConsole.cs
Last active December 19, 2015 21:29 — forked from darktable/DebugConsole.cs
Now console fills whole available height. Added proper UI scaling for Android devices
#define DEBUG_CONSOLE
#define DEBUG_LEVEL_LOG
#define DEBUG_LEVEL_WARN
#define DEBUG_LEVEL_ERROR
#if (UNITY_EDITOR || DEVELOPMENT_BUILD)
#define DEBUG
#endif
#if (UNITY_IOS || UNITY_ANDROID)