Category: Nightsavers

Disk space on C: (Windows)

This is draft list of techniques to free space on your system hard drive. Article is written for Windows 7, but it might help you with other versions of Windows. Moving Installer system folder to another harddrive Installer directory (c:\Windows\Installer) is usually one of the most consuming system folders (in my case: it occupies ~6GB).…

JUCE:Projucer hex color paste patch

JUCE is C++ framework for multi-platform VSTi and audio application development (https://juce.com/). It comes with JUCE Projucer IDE that helps a lot with GUI part of plugin development workflow. It is great tool, but color selector GUI component annoyingly lacked ability to accept pasted hex color code. Therefore, I’ve patched color selector GUI component with “paste”…

Doing SPI.Write from class constructor will brick Arduino Pro Micro

I had a small class to manage digpots (MPC410-10), and it all worked well. Until I’ve introduced write call in class constructor (now commented out). void DigPotUnitClass::Write(byte value) { digitalWrite(ChipSelectPin, LOW); SPI.transfer(B00010001); // This tells the chip to set the pot SPI.transfer(value); // This tells it the pot position digitalWrite(ChipSelectPin, HIGH); } DigPotUnitClass::DigPotUnitClass(byte chipSelectPin) { ChipSelectPin…

Solution with multiple SDK projects, automatic NuGet version updating and .nupkg to local repository

Here are some tips/examples on setting up Visual Studio 2017, that helped me streamline development cycle when working with PackageReference / SDK / .NET Standard project types and building NuGet packages. The post covers: Building multiple targets (in this example: .NET 4.0, .NET 4.5 and .NET Standard) Setting different package references for different targets Setting…

SharpShell – Windows Explorer context menu extension (notes)

Some personal development notes on using SharpShell library to develop Windows Explorer context menu extension for Windows 7+ and 64bit platforms: Make sure you checked: Project properties > Application > Assembly Information > Make COM Visible Make your own build of the SharpShell library and tools from the source code – to make sure the…