Skip to content

Instantly share code, notes, and snippets.

@coolacid
coolacid / gist:7c65a8328a415b7f400487db6a7fe939
Last active Dec 23, 2019
Add overlay files from a HTTP or TFTP server
View gist:7c65a8328a415b7f400487db6a7fe939
See https://github.com/coolacid/Buildroot-overlay
@coolacid
coolacid / instructions.md
Created Jan 4, 2019
Non-Forensic backup of an HDD
View instructions.md

Expectation of you doing this on a linux box.

First, mount the drive, clean any non-required files that you don't want (Swap/Hibernate etc).

Next: Write zero's to the free space, this makes the compression better:

cd [drive root]
dd if=/dev/zero of=zero
rm zero
View gist:f88d30103e0317bb5b40a60756e94c96
wget https://apt.puppetlabs.com/puppet6-release-xenial.deb
sudo dpkg -i puppet6-release-xenial.deb
sudo apt update
sudo apt install puppet-agent
View gist:4c9d5113070bd4140f46f1a2d402019a
# Ubuntu Server 18.04 Base
wget -q -O - https://apt.mopidy.com/mopidy.gpg | sudo apt-key add -
sudo wget -q -O /etc/apt/sources.list.d/mopidy.list https://apt.mopidy.com/stretch.list
apt update
sudo apt-get install \
build-essential git autotools-dev autoconf libtool gettext gawk gperf \
antlr3 libantlr3c-dev libconfuse-dev libunistring-dev libsqlite3-dev \
libavcodec-dev libavformat-dev libavfilter-dev libswscale-dev libavutil-dev \
libasound2-dev libmxml-dev libgcrypt11-dev libavahi-client-dev zlib1g-dev \
View gist:b22279269769cf093813b55fb1a10473
#!/bin/bash
# Modified by Coolacid -
################################################################################
# This is property of eXtremeSHOK.com
# You are free to use, modify and distribute, however you may not remove this notice.
# Copyright (c) Adrian Jon Kriel :: admin@extremeshok.com
################################################################################
#
# Script updates can be found at: https://github.com/extremeshok/xshok-proxmox
#
@coolacid
coolacid / Notes
Created Mar 21, 2018
Roxio GameCAP - HU348-E
View Notes
Trident SAA7136E/1/G - Video Controller
eMPIA EMP202 - Sound Chip: http://pdf.dzsc.com/20090227/200902170324029859.pdf
eMPIA EM28480P - USB Controller
@coolacid
coolacid / Relevant Logs
Created Mar 20, 2018
Echolink Error - "Cannot find DB entry for IP addr [blank]"
View Relevant Logs
[Mar 10 14:32:34] NOTICE[31925]: app_rpt.c:11357 connect_link: Connect attempt to node 3009999
[Mar 10 14:32:34] NOTICE[31925]: app_rpt.c:11358 connect_link: Mode: Transceive
[Mar 10 14:32:34] NOTICE[31925]: app_rpt.c:11359 connect_link: Connection type: Normal
[Mar 10 14:32:34] NOTICE[31925]: app_rpt.c:11500 connect_link: rpt (remote) initiating call to echolink/el0/204.236.179.116 on echolink/el0-5
[Mar 10 14:32:34] ERROR[31925]: chan_echolink.c:2578 do_new_call: Cannot find DB entry for IP addr
[Mar 10 14:32:34] NOTICE[31925]: app_rpt.c:10560 rpt_telemetry: Tracepoint rpt_telemetry() entered mode=3
[Mar 10 14:32:34] NOTICE[31925]: app_rpt.c:10560 rpt_telemetry: Tracepoint rpt_telemetry() entered mode=46
[Mar 10 14:32:34] NOTICE[31925]: app_rpt.c:10851 rpt_telemetry: Tracepoint rpt_telemetry() exit
@coolacid
coolacid / gist:4f9b56f0150c2259ae0812230a3ad456
Created Sep 12, 2017
Physical Issue - RF/Atmel interference?
View gist:4f9b56f0150c2259ae0812230a3ad456
Working on a board where we have an Atmel creating audio for an on board transiver. The atmel is a atmega328p with external
crystal clock. The transiver is the DRA818V.
On low transmit power, everything seems to work fine. However, when we place the DRA into high power (1W) it appears the
atmel locks up. We can't be sure if this is a result of interference with the crystal, or with the atmel directly.
Checking for power dips on the 5v line, and we didn't identify any power drop.
Checking for any RF on the power line and also didn't see anything on a scope.
Any thoughts would be welcomed.
View gist:5a8ccc0f277ecce58f7bb75bcb1513b9
Resetting Radio ...
... done
Resetting GPS module ...
... done
Starting Wifi/Web ...
... done
RADIO: Starting Up
RADIO: Radio Setup
RADIO: +DMOCONNECT:0
RADIO: +DMOSETGROUP:0
View gist:9bb3285328113a10e8fb2b4423cfb9b8
nc -l -u localhost 7355 | sox -t raw -esigned-integer -b 16 -r 48000 - -esigned-integer -b 16 -r 22050 -t raw - | multimon-ng -t raw -a POCSAG512 -a POCSAG1200 -a POCSAG2400 -f alpha -