wevtutil qe Application "/q:*[System [Provider[@Name='DockerService']]]" /c:30 /rd:true /f:text
wevtutil qe System "/q:*[System[TimeCreated[@SystemTime>='2022-05-24T08:30:00' and @SystemTime<'2022-05-24T09:20:00']]]" /f:text
wevtutil qe System /rd:true /f:text /c:200 "/q:*[System[(Level=1)]]"
wevtutil qe Application "/q:*[System [Provider[@Name='DockerService']]]" /c:40 /rd:true /f:text
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
| # This requires ruby, so you might need to do a . ~/.asdf/asdf.sh | |
| # /opt/puppetlabs/pdk/share/cache/ruby/2.7.0/bin/r10k puppetfile install --moduledir=/etc/puppetlabs/code/environments/testing_dev_branch/modules | |
| SOURCE=/home/<user>/git/puppet-modules | |
| TARGET=/etc/puppetlabs/code/environments/testing_dev_branch | |
| IGNORE=--exclude='.git/' | |
| mkdir -p $TARGET/modules |
See how a minor change to your commit message style can make a difference. Examples
Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs
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
| @echo off | |
| cls | |
| echo Date format = %date% | |
| echo dd = %date:~0,2% | |
| echo mm = %date:~3,2% | |
| echo yyyy = %date:~6,4% | |
| echo. | |
| echo Time format = %time% | |
| echo hh = %time:~0,2% | |
| echo mm = %time:~3,2% |
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
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Linq; | |
| namespace marcothz.Commons.Extensions | |
| { | |
| public static class FileInfoExtensions | |
| { | |
| public static string GetRelativePath(this FileInfo self, DirectoryInfo directory) | |
| { |