diff --git a/.gitignore b/.gitignore index 6bbe38b..6aa54fa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ # Prerequisites *.icloud *.d +*.swp temp .DS_* diff --git a/LICENSE.pdf b/LICENSE.pdf new file mode 100644 index 0000000..4477201 Binary files /dev/null and b/LICENSE.pdf differ diff --git a/README.pdf b/README.pdf new file mode 100644 index 0000000..6cef1f2 Binary files /dev/null and b/README.pdf differ diff --git a/more/apple_silicon/README.pdf b/more/apple_silicon/README.pdf new file mode 100644 index 0000000..b5936e0 Binary files /dev/null and b/more/apple_silicon/README.pdf differ diff --git a/more/strlen_for_c/README.pdf b/more/strlen_for_c/README.pdf new file mode 100644 index 0000000..6344ddd Binary files /dev/null and b/more/strlen_for_c/README.pdf differ diff --git a/more/system_calls/README.pdf b/more/system_calls/README.pdf new file mode 100644 index 0000000..42a0984 Binary files /dev/null and b/more/system_calls/README.pdf differ diff --git a/not_written_yet.pdf b/not_written_yet.pdf new file mode 100644 index 0000000..5009248 Binary files /dev/null and b/not_written_yet.pdf differ diff --git a/projects/DIRENT/README.pdf b/projects/DIRENT/README.pdf new file mode 100644 index 0000000..1ce0798 Binary files /dev/null and b/projects/DIRENT/README.pdf differ diff --git a/projects/PI/README.pdf b/projects/PI/README.pdf new file mode 100644 index 0000000..b5a91bd Binary files /dev/null and b/projects/PI/README.pdf differ diff --git a/projects/README.pdf b/projects/README.pdf new file mode 100644 index 0000000..1ee9694 Binary files /dev/null and b/projects/README.pdf differ diff --git a/projects/first_project/README.pdf b/projects/first_project/README.pdf new file mode 100644 index 0000000..52bfe28 Binary files /dev/null and b/projects/first_project/README.pdf differ diff --git a/projects/walkies/README.pdf b/projects/walkies/README.pdf new file mode 100644 index 0000000..e2f92cd Binary files /dev/null and b/projects/walkies/README.pdf differ diff --git a/projects/walkies/single_star.pdf b/projects/walkies/single_star.pdf new file mode 100644 index 0000000..2dd368f Binary files /dev/null and b/projects/walkies/single_star.pdf differ diff --git a/section_1/const/README.pdf b/section_1/const/README.pdf new file mode 100644 index 0000000..c4d0bd7 Binary files /dev/null and b/section_1/const/README.pdf differ diff --git a/section_1/fizzbuzz/README.pdf b/section_1/fizzbuzz/README.pdf new file mode 100644 index 0000000..7fdcf29 Binary files /dev/null and b/section_1/fizzbuzz/README.pdf differ diff --git a/section_1/for/README.pdf b/section_1/for/README.pdf new file mode 100644 index 0000000..3ab2e41 Binary files /dev/null and b/section_1/for/README.pdf differ diff --git a/section_1/funcs/README.pdf b/section_1/funcs/README.pdf new file mode 100644 index 0000000..782a30b Binary files /dev/null and b/section_1/funcs/README.pdf differ diff --git a/section_1/funcs/README2.pdf b/section_1/funcs/README2.pdf new file mode 100644 index 0000000..4ae4416 Binary files /dev/null and b/section_1/funcs/README2.pdf differ diff --git a/section_1/funcs/README3.pdf b/section_1/funcs/README3.pdf new file mode 100644 index 0000000..c661ea0 Binary files /dev/null and b/section_1/funcs/README3.pdf differ diff --git a/section_1/hello_world/README.pdf b/section_1/hello_world/README.pdf new file mode 100644 index 0000000..ef3c9b7 Binary files /dev/null and b/section_1/hello_world/README.pdf differ diff --git a/section_1/if/README.pdf b/section_1/if/README.pdf new file mode 100644 index 0000000..52e668a Binary files /dev/null and b/section_1/if/README.pdf differ diff --git a/section_1/jump_tables/README.pdf b/section_1/jump_tables/README.pdf new file mode 100644 index 0000000..d566a8c Binary files /dev/null and b/section_1/jump_tables/README.pdf differ diff --git a/section_1/recursion/README.pdf b/section_1/recursion/README.pdf new file mode 100644 index 0000000..1a40199 Binary files /dev/null and b/section_1/recursion/README.pdf differ diff --git a/section_1/regs/README.pdf b/section_1/regs/README.pdf new file mode 100644 index 0000000..2b77a67 Binary files /dev/null and b/section_1/regs/README.pdf differ diff --git a/section_1/regs/backup.pdf b/section_1/regs/backup.pdf new file mode 100644 index 0000000..959c718 Binary files /dev/null and b/section_1/regs/backup.pdf differ diff --git a/section_1/regs/ldr.pdf b/section_1/regs/ldr.pdf new file mode 100644 index 0000000..0a27653 Binary files /dev/null and b/section_1/regs/ldr.pdf differ diff --git a/section_1/regs/ldr2.pdf b/section_1/regs/ldr2.pdf new file mode 100644 index 0000000..4dc110d Binary files /dev/null and b/section_1/regs/ldr2.pdf differ diff --git a/section_1/regs/regvar.pdf b/section_1/regs/regvar.pdf new file mode 100644 index 0000000..732b197 Binary files /dev/null and b/section_1/regs/regvar.pdf differ diff --git a/section_1/regs/spare.pdf b/section_1/regs/spare.pdf new file mode 100644 index 0000000..d53baf0 Binary files /dev/null and b/section_1/regs/spare.pdf differ diff --git a/section_1/regs/widths.pdf b/section_1/regs/widths.pdf new file mode 100644 index 0000000..01bc78e Binary files /dev/null and b/section_1/regs/widths.pdf differ diff --git a/section_1/structs/alignment.pdf b/section_1/structs/alignment.pdf new file mode 100644 index 0000000..657fa1b Binary files /dev/null and b/section_1/structs/alignment.pdf differ diff --git a/section_1/structs/defining.pdf b/section_1/structs/defining.pdf new file mode 100644 index 0000000..9349093 Binary files /dev/null and b/section_1/structs/defining.pdf differ diff --git a/section_1/structs/using.pdf b/section_1/structs/using.pdf new file mode 100644 index 0000000..4973df0 Binary files /dev/null and b/section_1/structs/using.pdf differ diff --git a/section_1/while/README.pdf b/section_1/while/README.pdf new file mode 100644 index 0000000..b236df6 Binary files /dev/null and b/section_1/while/README.pdf differ diff --git a/section_2/float/half.pdf b/section_2/float/half.pdf new file mode 100644 index 0000000..a60a8a4 Binary files /dev/null and b/section_2/float/half.pdf differ diff --git a/section_2/float/literals.pdf b/section_2/float/literals.pdf new file mode 100644 index 0000000..e7d34d6 Binary files /dev/null and b/section_2/float/literals.pdf differ diff --git a/section_2/float/rounding.pdf b/section_2/float/rounding.pdf new file mode 100644 index 0000000..7ed4ef6 Binary files /dev/null and b/section_2/float/rounding.pdf differ diff --git a/section_2/float/what.pdf b/section_2/float/what.pdf new file mode 100644 index 0000000..3811815 Binary files /dev/null and b/section_2/float/what.pdf differ diff --git a/section_2/float/working.pdf b/section_2/float/working.pdf new file mode 100644 index 0000000..a689617 Binary files /dev/null and b/section_2/float/working.pdf differ diff --git a/section_3/bitfields/README.pdf b/section_3/bitfields/README.pdf new file mode 100644 index 0000000..1dcfa50 Binary files /dev/null and b/section_3/bitfields/README.pdf differ diff --git a/section_3/bitfields/review.pdf b/section_3/bitfields/review.pdf new file mode 100644 index 0000000..1805cce Binary files /dev/null and b/section_3/bitfields/review.pdf differ diff --git a/section_3/bitfields/with.pdf b/section_3/bitfields/with.pdf new file mode 100644 index 0000000..15454de Binary files /dev/null and b/section_3/bitfields/with.pdf differ diff --git a/section_3/endian/README.pdf b/section_3/endian/README.pdf new file mode 100644 index 0000000..6442b4b Binary files /dev/null and b/section_3/endian/README.pdf differ diff --git a/test.bash b/test.bash index 4f452d9..08c17da 100755 --- a/test.bash +++ b/test.bash @@ -1,8 +1,14 @@ #!/bin/bash -file_list=`git diff --name-only main | grep -i ".md"` +#file_list=`git diff --name-only main | grep -i ".md"` +file_list=`find . -print | grep -i ".md"` -for element in "${file_list[@]}" +for element in $file_list do - echo "input: " $element ${element::-2}.pdf + dir=`dirname ${element}` + cd $dir + echo `pwd` + fname=`basename ${element}` + pandoc $fname -o ${fname::-2}pdf + cd - done