Skip to content

Commit

Permalink
Change from snake_case to kebab-case
Browse files Browse the repository at this point in the history
  • Loading branch information
stuxf authored Aug 1, 2024
1 parent ab4b6e4 commit e1d0bd4
Show file tree
Hide file tree
Showing 6 changed files with 60 additions and 60 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This is a template for a simple resume. It is intended to be used as a good star

## Sample Resume

![example resume](https://raw.githubusercontent.com/stuxf/basic-typst-resume-template/main/example_resume.png)
![example resume](https://raw.githubusercontent.com/stuxf/basic-typst-resume-template/main/example-resume.png)

## Quick Start

Expand All @@ -22,7 +22,7 @@ A barebones resume looks like this, which you can use to get started.
#let github = "github.com/stuxf"
#let linkedin = "linkedin.com/in/stuxf"
#let phone = "+1 (xxx) xxx-xxxx"
#let personal_site = "stuxf.dev"
#let personal-site = "stuxf.dev"
#show: resume.with(
author: name,
Expand All @@ -31,9 +31,9 @@ A barebones resume looks like this, which you can use to get started.
github: github,
linkedin: linkedin,
phone: phone,
personal_site: personal_site,
personal-site: personal-site,
// Accent color is optional. Feel free to remove the next line if you want your resume to be in black and white
accent_color: "#26428b",
accent-color: "#26428b",
)
/*
Expand All @@ -45,15 +45,15 @@ A barebones resume looks like this, which you can use to get started.
* #project(dates: "", name: "", role: "", url: "")
* #extracurriculars(activity: "", dates: "")
* There are also the following generic functions that don't apply any formatting
* #generic_two_by_two(top_left: "", top_right: "", bottom_left: "", bottom_right: "")
* #generic_one_by_two(left: "", right: "")
* #generic-two-by-two(top-left: "", top-right: "", bottom-left: "", bottom-right: "")
* #generic-one-by-two(left: "", right: "")
*/
== Education
#edu(
institution: "Harvey Mudd College",
location: "Claremont, CA",
dates: dates_helper(start_date: "Aug 2023", end_date: "May 2027"),
dates: dates-helper(start-date: "Aug 2023", end-date: "May 2027"),
degree: "Bachelor's of Science, Computer Science and Mathematics",
)
- Cumulative GPA: 4.0\/4.0 | Dean's List, Harvey S. Mudd Merit Scholarship, National Merit Scholarship
Expand All @@ -65,7 +65,7 @@ A barebones resume looks like this, which you can use to get started.
title: "Subatomic Shepherd and Caffeine Connoisseur",
location: "Atomville, CA",
company: "Microscopic Circus, Schrodinger's University",
dates: dates_helper(start_date: "May 2024", end_date: "Present"),
dates: dates-helper(start-date: "May 2024", end-date: "Present"),
)
- more bullet points go here
Expand Down
File renamed without changes.
File renamed without changes
56 changes: 28 additions & 28 deletions src/resume.typ
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
github: "",
linkedin: "",
phone: "",
personal_site: "",
accent_color: "#000000",
personal-site: "",
accent-color: "#000000",
body,
) = {

Expand Down Expand Up @@ -42,11 +42,11 @@

// Accent Color Styling
show heading: set text(
fill: rgb(accent_color),
fill: rgb(accent-color),
)

show link: set text(
fill: rgb(accent_color),
fill: rgb(accent-color),
)

// Name will be aligned left, bold and big
Expand Down Expand Up @@ -78,7 +78,7 @@
// Linkedin
link("https://" + linkedin)[#linkedin],
// Personal Site
link("https://" + personal_site)[#personal_site],
link("https://" + personal-site)[#personal-site],
).join(" | ")
],
)
Expand All @@ -90,20 +90,20 @@
}

// Generic two by two component for resume
#let generic_two_by_two(
top_left: "",
top_right: "",
bottom_left: "",
bottom_right: "",
#let generic-two-by-two(
top-left: "",
top-right: "",
bottom-left: "",
bottom-right: "",
) = {
pad[
#top_left #h(1fr) #top_right \
#bottom_left #h(1fr) #bottom_right
#top-left #h(1fr) #top-right \
#bottom-left #h(1fr) #bottom-right
]
}

// Generic one by two component for resume
#let generic_one_by_two(
#let generic-one-by-two(
left: "",
right: "",
) = {
Expand All @@ -113,11 +113,11 @@
}

// Cannot just use normal --- ligature becuase ligatures are disabled for good reasons
#let dates_helper(
start_date: "",
end_date: "",
#let dates-helper(
start-date: "",
end-date: "",
) = {
start_date + " " + $dash.em$ + " " + end_date
start-date + " " + $dash.em$ + " " + end-date
}

// Section components below
Expand All @@ -128,11 +128,11 @@
gpa: "",
location: "",
) = {
generic_two_by_two(
top_left: strong(institution),
top_right: location,
bottom_left: emph(degree),
bottom_right: emph(dates),
generic-two-by-two(
top-left: strong(institution),
top-right: location,
bottom-left: emph(degree),
bottom-right: emph(dates),
)
}

Expand All @@ -142,11 +142,11 @@
company: "",
location: "",
) = {
generic_two_by_two(
top_left: strong(title),
top_right: dates,
bottom_left: company,
bottom_right: emph(location),
generic-two-by-two(
top-left: strong(title),
top-right: dates,
bottom-left: company,
bottom-right: emph(location),
)
}

Expand All @@ -165,7 +165,7 @@
activity: "",
dates: "",
) = {
generic_one_by_two(
generic-one-by-two(
left: strong(activity),
right: dates,
)
Expand Down
24 changes: 12 additions & 12 deletions template/main.typ
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#let github = "github.com/stuxf"
#let linkedin = "linkedin.com/in/stuxf"
#let phone = "+1 (xxx) xxx-xxxx"
#let personal_site = "stuxf.dev"
#let personal-site = "stuxf.dev"

#show: resume.with(
author: name,
Expand All @@ -16,9 +16,9 @@
github: github,
linkedin: linkedin,
phone: phone,
personal_site: personal_site,
personal-site: personal-site,
// Accent color is optional. Feel free to remove the next line if you want your resume to be in black and white
accent_color: "#26428b",
accent-color: "#26428b",
)

/*
Expand All @@ -30,15 +30,15 @@
* #project(dates: "", name: "", role: "", url: "")
* #extracurriculars(activity: "", dates: "")
* There are also the following generic functions that don't apply any formatting
* #generic_two_by_two(top_left: "", top_right: "", bottom_left: "", bottom_right: "")
* #generic_one_by_two(left: "", right: "")
* #generic-two-by-two(top-left: "", top-right: "", bottom-left: "", bottom-right: "")
* #generic-one-by-two(left: "", right: "")
*/
== Education

#edu(
institution: "Harvey Mudd College",
location: "Claremont, CA",
dates: dates_helper(start_date: "Aug 2023", end_date: "May 2027"),
dates: dates-helper(start-date: "Aug 2023", end-date: "May 2027"),
degree: "Bachelor's of Science, Computer Science and Mathematics",
)
- Cumulative GPA: 4.0\/4.0 | Dean's List, Harvey S. Mudd Merit Scholarship, National Merit Scholarship
Expand All @@ -51,7 +51,7 @@
title: "Subatomic Shepherd and Caffeine Connoisseur",
location: "Atomville, CA",
company: "Microscopic Circus, Schrodinger's University",
dates: dates_helper(start_date: "May 2024", end_date: "Present"),
dates: dates-helper(start-date: "May 2024", end-date: "Present"),
)
- Played God with tiny molecules, making them dance to uncover the secrets of the universe
- Convinced high-performance computers to work overtime without unions, reducing simulation time by 50%
Expand All @@ -61,7 +61,7 @@
title: "AI Wrangler and Code Ninja",
location: "Silicon Mirage, CA",
company: "Organic Stupidity Startup",
dates: dates_helper(start_date: "Dec 2023", end_date: "Mar 2024"),
dates: dates-helper(start-date: "Dec 2023", end-date: "Mar 2024"),
)
- Taught robots to predict when (and how much!) humans will empty their wallets at the doctor's office
- Developed HIPAA-compliant digital signatures, because doctors' handwriting wasn't illegible enough already
Expand All @@ -71,7 +71,7 @@
title: "Digital Playground Architect",
location: "The Cloud",
company: "Pixels & Profit Interactive",
dates: dates_helper(start_date: "Jun 2020", end_date: "May 2023"),
dates: dates-helper(start-date: "Jun 2020", end-date: "May 2023"),
)
- Scaled user base from 10 to 2000+, accidentally becoming a small wealthy nation in the process
- Crafted Bash scripts so clever they occasionally made other engineers weep with joy
Expand All @@ -82,7 +82,7 @@
title: "Code Conjurer Intern",
location: "Silicon Suburb, CA",
company: "Bits & Bytes Consulting",
dates: dates_helper(start_date: "Jun 2022", end_date: "Aug 2022"),
dates: dates-helper(start-date: "Jun 2022", end-date: "Aug 2022"),
)
- Developed a cross-platform mobile app that turned every user into a potential paparazzi
- Led a security overhaul, heroically saving the company from the menace of "password123"
Expand All @@ -92,7 +92,7 @@
#project(
role: "Maintainer",
name: "Hyperschedule",
dates: dates_helper(start_date: "Nov 2023", end_date: "Present"),
dates: dates-helper(start-date: "Nov 2023", end-date: "Present"),
url: "hyperschedule.io",
)
- Maintain open-source scheduler used by 7000+ users at the Claremont Consortium with TypesScript, React and MongoDB
Expand All @@ -103,7 +103,7 @@

#extracurriculars(
activity: "Capture The Flag Competitions",
dates: dates_helper(start_date: "Jan 2021", end_date: "Present"),
dates: dates-helper(start-date: "Jan 2021", end-date: "Present"),
)
- Founder of Les Amateurs (#link("https://amateurs.team")[amateurs.team]), currently ranked \#4 US, \#33 global on CTFTime (2023: \#4 US, \#42 global)
- Organized AmateursCTF 2023 and 2024, with 1000+ teams solving at least one challenge and \$2000+ in cash prizes
Expand Down
24 changes: 12 additions & 12 deletions tests/debug/test.typ
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#let github = "github.com/stuxf"
#let linkedin = "linkedin.com/in/stuxf"
#let phone = "+1 (xxx) xxx-xxxx"
#let personal_site = "stuxf.dev"
#let personal-site = "stuxf.dev"

#show: resume.with(
author: name,
Expand All @@ -16,9 +16,9 @@
github: github,
linkedin: linkedin,
phone: phone,
personal_site: personal_site,
personal-site: personal-site,
// Accent color is optional. Feel free to remove the next line if you want your resume to be in black and white
accent_color: "#26428b",
accent-color: "#26428b",
)

/*
Expand All @@ -30,15 +30,15 @@
* #project(dates: "", name: "", role: "", url: "")
* #extracurriculars(activity: "", dates: "")
* There are also the following generic functions that don't apply any formatting
* #generic_two_by_two(top_left: "", top_right: "", bottom_left: "", bottom_right: "")
* #generic_one_by_two(left: "", right: "")
* #generic-two-by-two(top-left: "", top-right: "", bottom-left: "", bottom-right: "")
* #generic-one-by-two(left: "", right: "")
*/
== Education

#edu(
institution: "Harvey Mudd College",
location: "Claremont, CA",
dates: dates_helper(start_date: "Aug 2023", end_date: "May 2027"),
dates: dates-helper(start-date: "Aug 2023", end-date: "May 2027"),
degree: "Bachelor's of Science, Computer Science and Mathematics",
)
- Cumulative GPA: 4.0\/4.0 | Dean's List, Harvey S. Mudd Merit Scholarship, National Merit Scholarship
Expand All @@ -51,7 +51,7 @@
title: "Subatomic Shepherd and Caffeine Connoisseur",
location: "Atomville, CA",
company: "Microscopic Circus, Schrodinger's University",
dates: dates_helper(start_date: "May 2024", end_date: "Present"),
dates: dates-helper(start-date: "May 2024", end-date: "Present"),
)
- Played God with tiny molecules, making them dance to uncover the secrets of the universe
- Convinced high-performance computers to work overtime without unions, reducing simulation time by 50%
Expand All @@ -61,7 +61,7 @@
title: "AI Wrangler and Code Ninja",
location: "Silicon Mirage, CA",
company: "Organic Stupidity Startup",
dates: dates_helper(start_date: "Dec 2023", end_date: "Mar 2024"),
dates: dates-helper(start-date: "Dec 2023", end-date: "Mar 2024"),
)
- Taught robots to predict when (and how much!) humans will empty their wallets at the doctor's office
- Developed HIPAA-compliant digital signatures, because doctors' handwriting wasn't illegible enough already
Expand All @@ -71,7 +71,7 @@
title: "Digital Playground Architect",
location: "The Cloud",
company: "Pixels & Profit Interactive",
dates: dates_helper(start_date: "Jun 2020", end_date: "May 2023"),
dates: dates-helper(start-date: "Jun 2020", end-date: "May 2023"),
)
- Scaled user base from 10 to 2000+, accidentally becoming a small wealthy nation in the process
- Crafted Bash scripts so clever they occasionally made other engineers weep with joy
Expand All @@ -82,7 +82,7 @@
title: "Code Conjurer Intern",
location: "Silicon Suburb, CA",
company: "Bits & Bytes Consulting",
dates: dates_helper(start_date: "Jun 2022", end_date: "Aug 2022"),
dates: dates-helper(start-date: "Jun 2022", end-date: "Aug 2022"),
)
- Developed a cross-platform mobile app that turned every user into a potential paparazzi
- Led a security overhaul, heroically saving the company from the menace of "password123"
Expand All @@ -92,7 +92,7 @@
#project(
role: "Maintainer",
name: "Hyperschedule",
dates: dates_helper(start_date: "Nov 2023", end_date: "Present"),
dates: dates-helper(start-date: "Nov 2023", end-date: "Present"),
url: "hyperschedule.io",
)
- Maintain open-source scheduler used by 7000+ users at the Claremont Consortium with TypesScript, React and MongoDB
Expand All @@ -103,7 +103,7 @@

#extracurriculars(
activity: "Capture The Flag Competitions",
dates: dates_helper(start_date: "Jan 2021", end_date: "Present"),
dates: dates-helper(start-date: "Jan 2021", end-date: "Present"),
)
- Founder of Les Amateurs (#link("https://amateurs.team")[amateurs.team]), currently ranked \#4 US, \#33 global on CTFTime (2023: \#4 US, \#42 global)
- Organized AmateursCTF 2023 and 2024, with 1000+ teams solving at least one challenge and \$2000+ in cash prizes
Expand Down

0 comments on commit e1d0bd4

Please sign in to comment.