See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
| internal static class NativeMethods { | |
| public static void PreventSleep() { | |
| SetThreadExecutionState(ExecutionState.EsContinuous | ExecutionState.EsSystemRequired); | |
| } | |
| public static void AllowSleep() { | |
| SetThreadExecutionState(ExecutionState.EsContinuous); | |
| } |
| #!/usr/bin/env swift | |
| // | |
| // PrintBootCampESDInfo.swift | |
| // | |
| // Created by nuomi1 on 8/5/18. | |
| // Copyright © 2018年 nuomi1. All rights reserved. | |
| // | |
| import Foundation |
| using System; | |
| using System.Runtime.InteropServices; | |
| // ReSharper disable SuspiciousTypeConversion.Global | |
| // ReSharper disable InconsistentNaming | |
| namespace VideoPlayerController | |
| { | |
| /// <summary> | |
| /// Controls audio using the Windows CoreAudio API | |
| /// from: http://stackoverflow.com/questions/14306048/controling-volume-mixer |
| namespace Demo_mousehook | |
| { | |
| public partial class Form1 : Form | |
| { | |
| public Form1() | |
| { | |
| InitializeComponent(); | |
| } | |
| MouseHook mh; |
| ##### Windows | |
| # Windows thumbnail cache files | |
| Thumbs.db | |
| Thumbs.db:encryptable | |
| ehthumbs.db | |
| ehthumbs_vista.db | |
| # Dump file | |
| *.stackdump |
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
| /** | |
| How to use: | |
| 1/ Use the following line as the "URL" of a bookmark in your web browser. | |
| 2/ Place the bookmark in the bookmark bar for easy access. | |
| 3/ When on a steampowered.com page, click on the bookmark and the corresponding steamdb.info page will open. | |
| */ | |
| javascript:(function(){if (window.location.hostname == 'store.steampowered.com') {var pathMatch = window.location.pathname.match(/^\/(?<appType>(app|bundle|sub))\/(?<appId>\d+)\//);pathMatch && window.open('https://steamdb.info/' + pathMatch.groups.appType + '/' + pathMatch.groups.appId + '/?source=bookmarklet','_blank');}})(); |
| function Run-Process { | |
| param( | |
| [Parameter(Mandatory=$true)] | |
| [string]$Exe, | |
| [string]$ExeArgs, | |
| [switch]$DoNotWriteLog, | |
| [string]$LogFormat = "yyyy-MM-dd HH:mm:ss.ffff" | |
| ) | |
| Write-Verbose "From powershell running: $exe $exeArgs" |
TL;DR