Skip to content

Instantly share code, notes, and snippets.

@dmaltsiniotis
dmaltsiniotis / mandelbrot.fs
Last active April 22, 2019 16:51
A tiny mandelbot fractal generator written in F#
open System.Numerics
open System.Drawing
let mandelbrotTest c z = Complex.Pow(z, 2.0) + c
let rec inSet c iterations z =
let i = iterations - 1
let newz = mandelbrotTest c z
if newz.Magnitude > 2.0 then (c, false, i) else
if iterations > 0 then inSet c i newz else (c, true, i)
@dmaltsiniotis
dmaltsiniotis / hackrf_win_build.md
Created November 9, 2022 22:45
How to build hackrf host tools with modern versions of visual studio.

HackRF One Host Tools Build Notes

Download an install Visual Studio (community edition)

You may use any version from Visual Studio 2015 onwards. The slighly different cmake commands for each version of Visual Studio are oulined below, just make sure to use the one that corresponds to your particular installation.

When installing Visual Studio, make sure to select the "Desktop development with C++" workload, which automatically includes the cmake dependecies we'll need later on.

Download and install cmake

@dmaltsiniotis
dmaltsiniotis / SDR.md
Created March 8, 2023 04:17
A quick overview of popular SDR apps and utilities

The "S" of DR

This is a quick, non-exhaustive list of SDR applications and utilities. I know these application to work with a HackRF One SDR, and have used each one at one time or another.

For receive-based goals: If you'd like to do some basic frequency spectrum scanning/listening, there are a few of really good (free) SDR apps that come with basic de-modulators build-in such as: AM, wide-band FM, narrow-band FM, single and double side-band and more listed below.

For transmit-based goals, GNU Radio is probably the best choice because you can customize your transmission needs exactly. However, there is a steep learning curve.

Software companions to SDR hardware