I hereby claim:
- I am pitchinnate on github.
- I am pitchinnate (https://keybase.io/pitchinnate) on keybase.
- I have a public key whose fingerprint is 1FDF 5FCB 5E36 DC8E 06DB E177 5F28 10C7 7265 B554
To claim this, I am signing this object:
| class Player | |
| @hitBackWall = false | |
| def play_turn(warrior) | |
| taking_damage = false | |
| if @health.nil? | |
| @health = warrior.health | |
| end | |
I hereby claim:
To claim this, I am signing this object:
In order to run this locally you will need the following tools/programs:
In order to run this locally you will need the following tools/programs:
| # show directory as title, last 2 directories, can change by changing 2 to something else | |
| function Invoke-Starship-PreCommand { | |
| $current = ( $PWD -split '\\' | select -last 2 ) -join '\' | |
| $host.ui.RawUI.WindowTitle = "$current" | |
| } | |
| # normal starship invoke | |
| Invoke-Expression (&starship init powershell) | |
| # this must be put in after the invoke of starship |
| Get-ChildItem -Path "c:/" -Recurse -Directory -Force -ErrorAction SilentlyContinue | | |
| Where-Object { $_.Name -in @("eslint-config-prettier", "eslint-plugin-prettier", "snyckit", "@pkgjs/core", "napi-postinstall", "@ctrl/tinycolor") } | | |
| ForEach-Object { | |
| $pkg = Join-Path $_.FullName 'package.json' | |
| if (Test-Path $pkg) { | |
| $ver = (Get-Content $pkg | ConvertFrom-Json).version | |
| $validVersions = @{ | |
| "eslint-config-prettier" = @("8.10.1", "9.1.1", "10.1.6", "10.1.7") | |
| "eslint-plugin-prettier" = @("4.2.2", "4.2.3") | |
| "snyckit" = @("0.11.9") |