Skip to content

Instantly share code, notes, and snippets.

@Raggles
Raggles / StyleFinder.cs
Created May 8, 2018 01:13
Finds the styles used in a ArchestrA Graphic
using System;
using ArchestrA.GRAccess;
using ArchestrA.Visualization.GraphicAccess;
using System.Xml.Linq;
using System.Linq;
using System.Collections.Generic;
using System.IO;
namespace StyleFinder
{
@Raggles
Raggles / OMI Alarm Acker
Last active April 4, 2022 12:59
Method for acking all alarms via push button in OMI
'In an action script for a push button, add the following code
dim psi as System.Diagnostics.ProcessStartInfo;
psi = new System.Diagnostics.ProcessStartInfo();
'Edit this path as required
psi.FileName = "C:\Scripts\AckAllAlarms.exe";
psi.RedirectStandardInput = true;
psi.RedirectStandardOutput = false;
psi.UseShellExecute = false;
psi.CreateNoWindow = true;
System.Diagnostics.Process.Start(psi);
@Raggles
Raggles / NZISM.cs
Last active November 30, 2017 08:33
NZISM Spreadsheet Generator
using System.IO;
using System.Text.RegularExpressions;
using OfficeOpenXml;
using System.Drawing;
namespace NZISMSpreadsheetGenerator
{
class Program
{
static void Main(string[] args)
using System;
using System.IO;
namespace ASECaptureRepair
{
class Program
{
static void Main(string[] args)
{
string fileName = args[0];
%%concap recrod plotter
function plotter (filename)
rec = csvread(filename);
time = 1:length(rec);
time = time.*0.05;
plot(rec(:,3),rec(:,4), ".r",rec(:,5),rec(:,6), ".b")
xlabel("I1/I2");
ylabel("Q1/Q2");
title("Constellation map");
%%concap recrod splitter
function splitter (strFilename)
intRecordNumber = 1;
fid = fopen(strFilename);
bEOF = false;
while (!bEOF)
strLine = fgetl(fid);
if (strLine == -1)
bEOF = true;
### Keybase proof
I hereby claim:
* I am Raggles on github.
* I am hamish (https://keybase.io/hamish) on keybase.
* I have a public key whose fingerprint is 63E2 2A2E 7630 5194 BDC0 6D18 C449 A064 FCE6 0671
To claim this, I am signing this object:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;
using System.Threading;
using System.Net;
namespace HC.SseTcpListenerPassThru
{