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.
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 | |
# -*- coding: utf-8 -*- | |
# | |
# SPDX-License-Identifier: GPL-3.0 | |
# | |
# GNU Radio Python Flow Graph | |
# Title: Not titled yet | |
# GNU Radio version: v3.11.0.0git-747-g778912c3 |
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/sh | |
modname="foobar" | |
blockname="nothing" | |
blocktype="hier" | |
rm -rf "gr-${modname}" | |
git commit --allow-empty -m "prior to modtool newmod" | |
gr_modtool newmod "${modname}" | |
echo "build/" > "gr-${modname}/.gitignore" | |
git add .gitignore "gr-${modname}/.gitignore" | |
git commit -m "gitignores" |
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: marcus | |
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
#! /usr/bin/env python3 | |
# SPDX-License-Identifier: GPL-3.0 | |
# | |
# Title: Justify text | |
# Author: Marcus Müller | |
# Copyright: 2024 | |
# | |
# Usage: justify.py [width [file1] [file2] [file…]] | |
# | |
# if no files are specified, read from standard input |
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: GPL-3.0 | |
# | |
# Title: Justify text | |
# Author: Marcus Müller | |
# Copyright: 2024 | |
# | |
# Usage: justify.py [width [file1] [file2] [file…]] | |
# | |
# if no files are specified, read from standard input |
NewerOlder