# HG changeset patch # User MrJuneJune # Date 1785720435 25200 # Node ID 1de6f553cbc08facf0e355abd563b96494a8d62d # Parent d27054a145795285869a2b38e1505fe394daf51e [resume] Add Microsoft Member of Technical Staff role diff -r d27054a14579 -r 1de6f553cbc0 mrjunejune/BUILD --- a/mrjunejune/BUILD Sun Aug 02 16:50:49 2026 -0700 +++ b/mrjunejune/BUILD Sun Aug 02 18:27:15 2026 -0700 @@ -1,5 +1,6 @@ load("@rules_cc//cc:cc_binary.bzl", "cc_binary") load("@rules_cc//cc:cc_library.bzl", "cc_library") +load("@rules_shell//shell:sh_binary.bzl", "sh_binary") load("//gui_ze:gui_ze.bzl", "move_files_into_dir", "bundle") # Files @@ -134,3 +135,14 @@ name = "mrjunejune_server_debug_bundle", binary = ":mrjunejune_server_debug", ) + +sh_binary( + name = "generate_resume_pdf", + srcs = ["generate_resume_pdf.sh"], + data = [ + ":mrjunejune_server", + "@bazel_tools//tools/bash/runfiles", + "@playwright_chromium_linux//:chrome", + "@playwright_chromium_linux//:chromium", + ], +) diff -r d27054a14579 -r 1de6f553cbc0 mrjunejune/generate_resume_pdf.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mrjunejune/generate_resume_pdf.sh Sun Aug 02 18:27:15 2026 -0700 @@ -0,0 +1,86 @@ +#!/usr/bin/env bash +set -euo pipefail + +if [[ -n "${RUNFILES_DIR:-}" ]]; then + source "$RUNFILES_DIR/bazel_tools/tools/bash/runfiles/runfiles.bash" +elif [[ -n "${RUNFILES_MANIFEST_FILE:-}" ]]; then + runfiles_library="$( + grep -sm1 '^bazel_tools/tools/bash/runfiles/runfiles.bash ' \ + "$RUNFILES_MANIFEST_FILE" | cut -d' ' -f2- + )" + source "$runfiles_library" +elif [[ -d "$0.runfiles" ]]; then + RUNFILES_DIR="$0.runfiles" + export RUNFILES_DIR + source "$RUNFILES_DIR/bazel_tools/tools/bash/runfiles/runfiles.bash" +elif [[ -f "$0.runfiles_manifest" ]]; then + RUNFILES_MANIFEST_FILE="$0.runfiles_manifest" + export RUNFILES_MANIFEST_FILE + runfiles_library="$( + grep -sm1 '^bazel_tools/tools/bash/runfiles/runfiles.bash ' \ + "$RUNFILES_MANIFEST_FILE" | cut -d' ' -f2- + )" + source "$runfiles_library" +else + echo "Bazel runfiles are unavailable." >&2 + exit 1 +fi + +workspace="${BUILD_WORKSPACE_DIRECTORY:-}" +if [[ -z "$workspace" || ! -d "$workspace/.hg" ]]; then + echo "Run this target from the Zenbu workspace." >&2 + exit 1 +fi + +server="$(rlocation _main/mrjunejune/mrjunejune_server)" +browser="$(rlocation playwright_chromium_linux/chrome)" +runfiles_workspace="$(dirname "$(dirname "$server")")" +output="$workspace/mrjunejune/src/public/resume.pdf" +source_copy="$workspace/mrjunejune/src/resume.pdf" +temporary_pdf="$(mktemp --suffix=.pdf)" +browser_profile="$(mktemp -d)" +server_pid="" + +cleanup() { + trap - EXIT INT TERM + if [[ -n "$server_pid" ]] && kill -0 "$server_pid" 2>/dev/null; then + kill "$server_pid" 2>/dev/null || true + wait "$server_pid" 2>/dev/null || true + fi + rm -f "$temporary_pdf" + rm -rf "$browser_profile" +} +trap cleanup EXIT +trap 'exit 130' INT TERM + +( + cd "$runfiles_workspace" + exec "$server" +) & +server_pid=$! + +for _ in $(seq 1 100); do + if curl --fail --silent --max-time 1 http://127.0.0.1:6969/resume >/dev/null; then + break + fi + if ! kill -0 "$server_pid" 2>/dev/null; then + echo "Personal-site server exited before PDF generation." >&2 + exit 1 + fi + sleep 0.1 +done + +curl --fail --silent --max-time 1 http://127.0.0.1:6969/resume >/dev/null +"$browser" \ + --headless \ + --no-sandbox \ + --disable-gpu \ + --no-pdf-header-footer \ + --user-data-dir="$browser_profile" \ + --print-to-pdf="$temporary_pdf" \ + http://127.0.0.1:6969/resume + +test -s "$temporary_pdf" +install -m 0644 "$temporary_pdf" "$output" +install -m 0644 "$temporary_pdf" "$source_copy" +echo "Updated $output" diff -r d27054a14579 -r 1de6f553cbc0 mrjunejune/src/public/resume.pdf Binary file mrjunejune/src/public/resume.pdf has changed diff -r d27054a14579 -r 1de6f553cbc0 mrjunejune/src/resume.css --- a/mrjunejune/src/resume.css Sun Aug 02 16:50:49 2026 -0700 +++ b/mrjunejune/src/resume.css Sun Aug 02 18:27:15 2026 -0700 @@ -174,6 +174,88 @@ flex-wrap: wrap; } +@media print { + @page { + size: A4; + margin: 10mm 12mm; + } + + html, + body { + background: #fff; + color: #111; + font-size: 9pt; + line-height: 1.25; + } + + header, + footer, + #themeToggle, + .info > a, + .info > hr { + display: none !important; + } + + main { + width: auto; + max-width: none; + margin: 0; + padding: 0; + } + + a { + color: inherit; + text-decoration: none; + } + + a::before { + display: none !important; + } + + .header-firstname-style, + .header-lastname-style { + font-size: 20pt; + } + + .header-social-style { + font-size: 8.5pt; + line-height: 1.3; + } + + .sub-header { + margin-top: 8px; + } + + .section-style { + font-size: 12pt; + } + + .paragraph-style, + .skill-type-style, + .entry-title-style, + .entry-location-style, + .entry-position-style, + .entry-date-style, + .description-style { + font-size: 8.5pt; + line-height: 1.3; + } + + .description-style { + margin: 2px 0 5px; + padding-left: 16px; + text-align: left; + } + + .description-style li { + margin-bottom: 2px; + } + + .flex-box { + gap: 6px; + } +} + /* Mobile responsive styles */ @media (max-width: 720px) { .header-firstname-style, diff -r d27054a14579 -r 1de6f553cbc0 mrjunejune/src/resume.pdf Binary file mrjunejune/src/resume.pdf has changed diff -r d27054a14579 -r 1de6f553cbc0 mrjunejune/src/resume/index.html --- a/mrjunejune/src/resume/index.html Sun Aug 02 16:50:49 2026 -0700 +++ b/mrjunejune/src/resume/index.html Sun Aug 02 18:27:15 2026 -0700 @@ -2,6 +2,7 @@ {{/parts/base_head.html}} + Juntae Park Resume @@ -75,13 +76,37 @@

+ Microsoft +

+

United States

+
+
+

MEMBER OF TECHNICAL STAFF

+ +
+ +
+

Meta

San Francisco, CA, USA

SOFTWARE ENGINEER

- +