-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Primer Spec theme #22
Open
seshrs
wants to merge
6
commits into
tekknolagi:main
Choose a base branch
from
seshrs:primer-spec
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
1aa1071
Add Primer Spec config
seshrs 905292d
Modify pages to use Primer Spec
seshrs 0b2e715
Add codeblock titles and highlight
seshrs 75483e2
Clean up unecessary dependencies in Gemfile
seshrs a5732a4
Merge remote-tracking branch 'upstream/main' into primer-spec
seshrs fb2f03a
Undo unnecessary changes
seshrs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
# frozen_string_literal: true | ||
source 'https://rubygems.org' | ||
|
||
group :jekyll_plugins do | ||
gem 'github-pages' | ||
gem 'jekyll-theme-primer' | ||
# Jekyll requires webrick, but it is no longer bundled with Ruby 3 | ||
# https://github.com/jekyll/jekyll/issues/8523 | ||
gem 'webrick' | ||
end |
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
--- | ||
layout: spec | ||
--- | ||
|
||
# Homework 1: CLI, Investigative | ||
|
||
## Important: use Bash! | ||
|
||
<div class="primer-spec-callout danger" markdown="1"> | ||
For this and all future assignments, please make sure you are using Bash as | ||
your shell, as that's what this course will focus on for the reasons described | ||
in [lecture](../lecture-notes/1-cli.html). The Tufts CS department's default | ||
shell for new users is tcsh, so unless you've asked to have yours | ||
shell for new users is `tcsh`, so unless you've asked to have yours | ||
changed[^change-shell], you'll need to run `bash -l` *each time you connect to | ||
the server prior to working on coursework*. Your prompt won't look any | ||
different after running this command, but you can run `echo $0` to check which | ||
|
@@ -21,6 +22,7 @@ shell you're using. | |
database of students and staff, which only the department administrators | ||
can modify. To change your default shell to bash, write an email to | ||
[[email protected]](mailto:[email protected]). | ||
</div> | ||
|
||
## CaLIsthenics: what's on the homework server? | ||
|
||
|
@@ -73,10 +75,12 @@ syllabus for an example) with each: | |
extension. We do not care about whitespace, field order, or whether each | ||
line includes extra fields beyond these two. | ||
|
||
<div class="primer-spec-callout info" markdown="1"> | ||
*Hint:* `\.[^/.]*$` is a regular expression that matches a literal dot | ||
(`.`), followed by any number of characters that are not a dot or a forward | ||
slash, followed by the end of a line. In other words, it matches the | ||
extension of files from line(s) containing file paths. | ||
</div> | ||
|
||
This is not a trivial problem. Expect to have several different commands in | ||
your pipeline. Please ask for help early if you are struggling. | ||
|
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
--- | ||
layout: spec | ||
--- | ||
# Homework 4: VCS, Constructive | ||
|
||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
--- | ||
layout: spec | ||
--- | ||
# Homework 5: BLD, Investigative | ||
|
||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
--- | ||
layout: spec | ||
--- | ||
# Homework 6: BLD, Constructive | ||
|
||
## Build me up, buttercup | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
--- | ||
layout: spec | ||
--- | ||
# Homework 7: COR, Investigative | ||
|
||
|
This file contains 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you pin this to a tag or branch in your repository? Right now it tracks a moving target and might cause our site to change unexpectedly without any explicit action from us.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great question! Primer Spec uses Semantic versioning, and I usually only release minor version bumps between semesters at the University of Michigan.
Option 1: It seems like the Tufts semester schedule is somewhat similar to that of UMich. If you'd like, I can ensure that I do not make version bumps in the middle of a Tufts semester.
Option 2: You can pin to a specific minor version of Primer Spec. You will always receive automatic
patch
version updates (usually minor changes to JS, or very minor CSS fixes).