From c5385444d614b5e611b864656a60a4ede4b4ff49 Mon Sep 17 00:00:00 2001 From: Jan Wojciechowski Date: Wed, 6 Sep 2023 21:48:11 +0200 Subject: [PATCH] feature: Hackerrank link --- awesome-cv.cls | 10 ++++++++++ examples/coverletter.tex | 1 + examples/cv.tex | 1 + examples/resume.tex | 1 + 4 files changed, 13 insertions(+) diff --git a/awesome-cv.cls b/awesome-cv.cls index 961410e..da3d762 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -342,6 +342,10 @@ % Usage: \kaggle{} \newcommand*{\kaggle}[1]{\def\@kaggle{#1}} +% Defines writer's Hackerrank (optional) +% Usage: \hackerrank{} +\newcommand*{\hackerrank}[1]{\def\@hackerrank{#1}} + % Defines writer's google scholar profile (optional) % Usage: \googlescholar{}{} % e.g.https://scholar.google.co.uk/citations?user=wpZDx1cAAAAJ @@ -583,6 +587,12 @@ \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \href{https://kaggle.com/\@kaggle}{\faKaggle\acvHeaderIconSep\@kaggle}% }% + \ifthenelse{\isundefined{\@hackerrank}}% + {}% + {% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% + \href{https://www.hackerrank.com/\@hackerrank}{\faHackerrank\acvHeaderIconSep\@hackerrank}% + }% \ifthenelse{\isundefined{\@googlescholarid}}% {}% {% diff --git a/examples/coverletter.tex b/examples/coverletter.tex index c2d165b..2fd6003 100644 --- a/examples/coverletter.tex +++ b/examples/coverletter.tex @@ -68,6 +68,7 @@ % \reddit{reddit-id} % \medium{madium-id} % \kaggle{kaggle-id} +% \hackerrank{hackerrank-id} % \googlescholar{googlescholar-id}{name-to-display} %% \firstname and \lastname will be used % \googlescholar{googlescholar-id}{} diff --git a/examples/cv.tex b/examples/cv.tex index d055f79..f7cdd98 100644 --- a/examples/cv.tex +++ b/examples/cv.tex @@ -68,6 +68,7 @@ % \reddit{reddit-id} % \medium{medium-id} % \kaggle{kaggle-id} +% \hackerrank{hackerrank-id} % \googlescholar{googlescholar-id}{name-to-display} %% \firstname and \lastname will be used % \googlescholar{googlescholar-id}{} diff --git a/examples/resume.tex b/examples/resume.tex index 415dcea..de75064 100644 --- a/examples/resume.tex +++ b/examples/resume.tex @@ -68,6 +68,7 @@ % \reddit{reddit-id} % \medium{madium-id} % \kaggle{kaggle-id} +% \hackerrank{hackerrank-id} % \googlescholar{googlescholar-id}{name-to-display} %% \firstname and \lastname will be used % \googlescholar{googlescholar-id}{}