Skip to content

Instantly share code, notes, and snippets.

View italic-r's full-sized avatar

italic italic-r

  • San Francisco, CA
View GitHub Profile
@italic-r
italic-r / .asoundrc
Created April 4, 2022 07:16
Minimal ALSA loopback device config
# ${HOME}/.asoundrc
# =========================================
Base ALSA device targetting loopback device
# =========================================
pcm.SDR_IN {
type hw
card "SDRLB"
device 0
subdevice 0
@italic-r
italic-r / gist:a6dba3d4515051f450160c428e1604c4
Created January 9, 2019 04:01
gqrx udp audio streaming
$ nc -l -u 7355
$ nc -l -u localhost 7355
$ nc -l -u 7355 | aplay -r 48k -f S16_LE -t raw -c 1
$ nc -l -u 7355 | \
sox -t raw -esigned-integer -b16 -r 48000 - -esigned-integer -b16 -r 22050 -t raw - | \
multimon-ng -t raw -a SCOPE -a POCSAG512 -a POCSAG1200 -a POCSAG2400 -f alpha -
$ vlc --demux=rawaud --rawaud-channels=1 --rawaud-samplerate=48000 udp://@:7355
@italic-r
italic-r / .asoundrc
Last active May 11, 2023 19:36
ALSA - Signalink USB
# Use this file for a user-configurable ALSA soundcard setup.
# Place in the user's home folder (/home/ham/.asoundrc).
# This file is built for a Tigertronics Signalink USB, a USB
# soundcard designed to interface a computer with an amateur
# radio transceiver for digital mode operation. This
# configuration allows multiple programs to access the same
# sound device simultaneously without blocking the device.
# This configuration is built on a custom modprobe
# configuration file (/etc/modprobe.d/alsa-base.conf) to
@italic-r
italic-r / CMakeCache.txt
Last active July 7, 2018 20:17
alice_build_log
# This is the CMakeCache file.
# For build in directory: /home/italic/src/meshroom/_build/alicevision
# It was generated by CMake: /home/italic/src/cmake/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
@italic-r
italic-r / .bash_profile
Last active June 9, 2018 18:44
Blender build scripts for Centos7
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
PATH=$HOME/src/phab/arcanist/bin:$PATH
if [ -f $HOME/src/phab/arcanist/resources/shell/bash-completion ]; then
source $HOME/src/phab/arcanist/resources/shell/bash-completion
@italic-r
italic-r / rotate-screen.sh
Last active July 20, 2017 08:50
CF-19 mk3 utility buttons
#!/bin/bash
# This script rotates the screen and touchscreen input 90 degrees each time it is called,
# also enables the virtual keyboard accordingly
# originally by Ruben Barkow: https://gist.github.com/rubo77/daa262e0229f6e398766
# adapted for Panasonic Toughbook CF-19 by nagyrobi
#### configuration
# find your Touchscreen device with `xinput`