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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Falling Hamster with Parachute</title> | |
| <style> | |
| body { | |
| margin: 0; | |
| padding: 0; |
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
| type Direction int | |
| const ( | |
| North Direction = iota | |
| East | |
| South | |
| West | |
| ) | |
| func (d Direction) String() 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
| version: v2 | |
| managed: | |
| enabled: true | |
| override: | |
| - file_option: go_package_prefix | |
| value: korso/gen | |
| plugins: | |
| - remote: buf.build/protocolbuffers/go | |
| out: server/gen | |
| opt: paths=source_relative |
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
| // parser/parser_test.go | |
| package parser | |
| import ( | |
| "fmt" | |
| "testing" | |
| "github.com/itsnibsi/numos/ast" | |
| "github.com/itsnibsi/numos/lexer" |
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
| $sta = [threading.thread]::CurrentThread.GetApartmentState(); | |
| $scriptItem = Get-Item -Path $MyInvocation.MyCommand.Path; | |
| if ($sta -ne "STA") { | |
| powershell -sta -file $MyInvocation.MyCommand.Path; | |
| exit(0); | |
| } | |
| $OS_Major = [System.Environment]::OSVersion.Version.Major.ToString() + "." + [System.Environment]::OSVersion.Version.Minor.ToString(); | |
| $global:worker = $true; |
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 context | |
| import ( | |
| ааaааaааaаaaааaaаааa "context" | |
| аaааaaаааaаaaaaааааa "crypto/aes" | |
| aaaааaaaааaаaaаaaааa "crypto/cipher" | |
| аааaаааaaаaaaаaааааа "encoding/base64" | |
| ааaaаaaaaааaaaaaaaaа "fmt" | |
| аaaaаaaaaааaааaаaaaa "math" | |
| aааaaааааaaаааaaаaаa "net/http" |
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
| #!/bin/bash | |
| function kjt() { | |
| if [ $# -lt 2 ]; then | |
| echo "Usage: kjt path command" | |
| return 1 | |
| fi | |
| local path=$1 | |
| local command=${@:2} |
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
Show hidden characters
| { | |
| "extends": [ | |
| "next", | |
| "next/core-web-vitals", | |
| "plugin:tailwindcss/recommended", | |
| "prettier" | |
| ], | |
| "overrides": [ | |
| { | |
| "files": ["*.ts", "*.tsx", "*.js"], |