Skip to content

Instantly share code, notes, and snippets.

View devzendo's full-sized avatar
💭
Current focus: Multithreaded rust for the digimorse project.

Matt Gumbley devzendo

💭
Current focus: Multithreaded rust for the digimorse project.
View GitHub Profile
@devzendo
devzendo / wsjtx-2.1.0-crash.txt
Created August 16, 2019 08:05
wsjt-x 2.1.0 crash on startup when previously decoding FT8 in 2.0.1
Process: wsjtx [25389]
Path: /Applications/wsjtx.app/Contents/MacOS/wsjtx
Identifier: org.k1jt.wsjtx
Version: v2.1.0 (2.1.0)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: wsjtx [25389]
User ID: 504
Date/Time: 2019-08-15 18:29:40.462 +0100
@devzendo
devzendo / gist:3a474908b71b66ffa9d7
Created June 6, 2015 14:44
Getting started with Arduino Micro, 1602A LCD, I2C LCD backpack.
# Using https://arduino-info.wikispaces.com/LCD-Blue-I2C
#include <LiquidCrystal_I2C.h>
#include <Wire.h>
LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);
void setup() {
lcd.begin(16, 2);
<html>
<head>
<title>N0NBH Solar Forecast</title>
</head>
<body>
<center>
<a href="http://www.hamqsl.com/solar.html" title="Click to add Solar-Terrestrial Data to your website!"><img src="http://www.hamqsl.com/solar2.php"></a>
</center>
</body>
@devzendo
devzendo / lib2.patch
Created July 21, 2014 10:29
Patch to rename unixODBC 2.3.0 .so's
diff -bruN unixODBC-2.3.0.orig/configure unixODBC-2.3.0/configure
--- unixODBC-2.3.0.orig/configure 2010-02-23 12:30:55.000000000 +0000
+++ unixODBC-2.3.0/configure 2014-07-18 15:54:10.504355989 +0100
@@ -15892,7 +15892,7 @@
$as_echo "#define UNIXODBC_SOURCE /**/" >>confdefs.h
-LIB_VERSION="1:0:0"
+LIB_VERSION="2:0:0"
Summary: A complete ODBC driver manager for Linux
Name: unixODBC
Version: 2.3.0
Release: 1%{?dist}
Group: System Environment/Libraries
URL: http://www.unixODBC.org/
# Programs are GPL, libraries are LGPL, except News Server library is GPL.
License: GPLv2+ and LGPLv2+
Source: http://www.unixODBC.org/%{name}-%{version}.tar.gz
@devzendo
devzendo / pom.xml
Created July 23, 2013 13:20
Netty Native pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2013 The Netty Project
~
~ The Netty Project licenses this file to you under the Apache License,
~ version 2.0 (the "License"); you may not use this file except in compliance
~ with the License. You may obtain a copy of the License at:
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
@Test
public void test() {
NarSystem.loadLibrary();
UnpooledNativeByteBufAllocator allocator = UnpooledNativeByteBufAllocator.DEFAULT;
ByteBuf buf = allocator.directBuffer();
Assert.assertTrue(buf.isDirect());
buf.release();
Assert.assertEquals(0, buf.refCnt());
}
@devzendo
devzendo / pom.xml fragment
Last active December 20, 2015 01:49
A pom.xml fragment for building a Maven NAR project.
<properties>
<MSC>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC</MSC>
<SDK>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A</SDK>
<!-- Tests via nar are run in the integration test phase, so turn off the normal test phase. -->
<skipTests>true</skipTests>
</properties>
...
<plugin>
<!-- Not officially released into Central Maven yet, so use a version that is. -->