Skip to content

Instantly share code, notes, and snippets.

View niklasdewally's full-sized avatar

Niklas Dewally niklasdewally

View GitHub Profile
@PlisJan
PlisJan / TbColorCategories.md
Last active January 14, 2024 18:19
Thunderbird color by categories (working on v115.2.0)

Thunderbird color by categories

  • Navigate to Help > Troubleshooting Information > Profile Directory > Open Directory
  • Close Thunderbird
  • Create a folder named chrome (all lowercase)
  • Create a file named userChrome.css
  • Insert
/* Calendar  - set event category colour instead of calendar colour */

.calendar-category-box{ margin:0 0 0 -200px !important; min-width: 200px !important; } 
@voidexp
voidexp / go-env-with-msys2.md
Last active January 10, 2025 00:57
Go development environment on Windows with MSYS2

Go development environment on Windows with MSYS2

Normally, it is sufficient to grab the Go MSI installer from the website in order to set up the toolchain. However, some packages that provide Go wrappers for C libraries rely on cgo tool, which in turn, needs the GCC toolchain in order to build the glue code. Also, 3rd-party dependencies are usually hosted on services like GitHub, thus Git is also needed. This mini-guide illustrates how to setup a convenient development environment on Windows using MSYS2.

@zmwangx
zmwangx / markdown-latex-etc.md
Last active April 26, 2024 12:37
An incomplete guide to Markdown, LaTeX, and more, initially written for Jiawen Li.

Markdown, LaTeX, etc.

Caution

  • (10/30/2016) I am not sure when and how this gist gained quite a few stars... But as stated in the v1.13 change log (from 06/16/2015): some content may be outdated, and I am not going to fix them. Moreover, having learned much myself, I do not necessarily agree with every point made in this document from 2.5 years ago. Therefore, please take views from this document with a grain of salt, and do further research as you see fit.

  • This document was initally written for a friend of mine, Jiawen Li, so it might reflect some personal tastes here and there. For instance, some discussions are geared towards Windows, though *nix is obviously superior. For another example, when I say "you seem to love Sublime Text a lot," I'm certainly not expecting most people to love Sublime (in fact I never used it for more than three minutes in a row).

  • This document is written in Markdown. The Markdown rendering engine on GitHub Gist is somewhat limited a