git clone git@github.com:JerwuQu/w4on2.git
cd w4on2
cargo build --releaseNote
There has been some minor changes in Zig ⚡,
| CC=zig cc | |
| CFLAGS = -Wall -Wextra -Werror | |
| INCLUDES = -I/usr/include/SDL2/ | |
| LIBS = -lSDL2 | |
| SRCS = aisnake.c | |
| OBJS = $(SRCS:.c=.o) | |
| MAIN = aisnake | |
| $(MAIN): $(OBJS) | |
| $(CC) $(CFLAGS) $(INCLUDES) -o $(MAIN) $(OBJS) $(LIBS) |
| ( | |
| name: "Jellybeans", | |
| foreground: "#E6E6CD", | |
| background: "#141414", | |
| cursor: "#FFB371", | |
| bright_foreground: "#E6E6CD", | |
| dim_foreground: "#E6E6CD", | |
| normal: ( | |
| black: "#353534", | |
| red: "#D35737", |
| module experiments/libsql/libsql-example | |
| go 1.23.0 | |
| require ( | |
| github.com/tursodatabase/libsql-client-go v0.0.0-20240902231107-85af5b9d094d | |
| modernc.org/sqlite v1.33.1 | |
| ) | |
| require ( |
| const std = @import("std"); | |
| pub fn build(b: *std.Build) void { | |
| const exe = b.addExecutable(.{ | |
| .name = "whatthecommit", | |
| .root_source_file = b.path("whatthecommit.zig"), | |
| .target = b.standardTargetOptions(.{}), | |
| .optimize = b.standardOptimizeOption(.{}), | |
| }); |
| #import "@preview/cram-snap:0.1.0": cram-snap | |
| #set page( | |
| paper: "a3", | |
| flipped: true, | |
| margin: 1cm, | |
| ) | |
| #set text(font: "Inter", weight: "regular", size: 8pt) |
| const std = @import("std"); | |
| pub fn build(b: *std.Build) void { | |
| const target = b.resolveTargetQuery(.{ | |
| .cpu_arch = .wasm32, | |
| .os_tag = .freestanding, | |
| }); | |
| const hello = b.addExecutable(.{ | |
| .name = "hello", |
| const std = @import("std"); | |
| const c = @cImport({ | |
| @cInclude("dos.h"); | |
| }); | |
| pub const videomode_40x25_8x8: usize = 0; | |
| pub const videomode_40x25_9x16: usize = 1; | |
| pub const videomode_80x25_8x8: usize = 2; | |
| pub const videomode_80x25_8x16: usize = 3; |