use anyhow::Result;
use tokio::sync::{mpsc, oneshot};
use std::collections::{HashMap, HashSet};
use std::path::PathBuf;
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
| #include <ctype.h> | |
| #include <errno.h> | |
| #include <fcntl.h> | |
| #include <math.h> | |
| #include <setjmp.h> | |
| #include <stdarg.h> | |
| #include <stdbool.h> | |
| #include <stddef.h> | |
| #include <stdint.h> | |
| #include <stdio.h> |
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
| /home/kyle/src/pl/fern/.venv/bin/python -m src.fern.main examples/test.fern | |
| ═ Source Code ═════════════════════════════════════════════════════════════════ | |
| def check_positive_product(x: int, y: int): bool { | |
| var product: int = x * y; | |
| var is_positive: bool = product > 0; | |
| return is_positive; | |
| } | |
| def process_values(a: int, b: int): int { |
Google Wifi (AC-1304) is a 2x2 802.11ac access point with a Qualcomm IPQ4019 SoC, 512 MB RAM, and 4 GB eMMC storage. It runs a ChromeOS-based firmware called Gale and can be configured to boot unsigned firmware like OpenWrt by enabling Developer Mode.
- Google Wifi AC-1304
- USB-C hub with power delivery (PD)
- USB-C power supply
- USB-C cable
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
| #include "utf8.h" | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| utf8_int8_t *ib, *it, *ob; | |
| size_t len = 0, cap = 0; | |
| void parse_text(); | |
| void parse_heading(); | |
| void parse_unordered_list(); |
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 bash | |
| set -o xtrace | |
| # Install dependencies | |
| mkdir -p deps | |
| # .NET 7.0 SDK | |
| if [ ! -d deps/dotnet ]; then |
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
| # BUILD | |
| FROM mcr.microsoft.com/dotnet/core/sdk:3.0-alpine AS build | |
| WORKDIR / | |
| COPY App/. ./app/ | |
| WORKDIR /app | |
| RUN dotnet publish -c Release -r linux-musl-x64 -o out /p:PublishSingleFile=true |
NewerOlder