Skip to content

Instantly share code, notes, and snippets.

View nickrobinson's full-sized avatar

Nick Robinson nickrobinson

View GitHub Profile
@nickrobinson
nickrobinson / sticky_banner.css
Last active September 23, 2020 19:08
stickyBanner
/* Style the header */
.header {
padding: 10px 16px;
background: #555;
color: #f1f1f1;
}
/* Page content */
.content {
padding: 16px;
(feat|fix|docs|style|refactor|perf|test|chore)[optional scope]: <description>
Related:
-
@nickrobinson
nickrobinson / test.js
Last active May 20, 2020 00:44
test.js
(function ()
{
window.onload = function() {
console.log('page loaded');
};
}());
@nickrobinson
nickrobinson / ksdr.md
Last active November 25, 2019 12:58
Kerberos SDR Notes

Kerberos SDR Notes

Programs

C

rtl_daq

Overview

rtl_daq is responsible for capturing and passing IQ data from each of the 4 receivers on the Kerberos SDR to additional stages. In the case of the Kerberos SDR code example rtl_daq passes IQ data straight to the sync application.

Inputs

Input can be sent to the rtl_daq program by writing to a particular FIFO queue (_receiver/C/rec_control_fifo).

Keybase proof

I hereby claim:

  • I am nickrobinson on github.
  • I am nrobinson (https://keybase.io/nrobinson) on keybase.
  • I have a public key whose fingerprint is BA67 E277 DB30 AD8D 7657 C4F4 1FF4 1DAE 36BE 6FF8

To claim this, I am signing this object:

from rtlsdr import RtlSdr
import struct
import numpy as np
sdr = RtlSdr()
# configure device
sdr.sample_rate = 2.048e6 # Hz
sdr.center_freq = 100e6 # Hz
sdr.freq_correction = 60 # PPM
@nickrobinson
nickrobinson / iio_gqrx_mac.md
Created October 20, 2018 13:07
GQRX Support for Pluto
@nickrobinson
nickrobinson / interesting_tools.md
Created August 12, 2018 12:31
Interesting Tools
@nickrobinson
nickrobinson / strategy.js
Created August 12, 2018 01:14
Strategy Example
https://repl.it/repls/ClumsyNeatCoordinates
@nickrobinson
nickrobinson / graph.py
Created June 4, 2018 20:23
Flask Graph Generation
from flask import Flask, make_response
app = Flask(__name__)
@app.route("/simple.png")
def simple():
import datetime
from io import BytesIO
import random
from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas