PageRenderTime 120ms CodeModel.GetById 12ms RepoModel.GetById 0ms app.codeStats 1ms

/example/my_resume.rb

https://github.com/repos-ruby/resume.rb
Ruby | 96 lines | 81 code | 14 blank | 1 comment | 8 complexity | f60c7fc3ae5a8c73822693396848cbfe MD5 | raw file
  1. # -*- coding: utf-8 -*-
  2. require 'resumerb'
  3. require 'tempfile'
  4. require 'date'
  5. resume = Resume::Resume.new do |r|
  6. r.name "Micah Wylde"
  7. r.email "mwylde@wesleyan.edu"
  8. r.address ["Wesleyan University",
  9. "45 Wyllys Ave. #93026",
  10. "Middletown, CT 06459"]
  11. r.url "http://www.micahw.com/"
  12. r.phone "(xxx) xxx-xxxx"
  13. r.education do |ed|
  14. ed.school "Wesleyan University"
  15. ed.will_finish "May 2012"
  16. ed.degree "B.A. in Computer Science"
  17. ed.city "Middletown, CT"
  18. end
  19. r.education do |ed|
  20. ed.school "Georgiana Bruce Kirby"
  21. ed.finished "June 2008"
  22. ed.degree "H.S."
  23. ed.city "Santa Cruz, CA"
  24. end
  25. r.job do |j|
  26. j.position "Researcher"
  27. j.employer "Washington University CS Department REU"
  28. j.city "St. Louis, MO"
  29. j.date "Summer 2010"
  30. j.description "Designed and evaluated real-time scheduling algorithms for utility-aware non-preemtable, stochastic task sets using machine learning in C++. Worked under Dr. Chris Gill."
  31. end
  32. r.job do |j|
  33. j.position "Programming manager"
  34. j.employer "Instructional Media Services, Wesleyan University"
  35. j.city "Middletown, CT"
  36. j.date "2008-present"
  37. j.description "Maintained classroom multimedia technology and academic computing labs. Programmed and designed AMX-based integrated controllers and touch panels. Implemented a touchscreen-based classroomcontrol system in ruby and javascript. Managed other student programmers."
  38. end
  39. r.job do |j|
  40. j.position "Crew chief"
  41. j.employer "Center for the Arts, Wesleyan University"
  42. j.city "Middletown, CT"
  43. j.date "2008-present"
  44. j.description "Live mixing for shows in Wesleyan's Crowell Concert and World Music halls. Managed other student sound techs."
  45. end
  46. r.job do |j|
  47. j.position "Research assistant"
  48. j.employer "Space Science, NASA Ames Research Center"
  49. j.city "Moffet Field, CA"
  50. j.date "Summer 2007"
  51. j.description "Created theoretical models of interference, noise and compression artifacts in Cassini CIRS (Composite Infrared Spectrometer) data and wrote software to try to eliminate them, using IDL. Worked under Dr. Jeffrey Cuzzi of NASA Ames."
  52. end
  53. r.job do |j|
  54. j.position "Web developer"
  55. j.employer "Georgiana Bruce Kirby Preparatory School"
  56. j.city "Santa Cruz, CA"
  57. j.date "2007-2008"
  58. j.description "Redesigned the school's website using CSS and XHTML using a custom Ruby on Rails content management system designed such that non-proficient computer users could maintain and update the site. Additionally, integrated with the Schoolweb student portal (see software projects, below)."
  59. end
  60. r.section do |s|
  61. s.name "Skills"
  62. s.bullets ["Ruby, Javascript, Haskell, Lisp, C, C++, Python, Java, PHP, HTML, CSS, LaTeX",
  63. "Linux, OS X, Windows"]
  64. end
  65. r.section do |s|
  66. s.name "Software Projects"
  67. s.bullets ["Roomtrol (Ruby, Javascript, HTML5): Designed and built a classroom automation and control system with a Ruby backend and an HTML5 touchscreen interface written with Sproutcore and Node.js. Created a domain-specific language for writing drivers for classroom devices like projectors and video switchers. Allows professors to control multi-media equipment easily while improving remote support and monitoring. Currently in use at Wesleyan University (2009-present).",
  68. "Schoolweb (Ruby, Javascript, XHTML, SQL): Wrote a Ruby on Rails based portal designed to ease communication between students, faculty, and parents at high schools. Features include user customizable widgets which can include polls, html, file uploads, and other information and a calendar customized to users’ clubs, courses, and grade. Integrates with school’s grading system, to allow for quick access to students’ grades. Allows teachers to input homework for viewing by students and parents. In use at Georgiana Bruce Kirby from 2007 to the present (2006-2008)."]
  69. end
  70. r.section do |s|
  71. s.name "Research Interests"
  72. s.bullets ["AI, crowd simulation, robot navigation, machine learning, real-time scheduling."]
  73. end
  74. end
  75. dir = File.dirname(Tempfile.new("resume").path)
  76. path = dir + "/resume.#{Date.today.strftime("%Y.%m.%d")}"
  77. File.open("#{path}.tex", "w+") do |f|
  78. f.write Resume::LatexBackend.render resume
  79. end
  80. system %Q$pdflatex -output-directory #{dir} #{path}.tex && mv #{path}.pdf .$