Skip to content

Instantly share code, notes, and snippets.

View aaronbrown1988's full-sized avatar

Aaron Brown aaronbrown1988

View GitHub Profile
@aaronbrown1988
aaronbrown1988 / wsjtx-custom-upload.patch
Created January 22, 2019 11:07
A patch for WSJTX for uploading to a custom WSPR spot repository
diff --git a/Configuration.cpp b/Configuration.cpp
index cb0566c..e81ac55 100644
--- a/Configuration.cpp
+++ b/Configuration.cpp
@@ -630,6 +630,7 @@ private:
DataMode data_mode_;
bool pwrBandTxMemory_;
bool pwrBandTuneMemory_;
+ QString wsprnetUrl_;
@aaronbrown1988
aaronbrown1988 / wsprservice.js
Created February 3, 2019 23:06
WSPR spot service cloud Function
/**
* Super simple cloudfunction to catch WSPR spots and pass them on.
*/
var request = require('request')
const Datastore = require('@google-cloud/datastore');
const datastore = new Datastore();
function validate(query) {
if (query == null || !query) {
@aaronbrown1988
aaronbrown1988 / gmx.dockerfile
Last active April 1, 2019 11:05
Gromacs Dockerfile
FROM ubuntu:latest
RUN apt-get update && apt-get upgrade -y && apt-get install -y build-essential cmake git libfftw3-dev libfftw3-3
RUN git clone git://git.gromacs.org/gromacs.git gromacs
RUN mkdir build output input
WORKDIR build
RUN cmake ../gromacs
RUN make -j4
WORKDIR /output
@aaronbrown1988
aaronbrown1988 / private-ui.yaml
Last active February 6, 2022 22:59
Private Serverless Web app deployment
AWSTemplateFormatVersion: "2010-09-09"
Transform: "AWS::Serverless-2016-10-31"
Description: "VPC contrained Serverless React App"
Parameters:
pDeploymentEnvironment:
Type: String
Description: Name of the environment
Default: dev
@aaronbrown1988
aaronbrown1988 / WSJTX.Dockerfile
Created January 22, 2019 11:11
A docker file for building WSJTX
FROM ubuntu:latest
ENV TZ 'Australia/Melbourne'
RUN echo $TZ > /etc/timezone && \
apt-get update && apt-get upgrade -y && \
apt-get install -y tzdata && \
rm /etc/localtime && \
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
dpkg-reconfigure -f noninteractive tzdata && \
apt-get install -y autoconf automake libtool cmake git && \