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
| package main | |
| import ( | |
| "errors" | |
| "fmt" | |
| ) | |
| type MyError struct { | |
| message string | |
| } |
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
| #!/usr/bin/env fish | |
| if test (count $argv) -lt 1 | |
| echo "Usage: scc-history <SHA>" | |
| else | |
| while [ (git rev-parse HEAD) != $argv[1] ] | |
| # hash | |
| set hash (git rev-parse --short HEAD) | |
| # amtlines |
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
| (module | |
| (import "events" "pieceMoved" | |
| (func $notify_pieceMoved (param $fromX i32) (param $fromY i32) (param $toX i32) (param $toY i32)) | |
| ) | |
| (import "events" "pieceCrowned" | |
| (func $notify_pieceCrowned (param $fromX i32) (param $fromY i32)) | |
| ) | |
| (memory $mem 1) | |
| (global $currentTurn (mut i32) (i32.const 0)) | |
| (global $WHITE i32 (i32.const 2)) |
NewerOlder