This file contains hidden or 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 | |
# Author: xezrunner (github.com/xezrunner) | |
# Inspired by Jonathan Blow's nocheckin setup with SVN (twitch.tv/j_blow) (youtube.com/@jblow888) | |
# Credits to DustinGadal on r/Jai: reddit.com/r/Jai/comments/jp0vjy/nocheckin_behavior_in_gitsourcetree/gbfhzd1 | |
# gist.github.com/xezrunner/e6dbafcc21fcbc976c93bdee0f371a08 | |
# This pre-commit hook checks for the keyword "$NOCHECKIN_KEYWORD" in staged files,then aborts the commit | |
# if any matches were found, with output of file path, line number and match preview. |
This file contains hidden or 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
// The progressringAnimation Timer object is placed in a form (WinForms designer), and has an Interval of 30. | |
// The progressRing Label object has its Font property set to the Setup font. | |
// In case you are using the Segoe Boot Semilight font, make sure to check the character codes! | |
// There's better ways to do this, this was my solution back in 2015. | |
// This is the "first frame - 1" character code. You can get the character codes with the Character map. | |
char code = "\ue051"[0]; | |
private async void progressringAnimator_Tick(object sender, EventArgs e) | |
{ |