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
| /* poll_input.c | |
| Licensed under GNU General Public License v2 or later. | |
| */ | |
| #include <fcntl.h> | |
| #include <poll.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <sys/types.h> | |
| #include <unistd.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
| #!/usr/bin/env python3 | |
| # SPDX-license-identifier: EUPL-1.2 | |
| # Copyright 2025 Marcus Müller | |
| # | |
| import libarchive | |
| import pathlib | |
| def main(path: pathlib.Path, howmany: int = 0) -> None: | |
| with libarchive.file_reader(str(path)) as archive: |
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 2025 Marcus Müller | |
| * SPDX-license-identifier: EUPL-1.2 | |
| */ | |
| #import "@preview/cineca:0.5.0" | |
| // Make page landscape | |
| #set page( | |
| "a4", | |
| flipped: true, | |
| columns: 2, |
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 2025 Marcus Müller | |
| * SPDX-license-identifier: EUPL-1.2 | |
| * | |
| * Needs C++17 or later, and fmt, which you should easily be able to install from your | |
| * package manager. | |
| */ | |
| #include <fcntl.h> | |
| #include <fmt/chrono.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
| options: | |
| parameters: | |
| alias: '' | |
| author: "Marcus M\xFCller" | |
| catch_exceptions: 'True' | |
| comment: '' | |
| copyright: '20256' | |
| description: '' | |
| gen_linking: dynamic | |
| generate_options: no_gui |
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 python3 | |
| # Copyright 2025 Marcus Müller | |
| # SPDX-License-Identifier: EUPL-1.2 | |
| # | |
| from bs4 import BeautifulSoup | |
| from itertools import chain | |
| import logging | |
| import re | |
| import sys |
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
| options: | |
| parameters: | |
| author: Barry Duggan | |
| catch_exceptions: 'True' | |
| category: '[GRC Hier Blocks]' | |
| cmake_opt: '' | |
| comment: '' | |
| copyright: '' | |
| description: '' | |
| gen_cmake: 'On' |
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
| #!/bin/bash | |
| # needs gh (off. github CLI) + jq | |
| # | |
| inviter="$1" | |
| tmpdir="$(mktemp -d)" | |
| gh api \ | |
| -H "Accept: application/vnd.github+json" \ | |
| -H "X-GitHub-Api-Version: 2022-11-28" \ |
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 multiply (clk, a, b, result); | |
| input clk; | |
| input [7:0] a; | |
| input [7:0] b; | |
| output [15:0] result; | |
| always @(posedge clk) | |
| result = a * b; | |
| endmodule // multiply |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder