Skip to content

Instantly share code, notes, and snippets.

@Shinobs11
Shinobs11 / prefixed-office-properties.md
Created February 20, 2024 19:15 — forked from p3t3r67x0/prefixed-office-properties.md
MS Office prefixed style properties can be used for older versions of MS Excel, MS PowerPoint or MS Word when you want to save a document, presentation, workbook, or worksheet as a web document, or even in older versions for MS Outlook.

MS Office prefixed style properties

mso-ansi-font-size

Note: Office only

mso-ansi-font-size: large | larger | <length> | medium | <percentage> | small | smaller | x-large | x-small | xx-large | xx-small
@Shinobs11
Shinobs11 / cs35l41_spi.md
Created September 19, 2023 19:24 — forked from lamperez/cs35l41_spi.md
CS35L41 amplifiers in an ASUS Zenbook on linux

Asus Zenbook UX3402 speakers on Linux

I got the speakers working on my Asus Zenbook 14 OLED UX3402, the one with Intel CPU and the two CS35L41 audio amplifiers connected over SPI (not the UM3402YA, with AMD and I²C). The amplifiers are supported by the snd_hda_scodec_cs35l41 module in recent kernel versions, but they require some model-specific configuration paramaters, that should be provided by the BIOS, via ACPI. Of course, they are missing. It seems that the Windows drivers have those parameters somehow hardcoded, instead of using ACPI (bad idea, but who am I to criticise). Since Asus has been nasty and refused/was not able to update the BIOS with the missing data, I have patched the ACPI tables myself.

Warning
As stated by Cirrus developers, if you try this there is a non-zero (low, I hope) possibility of

@Shinobs11
Shinobs11 / custom_acpi_tables.md
Created September 19, 2023 19:24 — forked from lamperez/custom_acpi_tables.md
Load custom ACPI tables

Keybase proof

I hereby claim:

  • I am shinobs11 on github.
  • I am shinobs11 (https://keybase.io/shinobs11) on keybase.
  • I have a public key ASCrUFhny5Qg9GvloihyKVGi36uiKeA0WgEmOzFMI6d8LAo

To claim this, I am signing this object: