This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (* | |
| 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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| '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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * 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.'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | |