Sorts on a column.
$ sort makes.txt
1 volkswagen
2 honda
3 ford| public class Person | |
| { | |
| public int Id { get; set; } | |
| public List<Book> AuthoredBooks { get; set; } | |
| public List<Book> EditedBooks { get; set; } | |
| } | |
| public class Book | |
| { | |
| public int Id { get; set; } |
| target: | |
| ifeq ($(OS),Windows_NT) | |
| powershell -NoProfile -Command "Get-Date" | |
| else | |
| date | |
| endif |
| a |
| using System; | |
| using System.Threading.Tasks; | |
| using MassTransit; | |
| namespace mttest | |
| { | |
| class Program | |
| { | |
| static async Task Main(string[] args) | |
| { |
| C:\Program Files\IIS Express | |
| > | |
| PS>netsh int ipv4 show excludedportrange tcp | sls 63300 # I have manually added 63300-63399 as an exclusion | |
| 63300 63399 * | |
| C:\Program Files\IIS Express | |
| > | |
| PS>netstat -ano | sls 63325 # Nothing is bound to 63325 right now |
| <# | |
| Burns a timecode into a video using ffmpeg. | |
| #> | |
| param( | |
| $Path, | |
| $OutFile, | |
| $Rate | |
| ) |
Download and install the latest 64-bit PuTTY. Using the MSI is fine.
Each computer should a unique SSH key. The same key can be reused for GitHub, Bitbucket, and any other Git server you connect to.
| function Caffeinate { | |
| param([scriptblock]$ScriptBlock) | |
| $active_scheme_id = (powercfg /GetActiveScheme).Split(" ")[3] | |
| $high_perf_id = "8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c" | |
| powercfg /s $high_perf_id | |
| if ($LASTEXITCODE -ne 0) { return } | |
| try { | |
| & $ScriptBlock | |
| } finally { |