Skip to content

Instantly share code, notes, and snippets.

András Retzler ha7ilm

Block or report user

Report or block ha7ilm

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

How to debug any (non-Qt) executable with QtCreator

  1. Create .gdbinit in the same directory as executable, with the following contents:
set breakpoint pending on
b main
  1. Run this:
View osmocom_source.grc
<?xml version='1.0' encoding='utf-8'?>
<?grc format='1' created='3.7.8'?>
<timestamp>Sun Feb 14 23:22:04 2016</timestamp>
View retzlerandras-icla-diff
Individual Contributor License Agreement ("Agreement")
In order to clarify the intellectual property license granted
with Contributions from any person or entity, Retzler András
(hereinafter referred to as "Project Owner") must have a
Contributor License Agreement ("CLA") on file that has
been signed by each Contributor, indicating agreement to the license
terms below. This license is for your protection as a Contributor as
well as the protection of the Project Owner; it does not change your
rights to use your own Contributions for any other purpose.
ha7ilm / test3.c
Created Dec 2, 2015
stdin behaviour test, 3 processes
View test3.c
#include <stdio.h>
#include <unistd.h>
int main()
pid_t p;
int stat;
int i;
for(i=0;i<3;i++) //<===== that's what changed!
if(!(p = fork()))
ha7ilm / test3.c
Last active Dec 2, 2015
stdin behaviour test
View test3.c
#include <stdio.h>
#include <unistd.h>
int main()
pid_t p;
int stat;
int i;
if(!(p = fork()))
ha7ilm / stereo_phaseshift.c
Last active Aug 29, 2015
Shifts one channel of a 16-bit stereo audio file (for I/Q phase correction)
View stereo_phaseshift.c
#!/usr/bin/tcc -run
#include <stdio.h>
#include <stdlib.h>
//dependencies: sudo apt-get install tcc
//usage: cat sine.raw | ./stereo_phaseshift.c > sine2.raw
//d gives the number of samples to shift:
int d=5, i;
short gs()
View gist:2b7627653b375ac6d6eb
- had to install xorg-edgers and special version of compiz fusion
- guake is broken
- external display should be connected _after_ starting the laptop
- both displays should be placed below/above each other, on the left
View openwebrx-tlko-integration
<div id="tlkio"
style="background-color: white; position:absolute; padding-top: 10px; opacity: 0.95;">
<script async src="" type="text/javascript"></script>
function resize_tlk()
You can’t perform that action at this time.