Merge branch 'master' of gitlab.odin.cse.buffalo.edu:odin-lab/Website

This commit is contained in:
Oliver Kennedy 2017-05-19 10:56:14 -04:00
commit 84180e3108
2 changed files with 30 additions and 0 deletions

View file

@ -189,3 +189,32 @@ end
task :collab => "artifacts/okennedy_collaborators.tsv"
file "artifacts/oracle_papers.txt" => [ $db.files, "artifacts", "Rakefile" ].flatten do
File.open("artifacts/oracle_papers.txt", "w+") do |fh|
fh.puts $db["publications"].
where { |pub| pub.fetch("projects", []).include? "mimir" }.
map { |pub|
pub = LabMetadata::complete_venue(pub)
case pub["type"]
when "conference", "journal", "workshop", "abstract" then
[ pub["title"],
pub["authors"].join(", "),
"#{LabMetadata::venue_name(pub, size: :full_parens)} #{pub["year"]}",
pub["urls"].map { |k,v| "#{k.capitalize}: #{v}" },
LabMetadata.bibtex_for(pub).split("\n")
].flatten
when "thesis" then
[ pub["title"],
pub["authors"].join(", "),
"Thesis #{pub["degree"]} #{pub["year"]}",
pub["urls"].map { |k,v| "#{k.capitalize}: #{v}" },
LabMetadata.bibtex_for(pub).split("\n")
].flatten
else nil
end
}.
compact.
map { |record| "> #{record.join("\n ")}" }.
join("\n\n")
end
end

View file

@ -145,6 +145,7 @@ classContent:
topic: Final Exam Review
meta:
slides: slides/2017-05-09-FinalReview.pdf
video: https://youtu.be/7XwBFIW4VJQ
- date: May. 11
topic: <b>Final Exam</b>
meta: