-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitignore
More file actions
executable file
·168 lines (148 loc) · 4.76 KB
/
Copy path.gitignore
File metadata and controls
executable file
·168 lines (148 loc) · 4.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
# ============================================================
# Privacy safety net — THIS REPO IS PUBLIC
# ============================================================
# Documents and media are never part of the published site: course PDFs,
# lectures and readings are private, and personal files have drifted in here
# before (a vocab .xlsx into js/, an ebook into scripts/). Ignore these formats
# repo-wide so a stray `git add .` can't publish them. Nothing of these types
# has ever been committed, so this breaks nothing.
# To publish one deliberately, force it: git add -f <path>
*.pdf
*.docx
*.doc
*.epub
*.xlsx
*.xls
*.pptx
*.ppt
*.m4a
*.mp3
*.heic
# Archives too.
*.zip
*.tar
*.tgz
*.gz
*.rar
*.7z
# ============================================================
# Dependencies & build
# ============================================================
# Node.js dependencies
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Logs
logs/
*.log
*.log.*
# Build output
dist/
build/
# ============================================================
# OS & editor files
# ============================================================
# OS generated files
.DS_Store
Thumbs.db
# Temporary files
*.tmp
*.swp
*.swo
*.bak
# ============================================================
# Git & deploy
# ============================================================
# Git files
.git/
.vercel
# ============================================================
# Tooling
# ============================================================
# design-sync: staged scripts, generated bundle, machine state and inputs.
# All of it is local tooling, not site source.
.ds-sync/
ds-bundle/
.design-sync/
# Component spec files are tooling input, not site content.
*.prompt.md
# Working docs (handoffs, plans, specs)
docs/
# ============================================================
# Posts & media
# ============================================================
# Media files
*.mov
*.mp3
# Forbidden post entries
/posts/entries/004-*.md
/posts/entries/010-*.md
/posts/entries/013-*.md
/posts/entries/015-*.md
/posts/entries/016-*.md
/posts/entries/018-*.md
/posts/entries/019-*.md
# ============================================================
# Course notes (notes/courses/)
# ============================================================
# Forbidden course materials. Course subfolders use one lowercase-plural name
# per category (books/ lectures/ exams/ quizzes/ hw/ recitations/ readings/
# notes/ code/), so these patterns are lowercase and match on Linux too, not
# just via macOS core.ignorecase.
/notes/courses/*/*hw*
/notes/courses/*/*lab*
/notes/courses/*/*book*
/notes/courses/*/*exam*
/notes/courses/*/*note*
/notes/courses/*/*code*/
/notes/courses/*/*lecture*
/notes/courses/*/*reading*
/notes/courses/*/*exercise*
/notes/courses/*/*syllabus*
/notes/courses/*/*recitation*
/notes/courses/*/*.pdf
/notes/courses/*/*/assets
# ...and the same source-material binaries at ANY depth — the single-level rules
# above miss subfolders like presentations/ or fordlandia/, which is how the
# course .pptx/.pdf slides slip in. Keep copyrighted materials out of the repo.
/notes/courses/*/**/*.pdf
/notes/courses/*/**/*.ppt
/notes/courses/*/**/*.pptx
/notes/courses/*/**/*.doc
/notes/courses/*/**/*.docx
/notes/courses/*/**/*.key
/notes/courses/*/**/assets/
# Saved practice-exam pages are copyrighted source material; the PDFs above are
# already ignored, so keep the accompanying HTML out too.
/notes/courses/*/**/*.html
# Local study material (practice exams/quizzes + personal review sheets) — kept
# out of the published site; not listed in any index.json. Built by exams/ into
# exam-prep/{quizzes,midterm,final}/ via the data files' meta.out paths.
/notes/courses/CSCI-UA-470/exam-prep/
# Final project (CSCI-UA-470) is co-authored group work. The graded report
# carries both partners' NetIDs and the canonical copy is the partner's repo,
# so the source, reports and zips stay local. Only a write-up gets published.
/notes/courses/CSCI-UA-470/Final project/
# Exam-shell SOURCE must stay tracked. The "*exam*" rule above ignores "exams",
# so re-include the dir and its contents. Built exams still land in the ignored
# study dirs above.
!/notes/courses/CSCI-UA-470/exams/
!/notes/courses/CSCI-UA-470/exams/**
# Practice question banks are personal study material too. Keep their source
# local even though the reusable exam-shell source above stays tracked.
/notes/courses/CSCI-UA-470/exams/data/
/notes/courses/CSCI-UA-470/exams/final.test.js
# Hidden courses
/notes/courses/FYSEM*
/notes/courses/EXPOS*
/notes/courses/J*
/notes/courses/CORE*
# Insufficient content
/notes/courses/CSCI-UA-101
/notes/courses/CSCI-UA-102
/notes/courses/MATH-UA-32*
/notes/courses/MATH-UA-148
# Haven't taken yet
/notes/courses/CSCI-UA-474
/notes/courses/CSCI-UA-469