I hereby claim:
- I am pitermarx on github.
- I am pitermarx (https://keybase.io/pitermarx) on keybase.
- I have a public key whose fingerprint is 7D48 C3D4 124B 1756 BA7A B993 8CD1 CD23 37E6 00E9
To claim this, I am signing this object:
| var data = Parse(@"https://raw.githubusercontent.com/dssg-pt/covid19pt-data/master/data.csv", | |
| v => new | |
| { | |
| data = DateTime.Parse(v["data"]), | |
| novos_total = decimal.Parse(v["confirmados"]), | |
| novos = decimal.Parse(v["confirmados_novos"]) | |
| }); | |
| var amostras = Parse(@"https://raw.githubusercontent.com/dssg-pt/covid19pt-data/master/amostras.csv", | |
| v => new | |
| { |
| # REPL-like | |
| sharplab.io/ | |
| dotnetfiddle.net/ | |
| linqpad.net/ | |
| # Perf tools | |
| github.com/0xd4d/dnSpy/ | |
| github.com/Microsoft/perfview/ | |
| getcodetrack.com/ | |
| benchmarkdotnet.org/ |
| # Hyper-V Quick Create | |
| # Increase disk size in Hyper-v manager | |
| # install Gparted and resize | |
| # Change screen resolution | |
| # sudo nano /etc/default/grub | |
| # GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:1920x1080" | |
| # sudo update-grub |
| // .Net Symetric encryption | |
| public class Encryptor<T> | |
| where T : SymmetricAlgorithm, new() | |
| { | |
| private const int KeySize = 256; | |
| private readonly byte[] vectorBytes; | |
| private readonly byte[] keyBytes; | |
| public Encryptor( | |
| string password, |
| Import-Module 'C:\tools\poshgit\dahlbyk-posh-git-9bda399\src\posh-git.psd1' | |
| $GitPromptSettings.EnablePromptStatus = $false | |
| Set-PoshPrompt negligible | |
| Import-Module -Name Terminal-Icons | |
| Set-Alias vi 'C:\Program Files (x86)\vim\vim80\vim.exe' | |
| Function prof { & vim.exe $profile; & $profile } | |
| Function vimrc { vim.exe $home\_vimrc } |
| [CmdletBinding()] | |
| Param( | |
| [string]$Script = "build.cake", | |
| [ValidateSet("Quiet", "Minimal", "Normal", "Verbose", "Diagnostic")] | |
| [string]$Verbosity = "Normal", | |
| [Parameter(Position = 0, Mandatory = $false, ValueFromRemainingArguments = $true)] | |
| [string[]]$ScriptArgs | |
| ) | |
| dynamicparam { |
| $Foo = 1 | |
| Write-Host "I expect Foo to be 1: " $Foo | |
| function New-Closure { | |
| param([Scriptblock] $Expression, $Foo = 2) | |
| & $Expression | |
| } | |
| New-Closure -Expression { | |
| Write-Host "I expected Foo to be 1, but was 2: " $Foo |
| Set-ExplorerOptions -showHiddenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions | |
| cinst librewolf # Vimium, Bitwarden | |
| cinst vlc | |
| cinst zoom | |
| cinst treesizefree | |
| cinst lockhunter | |
| cinst obs-studio, obs-virtualcam | |
| cinst musescore | |
| cinst sumatrapdf |
I hereby claim:
To claim this, I am signing this object: