- Install cmder_full
- In Cmder, open settings:
Win + Alt + P
- Under Startup > Tasks, add a task called
{bash}
with the following settings:- Task parameters (set icon):
/icon "%CMDER_ROOT%\cmder.exe"
- Commands (open Git's bash shell):
"C:\Program Files (x86)\Git\bin\sh.exe" -l -new_console:d:%USERPROFILE%
- Task parameters (set icon):
- Under Startup, set startup options to Specified name task --> {bash}
This file contains 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
param ( | |
[switch]$RenameOrphanLayers | |
) | |
If ($RenameOrphanLayers) { | |
Write-Warning "$($env:COMPUTERNAME) -RenameOrphanLayers option enabled, will rename all orphan layers" | |
} | |
# Get known layers on Docker images | |
[array]$ImageDetails += docker images -q | ForEach { docker inspect $_ | ConvertFrom-Json } |
This file contains 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
/* | |
DigitalReadSerial | |
Reads a digital input on pin 2, prints the result to the serial monitor | |
This example code is in the public domain. | |
*/ | |
// digital pin 2 has a pushbutton attached to it. Give it a name: | |
//int pushButton = 2; |
This file contains 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
var CustomAutocompleteEditor = Handsontable.editors.AutocompleteEditor.prototype.extend(); | |
CustomAutocompleteEditor.prototype.beginEditing = function(initialValue, event) { | |
Handsontable.editors.BaseEditor.prototype.beginEditing.call(this, initialValue, event); | |
if (this.originalValue === undefined || this.originalValue[this.cellProperties.viewModel] === null) { | |
this.setValue(''); | |
} else { | |
this.setValue(this.originalValue); | |
} |