Pheynnx

Code Block Preview

July 07, 2023

c++
code
go
js
nim
rust
snippets
ts
zig

ts

1const a: number = 50;

python

1print("Hello World!")

javascript

1const main = () => {console.log("Hello World")}

nim

1echo "Hello nimlang!"

rust

1pub async fn add(x: int, y: int) -> int {
2    x + y
3};
4
5add(2, 7).await;

go

1func main() {
2    go func() {
3     fmt.Println("go channels")
4  }()
5}

zig

1const std = @import("std");
2const parseInt = std.fmt.parseInt;

html

1<html>
2  <head></head>
3  <body></body>
4</html>

scss

1.test {
2  border: 1px solid #567fbc;
3
4  &:hover {
5    background-color: #567fbc;
6  }
7}

bash

1cd ../../www/sdfg
2sudo rm -rf .pie-in-your-eye

powershell

1PS C:\Users\ericc> ipconfig
2
3Windows IP Configuration
4
5
6Unknown adapter Local Area Connection:
7
8   Media State . . . . . . . . . . . : Media disconnected
9   Connection-specific DNS Suffix  . :