Skip to content

Instantly share code, notes, and snippets.

View ElectroLund's full-sized avatar

Rob ElectroLund

View GitHub Profile
@ElectroLund
ElectroLund / LabWindows data type bug.c
Last active August 14, 2019 19:26
Data type declaration bug on the LabWindows CVI platform.
int timerHandle = 0;
char statusStr[STATUS_MAX_MSG_CHARS];
double servoDuty[3] = {0.98, 2.102, 7.984};
int CVICALLBACK ServoAutoCalibrate (int panel, int control, int event, void *callbackData, int eventData1, int eventData2)
{
int position;
int timerInterval, timerState;
@ElectroLund
ElectroLund / WTF.ahk
Last active August 13, 2019 19:21
snippet of Windows Tagging for Files
/*
File: "WTF.ahk"
Author: Rob Lund
License: freely distributable
Description:
Windows Tags for Files (WTF)
Applies "tags" by renaming selected files in Explorer.
compatible up to Windows 10, except for desktop mode
Tags are mutually exclusive, i.e., you can't have multiple tags on one file.