I'm using the freecodecamp curriculum as a tool to reinforce and practice basic web development, Javascript and React skills.
I have completed the Responsive Web Design Certificate and Javascript Algorithms and Data Structures Certificate. I'm currently working through the Front End Development Libraries Cert.
I'm adding the solutions here as a way to continue to practice working with git, github and to document my progress.
Star this repo if you'd like to follow along.
module | progress | notes |
---|---|---|
Basic Javascript | 100% | completed 1/18/21 |
Regular Expressions | 100% | completed 12/8/21 |
Debugging | 100% | completed 12/7/21 |
Basic Data Structures | 100% | completed 12/17/21 |
Basic Algorithm Scripting | 100% | completed 1/1/22 |
Object Oriented Programming | 100% | completed 1/14/22 |
Functional Programming | 100% | completed 2/8/22 |
Intermediate Algorithm Scripting | 100% | completed 4/18/22 |
Javascript Algorithm and Data Structure Projects | 100% | completed 4/13/22 |
-
Copy and paste the challenge names from the browser into a vim buffer called
filenames.txt
-
Use find and replace to get rid of extra stuff:
%s/Not Passed//g
https://linuxize.com/post/vim-find-replace/ -
Delete all blank lines with:
:g/^$/d
https://linuxize.com/post/vim-delete-line/ -
Use a macro to append .js to each line (https://vim.fandom.com/wiki/Macros):
qa
record to registera
- ... actions to record
q
stop recording@a
execute macro once@@
repeat last macro23@a
will repeat the a macro 23 times
-
Insert numbers on the front of each line. Make sure to put leading 0s on single digit numbers so it sorts properly
:%s/^/\=printf('%02d ', line('.'))
(https://vim.fandom.com/wiki/Insert_line_numbers) -
Create a list of filenames from a text file. (src)
gxargs -d '\n' touch -- < filenames.txt
-
Use the GNU version of xargs : https://formulae.brew.sh/formula/findutils