Skip to content

Instantly share code, notes, and snippets.

View leingang's full-sized avatar

leingang

  • Department of Mathematics, Courant Institute of Mathematical Sciences, New York University @nyumathclinic
  • New York, New York
View GitHub Profile
@leingang
leingang / nyu_colors.py
Last active March 14, 2024 20:06
The NYU Color Palette
from enum import Enum
NYU_VIOLET = "#57068c"
ULTRA_VIOLET = "#8900e1"
MEDIUM_VIOLET1 = "#702b9d"
MEDIUM_VIOLET2 = "#7b5aa6"
LIGHT_VIOLET1 = "#ab82c5"
LIGHT_VIOLET2 = "#eee6f3"
DEEP_VIOLET = "#330662"
BLACK = "#000000"
@leingang
leingang / README.md
Last active May 9, 2024 13:10
Overleaf and Brightspace synchronization with git and Google Drive

Overleaf and Brightspace synchronization with git and Google Drive

Problem

We use Overleaf for collaboratively editing LaTeX documents. But Overleaf does not expose the compiled PDFs with a URL. This means to publish documents written on Overleaf, the PDF needs to be downloaded from Overleaf and uploaded to Brightspace.

  • One copy of the PDF is made for each Brightspace site (section) that publishes it
  • Any changes to the document need to be propagated to all copies
  • The name of the downloaded file is the project name, not the document name.