$ cat input.csv | python3 -c 'import sys, csv; csv.writer(sys.stdout).writerows(zip(*csv.reader(sys.stdin)))' > output.csv
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 std::sync::mpsc; | |
| use std::{thread, time}; | |
| struct Guard { | |
| tx: mpsc::SyncSender<bool>, | |
| } | |
| impl Drop for Guard { | |
| fn drop(&mut self) { | |
| println!("in drop about to send"); |
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
| require 'openssl' | |
| require 'base64' | |
| key = OpenSSL::PKey.read File.read 'dev.key' | |
| puts key.verify nil, Base64.urlsafe_decode64("MCHUTLtnvaAJSv6wwZgvfLIXQYWXH-KH8hygHX1xQ18E5H9GNAWoGqNwyeNSkEsMCLldG0LfL7OZwY3tvTd5CQ=="), "rez:1744330731" |
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 rusqlite::{ | |
| Connection, Result, | |
| auto_extension::{RawAutoExtension, register_auto_extension}, | |
| }; | |
| use sqlite_vec::sqlite3_vec_init; | |
| use zerocopy::IntoBytes; | |
| #[cfg(test)] | |
| mod tests { | |
| use super::*; |
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
| struct Value(Formattable): | |
| var value: Float64 | |
| fn __init__(inout self, value: Float64): | |
| self.value = value | |
| fn format_to(self, inout writer: Formatter): | |
| writer.write("Value(", self.value, ")") | |
| def main(): | |
| v = Value(33) |
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
| // Copyright (C) 2024 Andrew Wason | |
| // SPDX-License-Identifier: MIT | |
| import * as D from 'decoders'; | |
| export namespace Animation { | |
| export type Properties<P> = { | |
| [Property in keyof P]?: number; | |
| }; |
Asbury Park Happy Hours moved to https://rectalogic.github.io/asburypark/
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
| from __future__ import annotations | |
| import typing as ta | |
| # https://stackoverflow.com/questions/64161037/how-can-i-use-mypy-to-overload-the-init-method-to-adjust-a-getters-return-v | |
| T = ta.TypeVar("T", covariant=True) | |
| RT = ta.TypeVar("RT") | |
NewerOlder



