An alias that will generate a git commit message staged changes as shown in git-status. Put this alias (section below) in your .gitconfig
.
The message generated will be in the format of:
$ git status --porcelain
A file1.py
A file2.py
A file3.py
using namespace System.Management.Automation | |
using namespace System.Management.Automation.Language | |
if ($host.Name -eq 'ConsoleHost') | |
{ | |
Import-Module PSReadLine | |
} | |
#Import-Module PSColors | |
#Import-Module posh-git | |
Import-Module -Name Terminal-Icons |
{ | |
"final_space": true, | |
"console_title": true, | |
"console_title_style": "folder", | |
"blocks": [ | |
{ | |
"type": "prompt", | |
"alignment": "left", | |
"horizontal_offset": 0, | |
"vertical_offset": 0, |
String.prototype.numbers = function () { | |
'use strict'; | |
var result = ''; | |
if (this.match(/(\d+)/g)) { | |
result = this.match(/(\d+)/g).join(''); | |
} | |
return result; | |
}; | |
( function( $ ) { |
/// <binding AfterBuild='default' Clean='clean' /> | |
/* | |
This file is the main entry point for defining Gulp tasks and using Gulp plugins. | |
Click here to learn more. http://go.microsoft.com/fwlink/?LinkId=518007 | |
*/ | |
var gulp = require('gulp'); | |
var del = require('del'); | |
var plumber = require('gulp-plumber'); | |
var concat = require('gulp-concat'); |
// ==UserScript== | |
// @name Steam Key Quick Activator | |
// @namespace http://pedrofracassi.me/ | |
// @version 1.2 | |
// @description Activates Steam Keys Quickly! | |
// @author Pedro Fracassi (http://pedrofracassi.me) | |
// @match https://store.steampowered.com/account/registerkey?key=* | |
// @grant none | |
// @run-at document-end | |
// ==/UserScript== |
function Update-AssemblyInfoVersionFiles | |
{ | |
Param | |
( | |
[Parameter(Mandatory=$true)] | |
[string]$productVersion | |
) | |
$buildNumber = $env:BUILD_BUILDNUMBER | |
if ($buildNumber -eq $null) |
var supportsES6 = function() { | |
try { | |
new Function("(a = 0) => a"); | |
return true; | |
} | |
catch (err) { | |
return false; | |
} | |
}(); |
// Tools and addins | |
#addin "nuget:?package=System.Management.Automation&version=6.1.7601.17515" | |
using System.Collections; | |
using System.Management.Automation; | |
using System.Management.Automation.Internal; | |
using System.Management.Automation.Runspaces; | |
using System.Threading; | |
/////////////////////////////////////////////////////////////////////////////// |