Skip to content

Instantly share code, notes, and snippets.

View marcusmueller's full-sized avatar

Marcus Müller marcusmueller

View GitHub Profile
options:
parameters:
author: marcus
catch_exceptions: 'True'
category: '[GRC Hier Blocks]'
cmake_opt: ''
comment: ''
copyright: ''
description: ''
gen_cmake: 'On'
@marcusmueller
marcusmueller / justify.py
Last active March 13, 2024 00:25
Justify a text using Python
#! /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
@marcusmueller
marcusmueller / justify.py
Created March 13, 2024 00:05
Justify a text using Python
#! /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
#!/bin/sh
valgrind --log-file=valgrind.log --leak-check=full --show-leak-kinds=definite python3 test.py
grep gr:: valgrind.log
# Copyright 2011 Free Software Foundation, Inc.
#
# This file was generated by gr_modtool, a tool from the GNU Radio framework
# This file is a part of gr-mymod
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
########################################################################
# Include python install macros
#!/bin/sh
port=9999
# start FG in background
./repro6698.py -p $port &
grpid=$!
sleep 0.5
perf record -ag -p $grpid &
sleep 2
options:
parameters:
author: marcus
catch_exceptions: 'True'
category: '[GRC Hier Blocks]'
cmake_opt: ''
comment: ''
copyright: ''
description: ''
gen_cmake: 'On'
options:
parameters:
author: marcus
catch_exceptions: 'True'
category: '[GRC Hier Blocks]'
cmake_opt: ''
comment: ''
copyright: ''
description: ''
gen_cmake: 'On'
options:
parameters:
author: Marcus
catch_exceptions: 'True'
category: '[GRC Hier Blocks]'
cmake_opt: ''
comment: ''
copyright: '2024'
description: ''
gen_cmake: 'On'
# GNU Radio C++ Flow Graph CMakeLists.txt
#
# Title: Fm Tx
# GNU Radio version: v3.11.0.0git-649-gd7cdf222
cmake_minimum_required(VERSION 3.8)
set(CMAKE_CXX_STANDARD 14)
project(fm_tx)