diff --git a/.gitignore b/.gitignore index bff7cd0..1c942eb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +*_private/ .private.env.* nvim/tt.* nvim/.tests @@ -10,7 +11,8 @@ nvim/data nvim/lazy-lock.json nvim/lazyvim.json test/ +test.* *.gz *.tar *.zip -*_private/ \ No newline at end of file +*.tgz diff --git a/mac/.zshrc b/mac/.zshrc index 97462f8..f716d4f 100644 --- a/mac/.zshrc +++ b/mac/.zshrc @@ -92,6 +92,7 @@ alias c=code # Misc # alias cf=cfiles +alias gdb=aarch64-elf-gdb ### Functions ### diff --git a/powershell/scripts.ps1 b/powershell/scripts.ps1 new file mode 100644 index 0000000..49f47f0 --- /dev/null +++ b/powershell/scripts.ps1 @@ -0,0 +1,17 @@ +function CsvToMarkdown { + param( [string]$csv) + $counter = 0 + $column = $csv.Split("`n")[0].Split(",").Length + $aHeader = " --- |" + $header = "|" + $aHeader * $column + $csv.replace(",", " | ").Split("`n") | ForEach-Object { + if ($counter -eq 0) { + Write-Output "| $_ |" + $counter++ + Write-Output $header + } + else { + Write-Output "| $_ |" + } + } +} \ No newline at end of file