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
| # typed: true | |
| # DO NOT EDIT MANUALLY | |
| # This is an autogenerated file for types exported from the `httpx` gem. | |
| # Please instead update this file by running `bin/tapioca gem httpx`. | |
| # Top-Level Namespace | |
| # | |
| # source://httpx//lib/httpx/version.rb#3 |
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
| CC ?= cc | |
| CFLAGS ?= -DNDEBUG -std=c99 -O3 | |
| dufff: dufff.c | |
| $(CC) $(CFLAGS) dufff.c -o dufff |
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 du; | |
| IMPORT FIO,IO,Lib,Str,SYSTEM,Storage; | |
| TYPE | |
| String = ARRAY [0..128] OF CHAR; | |
| FileSpec = RECORD | |
| i : BOOLEAN; | |
| n : String; | |
| END; |
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 ruby | |
| # frozen_string_literal: true | |
| # | |
| # Converts https://www.pcjs.org json disk image to real disk .img and extract files | |
| # | |
| # Usage: json2img [options..] {infile.json|https://path/to/web/disk.json} [OUT_DIR] | |
| # | |
| # -v|--verbose verbose | |
| # -n|--no-op no-op | |
| # |
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 | |
| # requires magick from ImageMagick >= 6.5 (7+ is okay too) | |
| # Suppors output to non-pcx formats too: | |
| # --ext .bmp | |
| # Can be sourced by zsh or bash, but only use filetopcx__convert_file or filetopcx__main | |
| filetopcx__tmpdir= | |
| filetopcx__ext='.pcx' | |
| filetopcx__files=() | |
| filetopcx__args=( | |
| -compress RLE |
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
| use serde::{Deserialize, Serialize}; | |
| use std::{ | |
| collections::{HashMap, HashSet, LinkedList}, | |
| convert::From, | |
| hash::{Hash, Hasher}, | |
| }; | |
| #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] | |
| #[repr(u8)] | |
| pub enum Literal { |
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 -eEuo pipefail | |
| # Should live as: {{project}}/bin/setup | |
| # Requires: | |
| # - {{project}}/.config/setup-install-tool-crates.txt | |
| # - {{project}}/rust-toolchain.toml | |
| cd "${TOP_DIR:-$(cd "$(dirname "$0")" && cd .. && pwd)}" | |
| readarray -t packages < <(sed 's/#.*//;/^[[:space:]]*$/d' .config/setup-install-tool-crates.txt) |
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
| use anyhow::{Result, bail}; | |
| use csv::{Writer, WriterBuilder}; | |
| use serde::Serialize; | |
| pub trait ToCsv { | |
| fn to_csv(self) -> Result<String>; | |
| fn to_csv_without_header(self) -> Result<String>; | |
| fn to_csv_with_header<I, T>(self, header: I) -> Result<String> | |
| where | |
| I: IntoIterator<Item = T> + Clone, |
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 ruby | |
| # frozen_string_literal: true | |
| # ==== MIT License ==== | |
| # Copyright © 2025 <copyright holders> | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated | |
| # documentation files (the “Software”), to deal in the Software without restriction, including without limitation the | |
| # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit | |
| # persons to whom the Software is furnished to do so, subject to the following conditions: | |
| # The above copyright notice and this permission notice shall be included in all copies or |
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
| diff --git a/libcc1/libcc1plugin.cc b/libcc1/libcc1plugin.cc | |
| index e80ecd8f4b35..e58fa55c0f58 100644 | |
| --- a/libcc1/libcc1plugin.cc | |
| +++ b/libcc1/libcc1plugin.cc | |
| @@ -31,6 +31,8 @@ | |
| #undef PACKAGE_TARNAME | |
| #undef PACKAGE_VERSION | |
| +#define INCLUDE_MEMORY |
NewerOlder