Skip to content

Instantly share code, notes, and snippets.

View msyaifullah's full-sized avatar

masykuri syaifullah msyaifullah

View GitHub Profile
@msyaifullah
msyaifullah / DebugConsole.cs
Created July 5, 2016 07:50
DebugConsole For Unity Project
/*==== DebugConsole.cs ====================================================
* Class for handling multi-line, multi-color debugging messages.
* Original Author: Jeremy Hollingsworth
* Based On: Version 1.2.1 Mar 02, 2006
*
* Modified: Simon Waite
* Date: 22 Feb 2007
*
* Modification to original script to allow pixel-correct line spacing
*
@msyaifullah
msyaifullah / SetFirstSelectable.cs
Created July 10, 2017 08:42
Unity UI Selectable (Focus)
using UnityEngine;
using System.Collections;
using UnityEngine.EventSystems;
public class SetFirstSelectable : MonoBehaviour
{
public GameObject firstSelectable;
public void ApplyFirstSelectable(GameObject firstSelectable)
{
this.firstSelectable = firstSelectable;
@msyaifullah
msyaifullah / .coveragerc
Created October 2, 2018 05:00
coverage for flask python project
# =========================================================================
# COVERAGE CONFIGURATION FILE: .coveragerc
# =========================================================================
# LANGUAGE: Python
# SEE ALSO:
# * http://nedbatchelder.com/code/coverage/
# * http://nedbatchelder.com/code/coverage/config.html
# =========================================================================
[run]
file : .gitconfig
configgist
lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
lg = !"git lg1"