Skip to content

Instantly share code, notes, and snippets.

View rus89's full-sized avatar

Milan rus89

View GitHub Profile
#!/bin/bash
[ -f $HOME/.profile ] && source $HOME/.profile
export LSCOLORS="Gxfxcxdxbxegedabagacad"
alias ls='ls -lGH'
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
@rus89
rus89 / .gitignore
Created October 3, 2017 10:51
.gitignore sample for Xcode, Objective-C, Swift on OSX, Windows and Linux OS, thanks to: http://midva.games/, https://play.google.com/store/apps/developer?id=Midva.Games
# Created by https://www.gitignore.io/api/osx,linux,swift,xcode,swiftpm,windows,objective-c,xcodeinjection,swiftpackagemanager
### Linux ###
*~
# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*
# KDE directory preferences
@rus89
rus89 / .gitignore
Created October 3, 2017 10:47
.gitignore sample for Android Studio, Gradle on OSX, Windows and Linux OS, thanks to: http://midva.games/, https://play.google.com/store/apps/developer?id=Midva.Games
# Created by https://www.gitignore.io/api/osx,linux,gradle,windows,android,androidstudio
### Android ###
# Built application files
*.apk
*.ap_
# Files for the ART/Dalvik VM
*.dex
@rus89
rus89 / .gitignore
Last active September 2, 2018 18:42
.gitignore sample for Unity, Monodevelop, VisualStudio, VisualStudioCode on OSX, Windows and Linux OS, thanks to: http://midva.games/, https://play.google.com/store/apps/developer?id=Midva.Games
# Created by https://www.gitignore.io/api/osx,linux,unity,csharp,windows,monodevelop,visualstudio,visualstudiocode
### Csharp ###
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
# User-specific files
@rus89
rus89 / UnityTextures.cs
Created March 20, 2017 13:50
Builtin Unity Textures
using System;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
public class UnityTextures : EditorWindow
{
[MenuItem("Window/UnityTextures")]
using UnityEditor;
using UnityEngine;
public sealed class ExampleClass : EditorWindow
{
private static readonly string[] mList =
{
"AboutWIndowLicenseLabel" ,
"AC LeftArrow" ,
"AC RightArrow" ,

How to Use?

GUIStyle mystyle = new GUIStyle("some string from the list below");


UnityEditor.ConsoleWindow.Constants

  • "CN Box"
  • "Button"