Skip to content

Instantly share code, notes, and snippets.

View Mihara's full-sized avatar
😑
What's this newfangled nonsense.

Eugene Medvedev Mihara

😑
What's this newfangled nonsense.
  • A closet
View GitHub Profile
@Mihara
Mihara / filter_confirmed.sh
Last active August 21, 2023 09:20
An exercise in torturing ADIF log files
#!/bin/bash
### This produces a list of all QSOs that are confirmed by *either* LoTW or eQSL
### from a given log file -- in my case, a cqrlog backup file, which keeps
### these flags separately -- to be used with diploma applications that
### accept either of the two and verify them by their own mysterious means.
# Requires:
# * adifmt - https://github.com/flwyd/adif-multitool
# * ripgrep - https://github.com/BurntSushi/ripgrep
;; hack-load-history.el -- Fix broken load-history alist.
;;; Commentary:
;; On Termux and apparently, certain other Android builds of Emacs,
;; something weird happens to load-history at the last stages of
;; initialization. This variable contains the list of all loaded
;; packages and the objects they provide, and mysteriously, one of them
;; turns up nameless.
@Mihara
Mihara / ScreenReflector.cs
Created November 27, 2013 15:10
Let's move that example into a gist and not keep it in the project.
/*
This is an example of getting at a module and it's parameters using reflection.
It's already out of date, but remains here for the benefit of others who need to do something like this in KSP.
Since the whole raster screen project started as an attempt to get a Firespitter MFD to show
what I wanted, I tried to duplicate what Snjo's own FSmonitorInterface class did
to address the screen in my own plugin, without actually duplicating the screen
module itself. That did not work -- KSP loads assemblies in an alphabetical
order, and aggressively checks them for using types that are not currently in memory,
@Mihara
Mihara / build-doc.sh
Created July 24, 2015 17:56
RPM documentation generation
#!/bin/bash
GITDIR=RasterPropMonitor.wiki
HTMLDIR=html
cd `dirname $0`
cd $GITDIR
git pull
#gollum-site import
gollum-site --working --base_path ./ generate