Skip to content

Commit

Permalink
Working on resume and tackling with nasty previous versions. Also com…
Browse files Browse the repository at this point in the history
…ing up with a preliminary Makefile.
  • Loading branch information
az15240 committed Sep 16, 2023
1 parent f1198d6 commit 07385bc
Show file tree
Hide file tree
Showing 32 changed files with 66 additions and 0 deletions.
Binary file added .DS_Store
Binary file not shown.
Binary file removed Resume - Stanley Yang.pdf
Binary file not shown.
Binary file added Resumes/.DS_Store
Binary file not shown.
Binary file added Resumes/How to Write Your First Résumé.doc
Binary file not shown.
17 changes: 17 additions & 0 deletions Resumes/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# genpdf is used to generate pdf files from the word files
# CAUTION: running the command might take very llong time!
# List of input .docx files
INPUT_DOCX_FILES := $(wildcard *.docx)

# Define a rule to process .docx files
process_files: $(INPUT_DOCX_FILES)

$(INPUT_DOCX_FILES):
@echo "Converting $@ to PDF"
docx2pdf "$@"

.PHONY: process_files


clean:
rm *.pdf
13 changes: 13 additions & 0 deletions Resumes/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
A collection of previous resume versions...

`rename_spaces.sh` is used for renaming the files for a better formatting issues.

E.g. previous file names are `Resume - Stanley Yang - 0321.docx`. The spaces are tricky to tackle when coming to terminals, so I decided to replace the spaces by underlines and remove extra delimiters, if necessary.


Things I learned:

`make -B <target>` will ignore timestamp checks and execute the target unconditionally.


Current problem to address: too many copies and versions of word (TBD)
Binary file added Resumes/Sample Resumes/.DS_Store
Binary file not shown.
Binary file added Resumes/Sample Resumes/Andrew-Peters.pdf
Binary file not shown.
Binary file not shown.
Binary file added Resumes/Sample Resumes/C-Shirley-Gallo.docx.pdf
Binary file not shown.
Binary file added Resumes/Sample Resumes/D-Daniel-Garcia.docx.pdf
Binary file not shown.
Binary file added Resumes/Sample Resumes/E-Huy-Nguyen.docx.pdf
Binary file not shown.
Binary file added Resumes/Sample Resumes/F-Taylor-Reed.docx.pdf
Binary file not shown.
Binary file added Resumes/Sample Resumes/G-Jalila-Asha.docx.pdf
Binary file not shown.
Binary file added Resumes/Sample Resumes/I-Stephen-Artur.docx.pdf
Binary file not shown.
Binary file added Resumes/Sample Resumes/J-Yasmine-Hejazi.docx.pdf
Binary file not shown.
Binary file added Resumes/Sample Resumes/Miranda-Hudson.pdf
Binary file not shown.
Binary file not shown.
Binary file added Resumes/Sample Resumes/Undergrad-CV-example.pdf
Binary file not shown.
Binary file added Resumes/Very_basic_resume_draft.docx
Binary file not shown.
17 changes: 17 additions & 0 deletions Resumes/make_backup
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# List of input .docx files
INPUT_DOCX_FILES := $(wildcard *.docx)

# Define a rule to process .docx files
process_files: # $(INPUT_DOCX_FILES)

$(INPUT_DOCX_FILES):
@echo "Converting $@ to PDF"
docx2pdf "$@"

.PHONY: process_files


clean:
rm *.pdf


19 changes: 19 additions & 0 deletions Resumes/rename_spaces.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash

# Iterate through all files in the current directory
for file in *; do
# Check if the item is a file (not a directory)
if [ -f "$file" ]; then
# Replace spaces with underscores in the file name
# new_file_name=$(echo "$file" | sed 's/ - /_/g')
new_file_name=$(echo "$file" | sed 's/Stanley Yang/Stanley_Yang/g')

# Check if the new file name is different from the old one
if [ "$file" != "$new_file_name" ]; then
# Rename the file
mv "$file" "$new_file_name"
echo "Renamed: $file -> $new_file_name"
fi
fi
done

Binary file added Resumes/temp!!!!!/.DS_Store
Binary file not shown.
Binary file added Resumes/temp!!!!!/Resume_Stanley_Yang.docx
Binary file not shown.
Binary file added Resumes/temp!!!!!/Resume_Stanley_Yang_0321.docx
Binary file not shown.
Binary file added Resumes/temp!!!!!/Resume_Stanley_Yang_0323.docx
Binary file not shown.
Binary file added Resumes/temp!!!!!/Resume_Stanley_Yang_0324.docx
Binary file not shown.
Binary file added Resumes/temp!!!!!/Resume_Stanley_Yang_0913.docx
Binary file not shown.
Binary file not shown.
Binary file added Resumes/temp!!!!!/Resume_Stanley_Yang_0915.docx
Binary file not shown.
Binary file added Resumes/temp!!!!!/Resume_Template.docx
Binary file not shown.
Binary file added Resumes/~$Resume.doc
Binary file not shown.

0 comments on commit 07385bc

Please sign in to comment.