commit 268da2262d9685886f96af03daa820e8fee02088 Author: Tigor Hutasuhut Date: Wed Jun 19 17:04:45 2024 +0700 initial commit diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..a5dbbcb --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use flake . diff --git a/.forgejo/workflows/main.yml b/.forgejo/workflows/main.yml new file mode 100644 index 0000000..d4ed0a5 --- /dev/null +++ b/.forgejo/workflows/main.yml @@ -0,0 +1,26 @@ +name: build resume + +on: push +jobs: + build: + runs-on: ubuntu + + steps: + - uses: actions/checkout@v3 + + - name: "Setup env" + uses: JRMurr/direnv-nix-action@v4.1.0 + + - name: use typst + run: typst --version + shell: bash + + - name: build resume + run: ./build.sh + shell: bash + + - uses: actions/upload-artifact@v3 + with: + name: Resume + path: resume.pdf + if-no-files-found: error diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..098944f --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,26 @@ +name: build resume + +on: push +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: "Setup env" + uses: JRMurr/direnv-nix-action@v4.1.0 + + - name: use typst + run: typst --version + shell: bash + + - name: build resume + run: ./build.sh + shell: bash + + - uses: actions/upload-artifact@v3 + with: + name: Resume + path: resume.pdf + if-no-files-found: error \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..89c6f7e --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.direnv +resume.pdf +*.pdf +.DS_Store diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..6aff5ad --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 Harkunwar Kochar + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..71b872b --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +This is an Attractive Resume Template built with Typst, an open source Latex alternative written in Rust, and compiles to PDF. + +To compile it to pdf, make sure typst is installed. The provided flake.nix and .envrc is useful if you have nix and direnv installed. This template using the Mulish Google Font and is provided in the `assets/fonts` directory. + +Mirror link at Typst.app https://typst.app/project/rLlknWbYc8XMaZc45BHlMl + +Preview:\ + + diff --git a/assets/fonts/Mulish-Black.ttf b/assets/fonts/Mulish-Black.ttf new file mode 100644 index 0000000..2fab2a5 Binary files /dev/null and b/assets/fonts/Mulish-Black.ttf differ diff --git a/assets/fonts/Mulish-BlackItalic.ttf b/assets/fonts/Mulish-BlackItalic.ttf new file mode 100644 index 0000000..144fa2c Binary files /dev/null and b/assets/fonts/Mulish-BlackItalic.ttf differ diff --git a/assets/fonts/Mulish-Bold.ttf b/assets/fonts/Mulish-Bold.ttf new file mode 100644 index 0000000..1cfe324 Binary files /dev/null and b/assets/fonts/Mulish-Bold.ttf differ diff --git a/assets/fonts/Mulish-BoldItalic.ttf b/assets/fonts/Mulish-BoldItalic.ttf new file mode 100644 index 0000000..88e88dd Binary files /dev/null and b/assets/fonts/Mulish-BoldItalic.ttf differ diff --git a/assets/fonts/Mulish-ExtraBold.ttf b/assets/fonts/Mulish-ExtraBold.ttf new file mode 100644 index 0000000..f203a0f Binary files /dev/null and b/assets/fonts/Mulish-ExtraBold.ttf differ diff --git a/assets/fonts/Mulish-ExtraBoldItalic.ttf b/assets/fonts/Mulish-ExtraBoldItalic.ttf new file mode 100644 index 0000000..b629858 Binary files /dev/null and b/assets/fonts/Mulish-ExtraBoldItalic.ttf differ diff --git a/assets/fonts/Mulish-ExtraLight.ttf b/assets/fonts/Mulish-ExtraLight.ttf new file mode 100644 index 0000000..0cb1a3a Binary files /dev/null and b/assets/fonts/Mulish-ExtraLight.ttf differ diff --git a/assets/fonts/Mulish-ExtraLightItalic.ttf b/assets/fonts/Mulish-ExtraLightItalic.ttf new file mode 100644 index 0000000..45a263f Binary files /dev/null and b/assets/fonts/Mulish-ExtraLightItalic.ttf differ diff --git a/assets/fonts/Mulish-Italic.ttf b/assets/fonts/Mulish-Italic.ttf new file mode 100644 index 0000000..1a92be1 Binary files /dev/null and b/assets/fonts/Mulish-Italic.ttf differ diff --git a/assets/fonts/Mulish-Light.ttf b/assets/fonts/Mulish-Light.ttf new file mode 100644 index 0000000..3b6feb1 Binary files /dev/null and b/assets/fonts/Mulish-Light.ttf differ diff --git a/assets/fonts/Mulish-LightItalic.ttf b/assets/fonts/Mulish-LightItalic.ttf new file mode 100644 index 0000000..ad149d9 Binary files /dev/null and b/assets/fonts/Mulish-LightItalic.ttf differ diff --git a/assets/fonts/Mulish-Medium.ttf b/assets/fonts/Mulish-Medium.ttf new file mode 100644 index 0000000..50c337b Binary files /dev/null and b/assets/fonts/Mulish-Medium.ttf differ diff --git a/assets/fonts/Mulish-MediumItalic.ttf b/assets/fonts/Mulish-MediumItalic.ttf new file mode 100644 index 0000000..627d045 Binary files /dev/null and b/assets/fonts/Mulish-MediumItalic.ttf differ diff --git a/assets/fonts/Mulish-Regular.ttf b/assets/fonts/Mulish-Regular.ttf new file mode 100644 index 0000000..57d7f11 Binary files /dev/null and b/assets/fonts/Mulish-Regular.ttf differ diff --git a/assets/fonts/Mulish-SemiBold.ttf b/assets/fonts/Mulish-SemiBold.ttf new file mode 100644 index 0000000..22fd7bc Binary files /dev/null and b/assets/fonts/Mulish-SemiBold.ttf differ diff --git a/assets/fonts/Mulish-SemiBoldItalic.ttf b/assets/fonts/Mulish-SemiBoldItalic.ttf new file mode 100644 index 0000000..89a7757 Binary files /dev/null and b/assets/fonts/Mulish-SemiBoldItalic.ttf differ diff --git a/assets/images/attractive-typst-resume-blue.png b/assets/images/attractive-typst-resume-blue.png new file mode 100644 index 0000000..f12ec48 Binary files /dev/null and b/assets/images/attractive-typst-resume-blue.png differ diff --git a/assets/images/attractive-typst-resume-green.png b/assets/images/attractive-typst-resume-green.png new file mode 100644 index 0000000..fe5a21e Binary files /dev/null and b/assets/images/attractive-typst-resume-green.png differ diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..fc7631f --- /dev/null +++ b/build.sh @@ -0,0 +1 @@ +typst --font-path ./assets/fonts compile resume.typ resume.pdf "$@" \ No newline at end of file diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..5a0220d --- /dev/null +++ b/flake.lock @@ -0,0 +1,60 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1718530797, + "narHash": "sha256-pup6cYwtgvzDpvpSCFh1TEUjw2zkNpk8iolbKnyFmmU=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "b60ebf54c15553b393d144357375ea956f89e9a9", + "type": "github" + }, + "original": { + "id": "nixpkgs", + "ref": "nixos-unstable", + "type": "indirect" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs", + "utils": "utils" + } + }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "utils": { + "inputs": { + "systems": "systems" + }, + "locked": { + "lastModified": 1681202837, + "narHash": "sha256-H+Rh19JDwRtpVPAWp64F+rlEtxUWBAQW28eAi3SRSzg=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "cfacdce06f30d2b68473a46042957675eebb3401", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..5efcabe --- /dev/null +++ b/flake.nix @@ -0,0 +1,25 @@ +{ + inputs = { + nixpkgs.url = "nixpkgs/nixos-unstable"; + utils.url = "github:numtide/flake-utils"; + }; + outputs = { self, nixpkgs, utils, ... }: + utils.lib.eachDefaultSystem (system: + let + pkgs = import nixpkgs { inherit system; }; + in + { + devShells.default = pkgs.mkShell { + buildInputs = [ + pkgs.typst + pkgs.typstyle + pkgs.typst-live + ]; + + shellHook = '' + echo `${pkgs.typst}/bin/typst --version` + ''; + }; + }); +} + diff --git a/resume.typ b/resume.typ new file mode 100644 index 0000000..9f5c44b --- /dev/null +++ b/resume.typ @@ -0,0 +1,229 @@ +#import "template.typ": * + +#set page(margin: ( + left: 10mm, + right: 10mm, + top: 15mm, + bottom: 15mm, +)) + +#let linkify(lnk, txt, color: "#4273B0") = { + underline(link(lnk, text(rgb(color), txt))) +} + +#set text(font: "Mulish") + +#show: project.with( + theme: rgb("#0F83C0"), + name: "Tigor Hutasuhut", + title: "Software Engineer", + contact: ( + contact( + text: "tigor.hutasuhut@gmail.com", + link: "mailto:tigor.hutasuhut@gmail.com", + ), + contact( + text: "GitHub.com/tigorlazuardi", + link: "https://www.github.com/tigorlazuardi", + ), + contact( + text: "LinkedIn.com/in/tigor-hutasuhut-00346463", + link: "https://www.linkedin.com/in/tigor-hutasuhut-00346463/", + ), + contact( + text: "git.tigor.web.id", + link: "https://git.tigor.web.id", + ), + ), + main: ( + section( + title: "Work Experience", + content: ( + subSection( + title: "Bareksa Marketplace Indonesia", + titleEnd: "Jakarta, Indonesia", + subTitle: "Software Engineer", + subTitleEnd: [*November 2019 - Present*], + ), + subSection( + title: [#underline[Stock Project]], + content: list( + [ + Developed *high performance and cheap to scale _stateful_* Market Data streams infrastructure that can hold against + *thousands of connections* without noticeable delay from IDX Burse data to consumer’s devices and can hold against + irregular conditions like Market Panics. + ], + [ Implemented high performance aggregators and runners for Market Data that can serve final data to users without delay. ], + [ Collaborated with Frontend and Product teams to implement HTTP API and WebSocket for Stock Platform ], + [ Main researcher and MVP provider to demo and integrate new technology stack to existing ones. ], + ), + ), + subSection( + title: [#underline[Internal Toolings]], + content: list( + [ + Developed and Maintain library for standardized logging, http body responses, metrics, and tracing integration to + support faster debugs and performance review. + ], + [ + Developed integration tool and library for easy integration of apps with secure secret management + #underline(link("https://vault.hashicorp.com",text(rgb("#4273B0"),"Vault Hashicorp"))). + ], + ), + ), + subSection( + title: [#underline[SBN Project]], + content: list( + [ Implement HTTP APIs for integration with *_Kemenkeu_*], + [ Create Cron Jobs to ensure the internal system is as close as possible to *_Kemenkeu_* system state. ], + [ Transform *Sync* operation Buy/Sell process to *_Async_* infrastructure to support _backpressure_ when consumers rush to buy new SBN products. ], + [ Create batch job runners to integrate and syncs data with *_Bina Artha_*. ], + ), + ), + subSection( + title: [#underline[Gold Project]], + content: list( + [ Implement HTTP APIs for integration with *_Pegadaian_*], + [ Create Cron Jobs to ensure the internal system is as close as possible to *_Pegadaian_*'s open-loop system state. ], + ), + ), + ), + ), + section( + title: "Projects", + content: ( + subSection( + title: underline( + link( + "https://git.tigor.web.id/tigor/redmage", + text(rgb("#4273B0"), "Redmage [WIP]"), + ), + ), + content: list( + [ + A performant image scraper and downloader for Reddit using Go for the backend and a + combination of #linkify("https://github.com/a-h/templ", "templ"), #linkify("https://tailwindcss.com/", "Tailwind") #linkify("https://alpinejs.dev/", "AlpineJS"), and #linkify("https://htmx.org", "HTMX") + for the interactive frontend. + ], + [Designed with simplicity and easy deployments in-mind like output single binary and using SQLite for the database.], + [Fault tolerant system with #underline(link("https://watermill.io/",text(rgb("#4273B0"),"Watermill"))) Pub/Sub library.], + [Easy management of Schedulers, Devices, and Subreddits via it's Web UI.], + [Demo: #linkify("https://redmage-demo.tigor.web.id", "https://redmage-demo.tigor.web.id")], + ), + ), + subSection( + title: underline( + link( + "https://git.tigor.web.id/tigor/nixos", + text(rgb("#4273B0"), "Homeserver"), + ), + ), + content: list( + [ + A self-host, on-prem machine. Using #linkify("https://podman.io/", "Podman") for the containerization, + #linkify("https://caddyserver.com", "Caddy") for the reverse proxy + and #linkify("https://nixos.org", "NixOS") for the OS and + #linkify("https://git.tigor.web.id/tigor/NixOS/src/branch/main/system/podman", "declarative configuration of Podman containers and Caddy virtual hosts"). + . + ], + [ + Hosts over many services, like + #linkify("https://git.tigor.web.id", "Git Server and its CI Runners (Forgejo)"), + #linkify("https://nextcloud.tigor.web.id", "Nextcloud"), + #linkify("https://qbittorrent.tigor.web.id", "Seedbox (Qbittorrent)"). + #linkify("https://pihole.tigor.web.id", "Pihole (DNS Management, Ad Blocker, and DHCP Server)"), + #linkify("https://jellyfin.tigor.web.id", "Mediaserver (Jellyfin)"), + OpenVPN. + ], + ), + ), + subSection( + title: underline( + link( + "https://git.tigor.web.id/tigor/nixos", + text(rgb("#4273B0"), "NixOS"), + ), + ), + content: list( + [ + #linkify("https://nixos.org", "NixOS") Configuration for homeserver and devices. + ], + [ + The declarative nature of NixOS allows for easy reproducibility on hardware failures, + lock-file system to ensure the same dependencies installed across instances, + and a generation system allows rollback on os failures, thus ensuring a very robust and stable system. + ], + ), + ), + ), + ), + section( + title: "Skills", + content: ( + subSection( + title: "Languages", + content: ( + "Go", + "Typescript", + "Javascript", + "Lua", + "Nix", + "Rust", + "Java", + "SQL", + "HTML", + "CSS", + ).join(" • "), + ), + subSection( + title: "Technologies", + content: ( + "Kafka", + "Postgresql", + "MongoDB", + "InfluxDB", + "Docker", + "Kubernetes", + "Gitlab CI/CD", + "Github Actions", + "NixOS", + "Neovim", + "NodeJS", + "Git", + "Hashicorp Vault", + "Redis", + "HTMX", + "Tailwind", + "React", + "NextJS", + "WebExtension", + ).join(" • "), + ), + ), + ), + section( + title: "Education", + content: ( + subSection( + title: [ + #set par(justify: false) + University of Indonesia + ], + subTitle: "Bachelor of Economics", + content: [ + ], + ), + subSection( + title: [ + #set par(justify: false) + Hacktiv8 Indonesia + ], + subTitle: "Fullstack Javascript Immersive Bootcamp", + content: [ + ], + ), + ), + ), + ), +) + diff --git a/template.typ b/template.typ new file mode 100644 index 0000000..d139296 --- /dev/null +++ b/template.typ @@ -0,0 +1,139 @@ +#let contact(text: "", link: none) = { + (text: text, link: link) +} + +#let subSection(title: "", titleEnd: none, subTitle: none, subTitleEnd: none, content: []) = { + (title: title, titleEnd: titleEnd, subTitle: subTitle, subTitleEnd: subTitleEnd, content: content) +} + +#let section(title: "", content: subSection()) = { + (title: title, content: content) +} + +#let project( + theme: rgb("#4273B0"), + name: "", + email: none, + title: none, + contact: ((text: [], link: "")), + skills: ( + languages: () + ), + main: ( + (title: "", content: []) + ), + sidebar: (), + body) = { + + let backgroundTitle(content) = { + align(center, box(fill: theme, text(white, size: 1.25em, weight: "bold", upper(content)), width: 1fr, inset: 0.3em)) + } + + let secondaryTitle(content) = { + text(weight: "bold", size: 1.125em, upper(content)) + } + + let italicColorTitle(content) = { + text(weight: "bold", style: "italic", size: 1.125em, theme, content) + } + + + let formattedName = block(upper(text(2.5em, weight: "bold", theme, name))) + + let formattedTitle = block(upper(text(2.25em, gray.darken(50%), title))) + + let titleColumn = align(center)[ + #formattedName + #formattedTitle + ] + + let contactColumn = align(center)[#contact.map(c => { + if c.link == none [ + #c.text\ + ] else [ + #underline(link(c.link, text(theme, c.text)))\ + ] + }).join()] + + grid( + columns: (4fr, 5fr), + column-gutter: 0em, + contactColumn, + titleColumn, + ) + + set par(justify: true) + + let formattedLanguageSkills = [ + #text(skills.languages.join(" • ")) + ] + + let createLeftRight(left: [], right: none) = { + if (right == none) { + align(start, text(left)) + } else { + grid( + columns: (1fr, 1fr), + align(start, text(left)), + align(end, right), + ) + } + } + +// let parseContentList(contentList) = { +// if contentList.format == "bulletJoin" [ +// #text(contentList.content.join(" • ")) +// ] else if contentList.format == "bulletList" [ +// #contentList.content.map(c => list(c)).join() +// ] +// } + + let parseSubSections(subSections) = { + subSections.map(s => { + [ + #createLeftRight( + left: secondaryTitle(s.title), + right: if s.titleEnd != none { + italicColorTitle(s.titleEnd) + } + ) + #if s.subTitle != none or s.subTitleEnd != none [ + #text( + top-edge: 0.2em, + createLeftRight( + left: italicColorTitle(s.subTitle), + right: s.subTitleEnd + ), + ) + ] + #s.content + ] + }).join() + } + + let parseSection(section) = { + section.map(m => { + [ + #backgroundTitle(m.title) + #parseSubSections(m.content) + ] + }).join() + } + + let mainSection = parseSection(main) + let sidebarSection = parseSection(sidebar) + + + grid( + columns: (0fr, 1fr), + column-gutter: 0em, + sidebarSection, + mainSection, + ) + + // Main body. + set par(justify: true) + show: columns.with(3, gutter: 1.3em) + + // body +}