From 8f17eb6183ef74b6a7aef8e659cfb0c29bdb12d9 Mon Sep 17 00:00:00 2001 From: rodley82 Date: Fri, 2 Sep 2022 22:14:31 -0300 Subject: [PATCH] Added extra columns and skills section --- app/views/templates/awesome/resume.html.erb | 46 ++++++++----------- .../20220903004934_add_extra_columns.rb | 6 +++ db/schema.rb | 4 +- 3 files changed, 29 insertions(+), 27 deletions(-) create mode 100644 db/migrate/20220903004934_add_extra_columns.rb diff --git a/app/views/templates/awesome/resume.html.erb b/app/views/templates/awesome/resume.html.erb index b0ace74..a3e9e61 100644 --- a/app/views/templates/awesome/resume.html.erb +++ b/app/views/templates/awesome/resume.html.erb @@ -60,7 +60,7 @@ %\dateofbirth{January 1st, 1970} \homepage{<%= @user.other_page_url %>} \github{<%= @user.github %>} -% \linkedin{posquit0} +\linkedin{<%= @user.linkedin %>} % \gitlab{gitlab-id} % \stackoverflow{SO-id}{SO-name} % \twitter{@twit} @@ -90,19 +90,11 @@ {<%= @user.name %>~~~ยท~~~Resume} {\thepage} - -%------------------------------------------------------------------------------- -% CV/RESUME CONTENT -% Each section is imported separately, open each file in turn to modify content -%------------------------------------------------------------------------------- -%\input{resume/summary.tex} - %------------------------------------------------------------------------------- % SECTION TITLE %------------------------------------------------------------------------------- \cvsection{Summary} - %------------------------------------------------------------------------------- % CONTENT %------------------------------------------------------------------------------- @@ -112,9 +104,24 @@ <%= @user.objective %> \end{cvparagraph} +%------------------------------------------------------------------------------- +% SECTION TITLE +%------------------------------------------------------------------------------- +\cvsection{Skills} + +%------------------------------------------------------------------------------- +% CONTENT +%------------------------------------------------------------------------------- +\begin{cvskills} -% \input{resume/experience.tex} +%--------------------------------------------------------- +<% @user.skills.each do |s| %> + \cvskill + {<%= s.title %>} % Category + {<%= s.detail %>} % Skills +<% end %> +\end{cvskills} %------------------------------------------------------------------------------- % SECTION TITLE @@ -136,12 +143,9 @@ {<%= w.period %>} % Date(s) { \begin{cvitems} % Description(s) of tasks/responsibilities - \item {Provisioned an easily managable hybrid infrastructure(Amazon AWS + On-premise) utilizing IaC(Infrastructure as Code) tools like Ansible, Packer and Terraform.} - \item {Built fully automated CI/CD pipelines on CircleCI for containerized applications using Docker, AWS ECR and Rancher.} - \item {Designed an overall service architecture and pipelines of the Machine Learning based Fashion Tagging API SaaS product with the micro-services architecture.} - \item {Implemented several API microservices in Node.js Koa and in the serverless AWS Lambda functions.} - \item {Deployed a centralized logging environment(ELK, Filebeat, CloudWatch, S3) which gather log data from docker containers and AWS resources.} - \item {Deployed a centralized monitoring environment(Grafana, InfluxDB, CollectD) which gather system metrics as well as docker run-time metrics.} + <% w.items_csv.split(",").each do |i| %> + \item {<%= i %>} + <% end %> \end{cvitems} } <% end %> @@ -149,15 +153,11 @@ %--------------------------------------------------------- \end{cventries} - -% \input{resume/education.tex} - %------------------------------------------------------------------------------- % SECTION TITLE %------------------------------------------------------------------------------- \cvsection{Education} - %------------------------------------------------------------------------------- % CONTENT %------------------------------------------------------------------------------- @@ -179,11 +179,5 @@ %--------------------------------------------------------- \end{cventries} - - - -% \input{resume/extracurricular.tex} - - %------------------------------------------------------------------------------- \end{document} diff --git a/db/migrate/20220903004934_add_extra_columns.rb b/db/migrate/20220903004934_add_extra_columns.rb new file mode 100644 index 0000000..855656b --- /dev/null +++ b/db/migrate/20220903004934_add_extra_columns.rb @@ -0,0 +1,6 @@ +class AddExtraColumns < ActiveRecord::Migration[7.0] + def change + add_column :work_experiences, :items_csv, :text + add_column :education_entries, :reference_date, :date + end +end diff --git a/db/schema.rb b/db/schema.rb index 64069cf..cdab400 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema[7.0].define(version: 2022_09_01_023521) do +ActiveRecord::Schema[7.0].define(version: 2022_09_03_004934) do create_table "education_entries", force: :cascade do |t| t.string "title" t.string "institution" @@ -19,6 +19,7 @@ ActiveRecord::Schema[7.0].define(version: 2022_09_01_023521) do t.integer "user_id" t.datetime "created_at", null: false t.datetime "updated_at", null: false + t.date "reference_date" t.index ["user_id"], name: "index_education_entries_on_user_id" end @@ -55,6 +56,7 @@ ActiveRecord::Schema[7.0].define(version: 2022_09_01_023521) do t.datetime "updated_at", null: false t.integer "user_id" t.date "reference_date" + t.text "items_csv" t.index ["user_id"], name: "index_work_experiences_on_user_id" end