├── .gitignore ├── .gitmodules ├── Makefile ├── directions.md ├── git-to-github-io ├── git-to-github-io.html ├── git-to-github-io.php ├── git-to-github-io.php.html ├── howto.md ├── index.html ├── markdown.css └── readme.md /.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "slp"] 2 | path = slp 3 | url = https://github.com/aaronbloomfield/slp.git 4 | [submodule "dada"] 5 | path = dada 6 | url = https://github.com/aaronbloomfield/dada.git 7 | [submodule "hspc"] 8 | path = hspc 9 | url = https://github.com/aaronbloomfield/hspc.git 10 | [submodule "pdr"] 11 | path = pdr 12 | url = https://github.com/uva-cs/pdr 13 | [submodule "ccc"] 14 | path = ccc 15 | url = http://github.com/aaronbloomfield/ccc 16 | [submodule "nws"] 17 | path = nws 18 | url = https://github.com/aaronbloomfield/nws 19 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | doc: 2 | pandoc -s --metadata pagetitle="aaron bloomfield @ github.io" -f markdown -c markdown.css -t html -o index.html readme.md 3 | source-highlight -d git-to-github-io 4 | source-highlight -d git-to-github-io.php 5 | -------------------------------------------------------------------------------- /directions.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | To deploy the auto-updater: 4 | 5 | - clone github.io repo: `git clone git@github.com-github-io:aaronbloomfield/aaronbloomfield.github.io github.io` 6 | - in that dir, run: `git submodule update --init 7 | - then run: `git submodule update --init` 8 | - many (most?) will fail -- for each sub-module you have to go in and checkout the correct branch 9 | - -------------------------------------------------------------------------------- /git-to-github-io: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # this code adapted from 4 | # http://stackoverflow.com/questions/1811730/how-do-you-work-with-a-git-repository-within-another-repository 5 | 6 | # set my home directory 7 | export HOME=/home/aaron 8 | 9 | # where the github.io repo is cloned to 10 | cd /home/aaron/git/github.io/ 11 | 12 | # set some git settings, since they may not be inherited 13 | git config user.email "aaron@virginia.edu" 14 | git config user.name "Aaron Bloomfield" 15 | git config push.default simple 16 | 17 | # pull the github.io repo 18 | echo Pulling github.io... 19 | git pull 20 | /bin/echo 21 | 22 | # update each submodule 23 | echo Updating all the submodules... 24 | git submodule update --recursive --remote 25 | /bin/echo 26 | 27 | # commit any changes 28 | echo Commiting changes to the github.io repo... 29 | git commit -a -m"Automated propagation of changes from a submodule to my github.io page" 30 | /bin/echo 31 | 32 | # push the updated github.io repo 33 | echo Pushing changes to github... 34 | git push 35 | /bin/echo 36 | 37 | echo "All done!" 38 | -------------------------------------------------------------------------------- /git-to-github-io.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 9 | git-to-github-io 10 | 11 | 12 |
#!/bin/bash
13 | 
14 | # this code adapted from
15 | # http://stackoverflow.com/questions/1811730/how-do-you-work-with-a-git-repository-within-another-repository
16 | 
17 | # set my home directory
18 | export HOME=/home/aaron
19 | 
20 | # where the github.io repo is cloned to
21 | cd /home/aaron/git/github.io/
22 | 
23 | # set some git settings, since they may not be inherited
24 | git config user.email "aaron@virginia.edu"
25 | git config user.name "Aaron Bloomfield"
26 | git config push.default simple
27 | 
28 | # pull the github.io repo
29 | echo Pulling github.io...
30 | git pull
31 | /bin/echo
32 | 
33 | # update each submodule
34 | echo Updating all the submodules...
35 | git submodule update --recursive --remote
36 | /bin/echo
37 | 
38 | # commit any changes
39 | echo Commiting changes to the github.io repo...
40 | git commit -a -m"Automated propagation of changes from a submodule to my github.io page"
41 | /bin/echo
42 | 
43 | # push the updated github.io repo
44 | echo Pushing changes to github...
45 | git push
46 | /bin/echo
47 | 
48 | echo "All done!"
49 | 
50 | 51 | 52 | -------------------------------------------------------------------------------- /git-to-github-io.php: -------------------------------------------------------------------------------- 1 | "; 4 | system ("/home/aaron/git/git-to-github-io"); 5 | echo ""; 6 | ?> 7 | -------------------------------------------------------------------------------- /git-to-github-io.php.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 9 | git-to-github-io.php 10 | 11 | 12 |
<?php
13 | # this script just calls the git-to-github shell script, and dispalys the output
14 | echo "<pre>";
15 | system ("/home/aaron/git/git-to-github-io");
16 | echo "</pre>";
17 | ?>
18 | 
19 | 20 | 21 | -------------------------------------------------------------------------------- /howto.md: -------------------------------------------------------------------------------- 1 | Note to self: to add a sub-module: 2 | 3 | - the git command: `git submodule add https://github.com/aaronbloomfield/ccc`; you have to use the https:// url, not git@github.com 4 | - edit readme.md then run `make` 5 | - commit and push changes 6 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | aaron bloomfield @ github.io 8 | 16 | 17 | 18 | 19 |

aaron bloomfield @ github.io

20 |

I am a Professor of Computer Science at the University of Virginia (view my home page). This site contains web pages for my various course repositories available online. Note that some are outdated, while others are current. Most of the sites lined to below are released under a Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA), but check each individual site’s license for complete details.

21 |

Currently updated sites:

22 | 27 |

Sites not being currently updated:

28 | 34 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /markdown.css: -------------------------------------------------------------------------------- 1 | /* This file is part of the http://github.com/aaronbloomfield/pdr 2 | * repo, and has the same license as the rest of the repo (CC BY-SA) 3 | * 4 | * The formatting is loosely based on that of github.com's README.md 5 | * file CSS formatting 6 | */ 7 | 8 | body { 9 | font: 15px/1.4 Helvetica,arial,freesans,clean,sans-serif; 10 | } 11 | 12 | a { 13 | text-decoration: none; 14 | } 15 | 16 | h1 { 17 | font-size: 2.5em; 18 | border-bottom: 1px solid rgb(221, 221, 221); 19 | } 20 | 21 | h2 { 22 | font-size: 2em; 23 | border-bottom: 1px solid rgb(238, 238, 238); 24 | } 25 | 26 | code { 27 | background-color: rgb(248, 248, 248); 28 | border: 1px solid rgb(221, 221, 221); 29 | font-size: 13px; 30 | line-height: 19px; 31 | padding: 0px 5px; 32 | } 33 | 34 | pre code { 35 | border: 0px solid; 36 | } 37 | 38 | pre { 39 | background-color: rgb(248, 248, 248); 40 | border: 1px solid rgb(221, 221, 221); 41 | padding: 6px 10px; 42 | } 43 | 44 | /* table formatting */ 45 | /* 46 | th { 47 | background-color: #cccccc; 48 | text-align:center; 49 | padding: 4px; 50 | } 51 | 52 | tr:hover { 53 | background-color: #eeeeee; 54 | } 55 | 56 | td { 57 | padding: 2px; 58 | } 59 | */ 60 | 61 | table { 62 | border-collapse: collapse; 63 | border-spacing: 0px; 64 | word-break: keep-all; 65 | } 66 | 67 | table tr { 68 | background-color: #FFF; 69 | border-top: 1px solid #CCC; 70 | } 71 | 72 | table th { 73 | padding: 6px 13px; 74 | border: 1px solid #DDD; 75 | background-color:#cccccc; 76 | } 77 | 78 | table td { 79 | padding: 6px 13px; 80 | border: 1px solid #DDD; 81 | } 82 | 83 | table tr:nth-child(2n){ 84 | background-color:#f8f8f8; 85 | } 86 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | [aaron bloomfield @ github.io](http://aaronbloomfield.github.io) 2 | ============================ 3 | 4 | I am a Professor of Computer Science at the University of Virginia (view my [home page](https://www.cs.virginia.edu/~asb)). This site contains web pages for my various course repositories available online. Note that some are outdated, while others are current. Most of the sites lined to below are released under a [Creative Commons Attribution-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-sa/4.0/) (CC BY-SA), but check each individual site's license for complete details. 5 | 6 | Currently updated sites: 7 | 8 | 9 | - [nws](nws/): a 4th year course on Network Security. The spring 2024 semester is the first time I am teaching it, so the material in this repository will be filled in throughout this semester. 10 | - [ccc](ccc/): a 4th year course on Cryptocurrency. It is being offered in the spring of 2024. 11 | - [ics](ics/): the course site for a Introduction to Cybersecurity course, from the[aaronbloomfield/ics](https://github.com/aaronbloomfield/ics) repo. Although the course is still being taught, I am not teaching it in the spring of 2024. 12 | 13 | Sites not being currently updated: 14 | 15 | - [pdr](pdr/): the course site for a UVA course entitled "Program and Data Representation" -- a CS 3 course in C++ for 2nd year students -- from the [uva-cs/pdr](https://github.com/uva-cs/pdr) repo. My personal copy of that repo (aaronbloomfield/pdr) is no longer being updated, but the uva-cs/pdr fork is being updated throughout the 2018-2019 academic year. 16 | - [slp](slp/): the course site for a 4th year two semester software engineering capstone course from the [aaronbloomfield/slp](https://github.com/aaronbloomfield/slp) repo. I am no longer teaching this course as of the spring of 2018, so this repo is no longer being updated. 17 | - [dada](dada/): the course site for a cybersecurity elective, entitled Defense Against the Dark Arts, focusing on binary exploits, from the [aaronbloomfield/dada](https://github.com/aaronbloomfield/dada) repo. This course is still being taught at UVA, but by other instructors. 18 | - [hspc](hspc/): the start of a repo on how to run high school programming contests, from the [aaronbloomfield/hspc](https://github.com/aaronbloomfield/hspc) repo. This was created for the SIGCSE 2018 workshop entitled, "Organizing a High School Programming Contest" is here. 19 | 20 | 35 | --------------------------------------------------------------------------------