Skip to content

Instantly share code, notes, and snippets.

View visualkom's full-sized avatar

Antonio La Scala visualkom

View GitHub Profile
@ceruleancerise
ceruleancerise / ExportToJSON.bas
Last active September 29, 2026 18:33
OpenOffice / LibreOffice: .ods Export To JSON (BASIC Macro)
REM ***** BASIC *****
'Exports sheet(s) to JSON in this file's directory under their sheet name.'
'Booleans are exported as int (1 = true, 0 = false).'
SUB JSONExportAll
sheets = ThisComponent.Sheets
numSheets = sheets.Count
@hsiboy
hsiboy / Yamaha_SPX900-Repair_Notes.txt
Last active September 21, 2026 10:26
Yamaha SPX 900 - Repair Notes
Yamaha SPx900 – repair log
-- FAULT --
Noted fault, "BATTERY LOW" warning on switch on, not passing audio.
Inspection revealed that a new battery was in place (reading 3.1v) and at some point, the 4 electrolytic capacitors on the PSU board had been replaced as well as the reservoir capacitor C163 across the 5v rail on the main board.
The display was very faint, and the LED backlight very dim. The display was original.
@felixgirault
felixgirault / noUiSliderA11y.js
Last active May 22, 2026 15:01
Accessible noUiSlider
/**
* Adds an accessibility layer to the default noUiSlider.
*
* @see $.fn.noUiSlider()
*/
$.fn.noUiSliderA11y = function(options, rebuild) {
var slider = this;
if (!('noUiSlider' in slider)) {
throw new Error('noUiSlider is not loaded.');
'OpenOffice Basic macro for exporting a .ods spreadsheet to JSON (and CSV)
'Project-specific formating I implemented: cull empty or "0" entries, '^' as separator value for the csv
REM ***** BASIC *****
Sub Main
'First export to CSV which we will later use as the source for the export to json
Dim Propval(1) as New com.sun.star.beans.PropertyValue
Propval(0).Name = "FilterName"
@lgw4
lgw4 / vacuum_apple_mail_envelope_index.scpt
Last active October 23, 2019 10:25
Vacuum Apple Mail Envelope Index
(*
Speed up Mail.app by vacuuming the Envelope Index
Code from: http://www.hawkwings.net/2007/03/03/scripts-to-automate-the-mailapp-envelope-speed-trick/
Originally by "pmbuko" with modifications by Romulo
Updated by Brett Terpstra 2012
Updated by Mathias Törnblom 2015 to support V3 in El Capitan and still keep backwards compability
*)
tell application "Mail" to quit
set os_version to do shell script "sw_vers -productVersion"