Author: Catzie

  • Ankle MRI at Makati Medical Center: What It’s Like with Back Pain & Noise Anxiety

    Ankle MRI at Makati Medical Center: What It’s Like with Back Pain & Noise Anxiety

    I’m writing this article to document what an ankle MRI is like at Makati Medical Center, with scoliosis back pain flare-up, and anxiety caused by MRI sounds.

    So, what was it like?

    Quick answer: My ankle MRI experience at Makati Medical Center took about 20 minutes in the scanner (a Siemens, most likely a MAGNETOM Aera). With scoliosis lower-back pain flare-up and anxiety about loud noises, three things made it manageable: a thin soft mat under my lower-to-mid back, earplugs, and music through the headset. All provided by the staff in the MRI room.

    So yeah, read on as I share my first-hand experience with Makati Med’s MRI scanner, what I’d prepare for next time. Keep in mind this is just my personal experience — not medical advice, okay?! 🤨

    Experience & update note: First-hand patient walkthrough based on an outpatient right ankle MRI at Makati Medical Center (OU Radiology MRI) on November 22, 2026. Last updated November 28, 2026.

    What helped: key takeaways

    • A thin soft mat under my lower-to-mid back eased my scoliosis back pain.
    • Eyeglasses were not allowed in the MRI room. I wore contact lenses instead.
    • Ticking the “Anxiety” box on the form may be why I got music through the headset. (My 2 previous MRI scans didn’t play music)
    • Slightly moving the fingers of my left hand helped my feet stay still.
    • Radiology registration took longer than I expected for an evening, around 9PM (I arrived around 9 PM for a 10:30 PM appointment, which was 30 minutes earlier than recommended.)

    MRI quick facts

    DetailMy scan
    Body part scanned“MRI RIGHT ANKLE W/O CONTRAST”
    ScannerSiemens (most likely a MAGNETOM Aera)
    HospitalMakati Medical Center (Makati Med), Makati City
    DepartmentOU Radiology MRI
    Date and timeNov 22, 2026, 10:30 PM (I arrived around 9 PM)
    Time in the scannerAbout 20 minutes
    Extra concernsLower-back pain from scoliosis; anxiety about loud noises
    Comfort aids I receivedThin soft mat under my back, earplugs, music through the headset

    Why my ankle needed MRI

    I had my right ankle checked by my orthopedic doc, Dr. Carlo Borbon, because it often became stiff and painful after long periods of being motionless — such as upon waking up in the morning, and after a long time of not moving as I hyperfixate on a desk activity.

    Doc suspected an issue with the ankle joint and ordered an x-ray and MRI for my right foot for a proper diagnosis.

    What was check-in and the MRI screening form like?

    Registration at the Makati Med radiology department took longer than I expected, even though I arrived in the evening. I think it’s because there was only 1 registration counter active at that night. Part of check-in is a screening sheet.

    There was a screening form that I had to fill up, including a checklist of health conditions and metal implants that apply to me, and a section where one may mark where any metal implants are on a drawing of the human body. I put a check mark next to “Anxiety” because I felt so anxious while inside the MRI machine during my previous session, about two years ago — just in case they’ll provide any additional assistance to help me feel less anxious during the process.

    Makati Med MRI screening sheet with a checklist where patients tick the health conditions and metal implants that apply to them
    Makati Med MRI screening sheet with a checklist where patients tick the health conditions and metal implants that apply to them.
    Drawing of the human body where patients mark the location of any metal implants before an MRI
    A closer look at the drawing of the human body, where patients mark the location of any metal implants before an MRI.

    I also learned that eyeglasses cannot go into the MRI room, as confirmed by Radiology Registration staff at the counter. Good thing I researched about it before hand — I wear contact lens by default when I stay outside for several hours, and had planned to switch into eyeglasses to rest my eyes during the MRI scan. But upon finding out from majority of my sources online that eyeglasses usually aren’t allowed, I kept the contacts on.

    What do patients need to remove before the MRI scan?

    In the screening form, it explicitly says: “Before your MRI, please remove all metallic objects including keys, hair pins, barrettes, jewelry, watch, safety pins, paperclips, money clip, credit cards, coins, pens, belt, metal buttons, pocket knife, clothing with metal material, and retainers or oral devices.“

    Depending on which body part will be scanned, you may have to remove clothing as well. But don’t worry, as they will provide you a gown in that case.

    On that night I only had to remove both shoes, and the sock from my right ankle because that’s the part that needed MRI scans.

    What was the patient interview like at Makati Med before the MRI session?

    An interview by radiology staff is part of the process before the actual MRI scan. They verbally confirmed if I have any metal implants inside my body. The staff also subtly reassured me that if I start feeling uncomfortable, I may squeeze a “patient call button” to call their attention and check up on me.

    Where do I put my things before MRI at Makati Med?

    The radiology staff asked me to place my belongings inside the locker. The locker room has a sliding door — patients who need to change into their hospital gowns might be allowed to use the area as well.

    How did I handle lying flat with scoliosis back pain?

    I asked the staff for help because lying flat tends to aggravate my lower-back pain from scoliosis. At my previous MRI, my knees were elevated. That was not possible this time, because my right leg had to stay straight so the scanner could capture my right ankle.

    They gave me a thin soft mat instead. It ran from my lower back, as low as my tailbone area, up to my mid back. Surprisingly, it helped.

    I asked my companion, who has a better sense of time than I do, how long I had been gone. I was in the scanner for about 20 minutes. My back felt fine the whole time. I also felt less anxious than at my previous MRI, which required me to go farther into the machine and had to “enjoy” louder MRI noises. This time there was music playing through the headset (Christmas songs!) which helped me relax even though the MRI noises were much louder than the music.

    Why does trying to stay still during MRI scans make me feel like my body will move?

    The more I told myself “stay still, especially you — right ankle!” the more I felt my body might move on its own at any minute! 😰 I wondered whether that is what people call “intrusive thoughts”.

    What helped me: slightly moving the fingers of my left hand kept my feet still. Because this was what ultimately helped, I realized that my body was starting to feel restless, and thus the desire to move. Although, to be safe, tell the radiology staff first if you wanna try this as well! I was told that if I moved during the scan, the process will take longer. 🥲

    For the first time, the staff played music through the headset. My companion’s recent MRI in August had earplugs but no music. I suspect it has something to do with my ticking the “Anxiety” box, but I wasn’t able to confirm that was the reason.

    Painting of the MRI machine

    The day after the scan, I painted the MRI machine in watercolor and white charcoal. Sadly, I still can’t paint in pure watercolor where one leaves white portions un-painted instead of applying white gouache, or in my case, white charcoal pencil (it’s like white chalk).

    Anyway, I painted it to process the experience and to remember what it looked like… approximately. 😅 It also let me share in this blog what the machine looked like, more or less!

    Hand holding a paintbrush against the paper of a watercolor and white charcoal painting of an MRI machine
    Painting the MRI machine from memory. The auditory experience involved a mix of music in my head and noises from the machine. Mostly the latter. 🙁
    Watercolor palette and various brushes beside the watercolor and white charcoal painting of an MRI machine
    My watercolor palette and brushes.

    What I would do next time

    • Tell the staff about my lower-back pain and ask for a thin soft mat right away.
    • Tick the “Anxiety” box on the form again, since it may be what got me earplugs and music.
    • Wear contact lenses, because eyeglasses cannot go into the MRI room.
    • Arrive early and allow extra time for radiology registration.
    • Bring a companion who can keep track of time while I am in the scanner.

    Quick questions about MRI based on my experience at Makati Med

    How long did my ankle MRI take?

    About 20 minutes in the scanner. Registration took much longer than the scan itself, so I would allow extra time before your appointment.

    Are eyeglasses allowed in the MRI room?

    Not at Makati Medical Center. Eyeglasses could not go into the MRI room, so I wore contact lenses. Other hospitals may have different rules, so check with yours.

    Can you get music during an MRI?

    I did. The staff played music through the headset and gave me earplugs. I had ticked the “Anxiety” box, but I cannot confirm that was the reason. You can ask the staff if music is available before you start your MRI scan.

    Does your head go inside the machine for an ankle MRI?

    Not as far as in upper-body scans. Compared to my previous MRI that required going farther into the machine, this ankle scan placed me less deep inside the scanner, and the MRI noises felt less intense. Only my feet up to the hips had to be under the machine itself this time.

    How can I make an MRI more comfortable if I have scoliosis or lower-back pain?

    Tell the radiology staff before they position you on the table. Because my right leg had to stay straight for the ankle scan, elevating my knees was not an option—instead, the Makati Med staff placed a thin soft mat from my tailbone up to my mid-back, which kept my back pain-free for the entire 20 minutes.

    What happens if you feel anxious or panicky inside the MRI at Makati Med?

    Before the scan, you can tick the “Anxiety” box on Makati Med’s screening form and mention it during the staff interview. Inside the scanner, they give you a handheld “patient call button” that you can squeeze anytime if you feel uncomfortable so the staff can check on you.

    How early should I arrive for an MRI at Makati Medical Center?

    The standard 1-hour lead time should suffice.

    Is the Radiology Registration Process Faster at Night?

    No, the registration actually felt like it was longer compared to my previous experiences at day time.

    I arrived around 9:00 PM and registration still took longer than expected because only one registration counter was open that night.

    Can I wear contact lenses or dental retainers during an MRI?

    At Makati Med, I was allowed to keep my contact lenses on (since eyeglasses are not permitted in the MRI room). However, their screening form explicitly instructs patients to remove retainers and other oral devices along with all metal objects before the scan.

    How much does an ankle MRI cost at Makati Medical Center, and is HMO accepted?

    The total cost in my receipt was 11,300 Pesos for a “MRI RIGHT ANKLE W/O CONTRAST”.

    HMO is accepted — mine was covered by Intellicare.

    How much do PWD card holders pay for 1 ankle MRI at Makati Medical Center?

    9,040.00 Pesos (2,260.00 Pesos discount)

    Reference: Senior/PWD Discount Calculator (Enter “1” as total number of persons, “1” as number of seniors and PWDs in the group, “11300” as amount billed before discount applied, “0” as non-discounted extra charge, check the “This Transaction is VAT-Exempt” checkbox, and then press the Calculate button)

    How do you book or schedule an MRI appointment at Makati Med?

    We called +632 8888 8999 to book our MRI appointment at Makati Med.

    We were also able to reschedule it in person through the Central Registration at Makati Med.

    How long does it take to get MRI results at Makati Medical Center?

    I was told that I would get my MRI result within 2-3 days.

    Actual waiting for results was 3 days. Had my MRI scan done on Nov. 22 at night, then got my results on Nov. 25.

  • Does Boxplus Charge Couriers to Drop Off Parcels? We Tested It (Lalamove)

    Quick answer: In our test, Boxplus did not ask us for any payment as a courier. We registered through the Boxplus courier app with “Lalamove” selected, dropped off a test parcel, and the box opened with no charge.

    Tested on: November 15, 2026 · Location: Brgy. Bangkal, Makati City, Philippines · Last updated: November 23, 2026

    Why we tested this

    We were curious whether a courier is charged a subscription or storage fee to use a Boxplus locker. So we tried it ourselves, start to finish.

    How to drop off a parcel in Boxplus as a courier

    1. Install the Boxplus courier app.
    2. Register as a courier and select “Lalamove” as the app.
    3. Log in, then go to the Boxplus machine and select Drop off.
    4. Log in at the machine. Scan the QR code with the courier app. You can also log in with your mobile number and password.
    5. Pick an available box. Available boxes are highlighted in orange, so they’re hard to miss.
    6. Enter the waybill number and the customer’s phone number.
    7. Confirm. The box opens automatically.
    8. Insert the item and close the door.

    What happened: was the courier charged?

    No. After we confirmed, the box opened automatically and no charge was asked of the courier. Zero.

    Boxplus locker screen showing "door opened" after a courier drop-off, with no payment requested
    The “door opened” screen appeared without us paying anything.

    Does the recipient get notified?

    Yes. As soon as we closed the box, we got an SMS on our other mobile number, which we were using as the recipient.

    Things to keep in mind

    This was a single test, using the Lalamove option. Fees or rules could differ by courier company, location, or over time. If you’re planning regular drop-offs, confirm with Boxplus or your courier company.

    FAQ

    Does Boxplus charge couriers a fee to drop off a parcel?

    Not in our test. The box opened without any payment being requested from the courier.

    Which app do I select when registering as a courier?

    We selected Lalamove in the Boxplus courier app.

    How do I log in at the Boxplus machine?

    Scan the QR code with the courier app, or use your mobile number and password.

    How does the recipient know the parcel arrived?

    They get an SMS right after the courier closes the box.

  • How to Serve an Astro Site from Subpath like /resume (Markdown Resume Example)

    Recently, I’ve been blessed with time to play around with things I missed in the world of web development while I’ve been heads-down in Android apps. Astro is one of the things I got curious about recently, and my curious mind led me to try making it display a page derived from the contents of a Markdown file containing my resume. Why a resume.md file? Simply because it’s what I happened to have, ready to use at that moment.

    So, how do we serve an Astro Site from Subpath like /resume?

    Quick answer for TL;DR peeps :-p

    Tested: November 8, 2026 on macOS with Node.js v26.13.0 and Astro v7.4.7:

    To build a resume website with Astro, install Node.js, create a project with npm create astro@latest resume-site (minimal template), save your Markdown resume as src/data/resume.md, set base: '/resume' in astro.config.mjs, render the resume in src/pages/index.astro, preview it with npm run dev, and generate the static files with npm run build. The result is a single-page static site served from the /resume path (locally at http://localhost:4321/resume/) that displays your Markdown resume.

    To dive into more details beyond the above summary, such as screenshots from my terminal, copy-pasted code from files I edited, a troubleshooting “cheatsheet” table, and an FAQ.

    Everything below was run on a Mac, and the exact versions are listed in the “Tested with” table for our reference. Yes, “our reference” — I write these how-to articles mainly for myself because I tend to easily forget things. (That girl could never remember if a friend resides in Pampanga or in Pangasinan? I’d rather not name that girl, but let’s call her Catzie.)

    Okay, back to serious business!

    Every command relevant to this article, in one place:

    node -v
    cd Documents
    mkdir webproj
    cd webproj
    npm create astro@latest resume-site
    cd resume-site
    mkdir src/data
    mv /path/to/myresume.md src/data/resume.md
    vim astro.config.mjs        # set base: '/resume'
    vim src/pages/index.astro   # render the resume
    npm run dev                 # preview at http://localhost:4321/resume/
    npm run build               # static files are written to dist

    Any text editor works in place of vim. It’s just been a long-time habit of mine to use vim when I edit text files quickly through command line interface. The exact contents of the two edited files are in steps 2.2 and 2.3 below.

    In this article

    1. Prep your tools (install Node.js)
    2. Make the project (create the Astro site)
      1. Add your resume file to src/data
      2. Set the base path in astro.config.mjs
      3. Create index.astro to render your resume
      4. Test locally with npm run dev
      5. Build the real files with npm run build
    3. Troubleshooting
    4. Summary
    5. Key terms
    6. Frequently asked questions
    7. Sources and further reading

    Key takeaways

    • Install Node.js first. node -v returns a version number once it is installed, and the macOS installer also installs npm.
    • npm create astro@latest resume-site scaffolds the project. This walkthrough chooses the minimal (empty) template, installs dependencies, and initializes a git repository.
    • Setting base: '/resume' in astro.config.mjs makes the site work at /resume instead of the main site address.
    • The Markdown resume lives in src/data as resume.md and is rendered by src/pages/index.astro through the Content component.
    • npm run dev previews the site at http://localhost:4321/resume/, and npm run build writes the static production files to dist.

    Tested with

    ComponentVersion or detail
    Node.jsv26.13.0 (64-bit macOS installer from the LTS page)
    npmv11.20.0
    create-astro5.3.1
    Astrov7.4.7 (shown in the dev server output)
    Starter templateMinimal (empty)
    Operating systemmacOS
    Date testedNovember 8, 2026
    Versions and environment used in this walkthrough, taken from the terminal output and screenshots below.

    Prerequisites

    • A Mac with a terminal. This walkthrough uses macOS, and paths such as /usr/local/bin come from the macOS installer.
    • Node.js, which you can get from the Node.js download page. Astro’s dev environment setup guide currently lists v22.12.0 as the minimum supported version and says odd-numbered versions are not supported (checked November 2026). This article uses v26.13.0.
    • A resume written in Markdown (a .md file).
    • A text editor. This article edits files with vim in the terminal, and includes the few vim keys you need.

    Part 1: Prep your tools (install Node.js)

    This part checks whether Node.js is already installed and, if it is not, installs it on macOS. Node.js and npm are needed for every Astro command used later.

    I ran node -v in my terminal and it returned “not found”, so I installed Node.js on my Mac with the details below.

    I downloaded the 64-bit installer from the LTS page (at the time it was https://nodejs.org/en/blog/release/v26.13.0).

    The 64-bit installer package installed the following:

    • Node.js v26.13.0 to /usr/local/bin/node
    • npm v11.20.0 to /usr/local/bin/npm

    My Mac then asked whether I wanted to move the “node js” installer to the trash, and I said yes!

    I closed and reopened the terminal, and node -v now returns v26.13.0. Sweet.

    Part 2: Make the project (create the Astro site)

    This part scaffolds a new Astro project named resume-site with the create-astro command and the minimal (empty) template, then adds the resume file, sets the base path, creates the index page, tests locally, and builds the static files.

    Create a webproj folder in Documents and move into it:

    cd Documents
    mkdir webproj
    cd webproj

    Create the Astro project with the create-astro command:

    npm create astro@latest resume-site

    npx asks to install [email protected], and I answered y:

    Need to install the following packages:
    [email protected]
    Ok to proceed? (y) y
    
    > npx
    > 'create-astro' resume-site
    Terminal showing the create-astro prompt asking how to start a new project, with starter template options
    Figure 1: The create-astro prompt asking how to start a new project, with the starter template options listed.

    Answer the questions that create-astro asks. Use the arrow keys to choose an option, then press Enter.

    My answers:

    tmpl   How would you like to start your new project?
           Use minimal (empty) template
    
    deps   Install dependencies?
           Yes
    
    git    Initialize a new git repository?
           Yes

    Done for now. Here is the finished setup:

    Terminal showing the finished Astro project setup: minimal template, dependencies installed, git initialized
    Figure 2: Final create-astro output for resume-site, showing the minimal template, installed dependencies, and an initialized git repository.

    Omg, it created the initial commit for me. Saved mental resources, such as what to write as the commit message:

    git log
    commit 30521bd903ee79f2b87b4df4cb07a8a0cd417832 (HEAD -> main)
    Author: houston[bot] <[email protected]>
    Date:   Sun Nov 8 17:21:25 2026 +0800
    
        "Initial commit from Astro"

    Move into the new project folder. Every remaining command in this guide runs from here:

    cd resume-site

    2.1 Add your resume file to src/data

    Create a src/data folder inside the project and move your Markdown resume into it as resume.md so the index page can import it.

    Create the data folder inside src:

    mkdir src/data

    Move your resume file into [...]/webproj/resume-site/src/data. Rename it to resume.md while moving it, because index.astro imports ../data/resume.md:

    mv /path/to/myresume.md src/data/resume.md

    2.2 Set the base path in astro.config.mjs

    Replace the contents of astro.config.mjs with a configuration that sets Astro’s base option to /resume, so the site is served from the /resume path.

    Open the Astro config file in vim:

    vim astro.config.mjs

    New to vim? You only need these keys. Type gg then dG to delete everything in the file. Press i to start typing, paste the code, press Esc, then type :wq and press Enter to save and quit. Any other editor works too.

    Delete everything in the file. Paste this:

    import { defineConfig } from 'astro/config';
    
    export default defineConfig({
      base: '/resume',
    });

    Save the file.

    This is the most important step. It makes the page work at /resume instead of the main site address.

    vim editing astro.config.mjs with base set to '/resume'
    Figure 3: astro.config.mjs open in vim with base set to ‘/resume’.

    2.3 Create index.astro to render your resume

    Replace the contents of src/pages/index.astro with a page that imports Content from the Markdown file and renders it.

    Open index.astro in vim from the project folder:

    vim src/pages/index.astro

    Delete everything in it (same vim keys as above). Paste this:

    ---
    import { Content } from '../data/resume.md';
    ---
    
    <html lang="en">
      <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1" />
        <title>Art Resume</title>
      </head>
      <body>
        <main>
          <Content />
        </main>
      </body>
    </html>
    
    <style is:global>
      body {
        max-width: 42rem;
        margin: 2rem auto;
        padding: 0 1rem;
        font-family: system-ui, sans-serif;
        line-height: 1.7;
        font-size: 1.1rem;
      }
    </style>

    What this does: the block between the --- lines imports Content from your Markdown file, <Content /> renders that file as HTML inside <main>, and the <style> block centers the text in a readable 42rem column. Change the <title> to whatever you want shown in the browser tab.

    Save the file. Your project now contains these files (other generated files omitted):

    resume-site/
    ├── astro.config.mjs
    ├── package.json
    └── src/
        ├── data/
        │   └── resume.md
        └── pages/
            └── index.astro

    2.4 Test locally with npm run dev

    Start the Astro dev server with npm run dev and open the /resume path on localhost port 4321 to preview the page.

    Run npm run dev inside the resume-site folder:

    npm run dev
    Terminal showing the Astro dev server ready at http://localhost:4321/resume
    Figure 4: The Astro dev server ready at http://localhost:4321/resume after running npm run dev.

    It runs and displays the Markdown content as expected on http://localhost:4321/resume/. Because base is set to /resume, open that path rather than the plain http://localhost:4321/ address.

    Press Ctrl+C in the terminal to stop the server.

    2.5 Build the real files with npm run build

    Run npm run build to generate the static production files, which Astro writes to the dist folder.

    Run the build command:

    npm run build

    Built! Here is the build output:

    Terminal showing astro build finishing with Complete!
    Figure 5: Output of npm run build, ending with Complete! after Astro generates the static route.

    Because base is /resume, the files in dist should be served from the /resume path on your site.

    Troubleshooting

    These are the problems most likely to come up in the steps above, based on how each step works.

    SymptomLikely causeFix
    node -v says “not found”Node.js is not installed, or the terminal was opened before the install finished.Install Node.js from the download page, close and reopen the terminal, then run node -v again.
    Astro commands fail on an old Node.jsYour Node.js is older than Astro’s minimum, or is an odd-numbered version.Run node -v and compare it with the minimum listed in Astro’s setup guide (v22.12.0 when checked in November 2026).
    http://localhost:4321/ does not show your resumebase is set to /resume, so the page lives under that path.Open http://localhost:4321/resume/ instead.
    An error about ../data/resume.md not being foundThe resume file is missing from src/data or has a different name.Make sure the file is exactly src/data/resume.md, or change the import path in index.astro to match your file name.
    Common problems in this setup and how to fix them.

    Summary

    You now have an Astro project named resume-site that renders a Markdown resume at /resume. It was previewed locally at http://localhost:4321/resume/ and compiled to static files with npm run build. Because base is set to /resume, the page is served at the /resume path instead of the main site address.

    Catzie’s Qualms re using Astro specifically for a one-page resume site

    The site I created was just a resume with 1 page. When it was time to add Google Analytics tracking code, it didn’t feel right to open the .astro file again and rebuild just to copy-paste again to my web hosted file. I think if I want to keep Astro as that resume site’s framework, I’d setup a form of CI/CD. Otherwise, I’ll keep it simple with good ol’ HTML + CSS and a dash of JavaScript as needed. At this point, I am not really very familiar with coding in node.js yet! I simply followed other guides to do what I did here. Maybe that’s one thing I’ll try in the near future. 🙏

    Key terms

    Astro
    A web framework for building content-driven websites. This article uses it with the minimal template to generate a static page from a Markdown file.
    Node.js
    A JavaScript runtime. Astro’s command-line tools run on it, so it must be installed first.
    npm
    The package manager installed alongside Node.js. It runs the create, dev, and build commands in this article.
    Base path
    The URL subpath a site is served from. With base set to /resume, Astro uses that path as the root for pages and assets in development and in the production build.
    Content component
    A component Astro makes available when you import from a Markdown file. It renders the file’s full body as HTML, which is how index.astro displays the resume.
    Static build
    Pre-generated files produced by npm run build. Astro writes them to the dist folder.

    Frequently asked questions

    How do I check whether Node.js is installed on a Mac?

    Run node -v in the terminal. A version number such as v26.13.0 means Node.js is installed. A “not found” message means it still needs to be installed, which is what happened at the start of this walkthrough.

    Which Node.js version does Astro need?

    Astro’s dev environment setup guide lists v22.12.0 as the minimum supported version and says odd-numbered versions are not supported (checked November 2026). This walkthrough used v26.13.0.

    What does the base option in astro.config.mjs do?

    The base option sets the path the site is served from. With base: '/resume', the page works at /resume instead of the main site address, and the dev server URL becomes http://localhost:4321/resume. Astro’s configuration reference describes it as the base path to deploy to, used as the root for pages and assets in both development and the production build.

    Which Astro starter template does this tutorial use?

    It uses the minimal (empty) template, answers Yes to installing dependencies, and answers Yes to initializing a git repository. The contents of src/pages/index.astro are then replaced with a page that renders the Markdown resume.

    How does the index page display a Markdown resume?

    The page frontmatter imports Content from ../data/resume.md, and the page body renders it with a <Content /> component inside a <main> element.

    What URL does the Astro dev server use, and how do I stop it?

    In this walkthrough, npm run dev started the dev server at http://localhost:4321/resume. Press Ctrl+C in the terminal to stop it.

    Why doesn’t http://localhost:4321/ show my resume?

    Because base is set to /resume, the resume page lives under that path. Open http://localhost:4321/resume/ instead of the plain localhost address.

    What does npm run build produce?

    It generates the static production files. In the build output in this article, Astro reports a static output, builds one page, and writes the files to the dist folder inside the project.

    Where do I put the built files so the resume works at /resume?

    Serve the files from the dist folder at the /resume path on your site. Because base is set to /resume, the built page expects to be reachable there rather than at the main site address.

    How do I edit files in vim if I have never used it?

    Open the file with vim filename. Type gg then dG to delete all existing lines, press i to start typing, paste your code, press Esc, then type :wq and press Enter to save and quit. Any text editor works as well.

    Does create-astro create a git commit automatically?

    When you answer Yes to initializing a git repository, the project starts with an initial commit. In this walkthrough, git log showed a commit authored by houston[bot] with the message "Initial commit from Astro".

    Sources and further reading

  • How to Set Up SSH Keys for GitHub on a Mac (Fix “Authentication Failed” on git push)

    Life involves a lot of problem solving. Today, my first one was this: I had forgotten the username and password for one of my GitHub repos, and my current Mac had no SSH keys set up. I don’t regularly work on this repo (an Android app), and I’ve changed devices since I was last active on this project.

    Tested on: a Mac running a macOS version Tahoe 26.6.2 using an ed25519 key.

    Quick answer: how to fix “Authentication failed” on git push by using SSH keys

    A TL;DR for fellow impatient people. 🤪

    If git push fails with “Authentication failed” and your Mac has no SSH keys, create an ed25519 key with ssh-keygen, add it to the SSH agent, and add the public key to your GitHub account under Settings → SSH and GPG keys. Then, remember to change your repo’s remote URL from HTTPS to SSH with git remote set-url!

    Step-by-step quick guide:

    1. Check for existing SSH keys with ls -al ~/.ssh.
    2. Create a new key with ssh-keygen -t ed25519 -C "[email protected]".
    3. Start the SSH agent with eval "$(ssh-agent -s)".
    4. Create ~/.ssh/config so macOS loads your key automatically.
    5. Add the key to the agent with ssh-add --apple-use-keychain ~/.ssh/id_ed25519.
    6. Copy your public key with pbcopy < ~/.ssh/id_ed25519.pub.
    7. Paste the public key into GitHub (Settings → SSH and GPG keys).
    8. Test the connection with ssh -T [email protected].
    9. Switch your repo’s remote to the SSH URL with git remote set-url origin [email protected]:USERNAME/REPO.git.

    And for those who want to dive in to more details, read on~

    The problem: git push says “Repository not found” and “Authentication failed”

    I tried to push to my repo, and Git asked for a username and password I no longer remembered. Entering anything failed with the error below.

    me@my-MacBook-Pro My-App % git push
    Username for 'https://github.com':
    Password for 'https://github.com':
    remote: Repository not found.
    fatal: Authentication failed for 'https://github.com/catzie/My-App.git/'

    Since I had no SSH keys on this device, it was time to set them up.

    Step-by-step: set up SSH keys for GitHub on a Mac

    Step 1: Check for existing SSH keys

    First, I checked whether any keys already existed on my Mac:

    ls -al ~/.ssh

    It found nothing, so I went ahead and created one.

    Step 2: Generate a new ed25519 SSH key

    I created a new SSH key with this command (replace the email with your own):

    ssh-keygen -t ed25519 -C "[email protected]"

    Here is the response I got from the terminal. It asks where to save the key and for an optional passphrase (you can leave it empty for no passphrase).

    Generating public/private ed25519 key pair.
    Enter file in which to save the key (/Users/me/.ssh/id_ed25519):
    Created directory '/Users/me/.ssh'.
    Enter passphrase for "/Users/me/.ssh/id_ed25519" (empty for no passphrase):
    Enter same passphrase again:
    Your identification has been saved in /Users/me/.ssh/id_ed25519
    Your public key has been saved in /Users/me/.ssh/id_ed25519.pub
    The key fingerprint is:
    SHA256:gca01y4Nhsp3ZhFrUnY8ty6VPQiNjBEIt7IVbnFqdx4 [email protected]
    The key's randomart image is:
    +--[ED25519 256]--+
    |    ..=.B*.o     |
    |     =.%.=* o    |
    |    . # X E+ =   |
    |   . O * O .= o  |
    |    + . S +o   . |
    |     . + .. .    |
    |           .     |
    |                 |
    |                 |
    +----[SHA256]-----+

    Step 3: Start the SSH agent

    Next, I started the SSH agent:

    eval "$(ssh-agent -s)"

    This showed me Agent pid 1234. The number at the end will vary.

    Step 4: Create the SSH config file (macOS newer than Sierra 10.12.2)

    Since I use a macOS version newer than Sierra 10.12.2, I had to edit an SSH config file. I tried to open it first:

    open ~/.ssh/config
    The file /Users/me/.ssh/config does not exist.

    As you can see, the terminal told me the file doesn’t exist yet. I habitually use vim to quickly edit text files in the terminal, and to create nonexistent ones:

    vim ~/.ssh/config

    This opens a blank text file named “config” located at ~/.ssh/.

    Terminal showing vim opened on a new, blank ~/.ssh/config file

    I pressed the i key to enter vim’s INSERT mode, and then pasted the following text:

    Host github.com
    AddKeysToAgent yes
    UseKeychain yes
    IdentityFile ~/.ssh/id_ed25519
    vim in INSERT mode with the GitHub SSH config pasted into ~/.ssh/config
    Trivia: what does the ~ in ~/.ssh/id_ed25519 mean?

    In Mac and Linux terminals, the ~ symbol automatically translates to your user’s home directory, which on a Mac is usually /Users/YourUsername. If your Mac username is me, the terminal reads ~/.ssh/id_ed25519 and expands it to /Users/me/.ssh/id_ed25519 behind the scenes.

    Note: if you chose not to use a passphrase, you may omit the UseKeychain line from the config.

    If you see a “Bad configuration option: usekeychain” error, add an IgnoreUnknown UseKeychain line to the same Host github.com section of the config, above the UseKeychain line:

    Host github.com
    IgnoreUnknown UseKeychain
    AddKeysToAgent yes
    UseKeychain yes
    IdentityFile ~/.ssh/id_ed25519

    To save the config file and exit vim, I pressed the Escape key, typed :wq!, and pressed Enter.

    Step 5: Add your SSH key to the agent

    Then I ran this command:

    ssh-add --apple-use-keychain ~/.ssh/id_ed25519

    Note: omit --apple-use-keychain if you didn’t set a passphrase.

    The terminal responded with:

    Identity added: /Users/me/.ssh/id_ed25519 ([email protected])

    Step 6: Copy your public key

    Now it’s time to add the key to my GitHub account! I copied the contents of my public key file (~/.ssh/id_ed25519.pub) to my clipboard with this command:

    pbcopy < ~/.ssh/id_ed25519.pub

    Step 7: Add the public key to your GitHub account

    In my web browser, I went to github.com and navigated to Settings → SSH and GPG keys. I entered the title I wanted to label this key with, and selected Authentication Key as the key type. For the key itself, paste the contents of the local ~/.ssh/id_ed25519.pub file from your machine.

    GitHub Settings page for adding a new SSH key, with title, key type, and key fields

    Step 8: Test your SSH connection to GitHub

    After setting up the key with GitHub, I tested the SSH connection:

    ssh -T [email protected]

    It worked! The screenshot below shows the response I got. Note that every user connecting to GitHub.com via SSH using ED25519 sees that exact same fingerprint: SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU.

    Terminal output of ssh -T git@github.com showing the GitHub ED25519 fingerprint

    Step 9: Switch your Git remote from HTTPS to SSH

    Time to test on the real thing: pushing my new Android app commits. But Git still prompted me for a username and password!

    This is because my Git remotes were still pointing to HTTPS URLs instead of SSH. I confirmed it with:

    git remote -v
    origin  https://github.com/catzie/My-App.git (fetch)
    origin  https://github.com/catzie/My-App.git (push)

    I visited my repo page on GitHub to get the SSH URL, which looks like [email protected]:catzie/My-App.git, and then updated the remote URL:

    git remote set-url origin [email protected]:catzie/My-App.git

    Running git remote -v again showed the remotes now use SSH:

    git remote -v
    origin  [email protected]:catzie/My-App.git (fetch)
    origin  [email protected]:catzie/My-App.git (push)

    Finally, I ran git push again within my Android Studio project and it successfully did as told. 😎 This is because the git remote is now pointing to the SSH URL, and should authenticate with the SSH key instead of prompting me again for username and password (which I already remembered! But not willing to type over and over again!)

    Common problems and fixes

    ProblemCauseFix
    git push shows “Repository not found” and “Authentication failed”Forgotten GitHub credentials and no SSH keys set up on this deviceFollow steps 1 to 9 above to set up an SSH key
    git push still asks for a username and password after adding the SSH keyThe Git remote still points to an HTTPS URLRun git remote set-url origin [email protected]:USERNAME/REPO.git (step 9)
    “Bad configuration option: usekeychain”The UseKeychain option isn’t recognizedAdd IgnoreUnknown UseKeychain to the Host github.com section, above the UseKeychain line (step 4)
    open ~/.ssh/config says the file does not existThe config file hasn’t been created yetCreate it with vim ~/.ssh/config (step 4)
    No passphrase set on the keyThe keychain options are only needed for passphrasesOmit the UseKeychain config line and the --apple-use-keychain flag

    Frequently asked questions

    Why does git push still ask for my username and password after I set up an SSH key?

    Your Git remote is probably still using an HTTPS URL. Run git remote -v to check. If it shows https://github.com/..., switch it to the SSH URL with git remote set-url origin [email protected]:USERNAME/REPO.git.

    How do I check if I already have SSH keys on my Mac?

    Run ls -al ~/.ssh in the terminal. On my Mac it found nothing, which is how I knew I needed to create a new key.

    Do I need a passphrase for my GitHub SSH key?

    The ssh-keygen prompt lets you leave the passphrase empty. If you choose no passphrase, you can omit the UseKeychain line from your ~/.ssh/config and the --apple-use-keychain flag from ssh-add.

    How do I test my SSH connection to GitHub?

    Run ssh -T [email protected] after adding your public key to your GitHub account. Every user connecting to GitHub.com over SSH with ED25519 sees the same fingerprint, SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU.

    How do I fix the “Bad configuration option: usekeychain” error?

    Add the line IgnoreUnknown UseKeychain to the Host github.com section of ~/.ssh/config, above the UseKeychain line.

    Which macOS versions need the SSH config file?

    I needed it because I use a macOS version newer than Sierra 10.12.2. The config file tells SSH to add your key to the agent automatically, to use the keychain, and which identity file to use for github.com.

    Command cheat sheet

    All the commands from this guide, in order. Replace the email, username, and repo name with your own.

    # 1. Check for existing keys
    ls -al ~/.ssh
    
    # 2. Generate a new ed25519 key
    ssh-keygen -t ed25519 -C "[email protected]"
    
    # 3. Start the SSH agent
    eval "$(ssh-agent -s)"
    
    # 4. Create the SSH config file
    vim ~/.ssh/config
    
    # 5. Add the key to the agent (omit --apple-use-keychain if no passphrase)
    ssh-add --apple-use-keychain ~/.ssh/id_ed25519
    
    # 6. Copy the public key, then paste it into GitHub
    pbcopy < ~/.ssh/id_ed25519.pub
    
    # 7. Test the connection
    ssh -T [email protected]
    
    # 8. Switch the remote from HTTPS to SSH
    git remote -v
    git remote set-url origin [email protected]:USERNAME/REPO.git
  • How to Get a PWD ID in Makati City (Plus MAC Home Visit Process)

    Getting a PWD ID in Makati City has many benefits especially if one has expensive maintenance meds to buy regularly. But navigating local government processes adds to the burdens as PWDs. If you live in Makati and need to apply for a Person With Disability (PWD) card, this guide covers things you need to know — including details from an actual home visit experience from the Makati Action Center (MAC).

    I’ll do my best to share exact step-by-step processes, the updated requirements, and a handy tool to help you calculate your discounts once your PWD ID arrives. Note: my source, Renato, got theirs from Bangkal’s Makati Action Center.

    📋 Requirements for a Makati PWD ID

    • Six (6) copies 1×1 ID Picture
    • Latest COMELEC Certification (for minors, Voter’s Certificate of parent/guardian is required)
    • Barangay Certification
    • Duly accomplished PWD Profile Sheet
    • Medical Certificate with classification of disability and duration of the validity of the ID (recent) or Certification on Disability signed by the Brgy. Health Center Doctor with duration/validity of the ID.

    🚶‍♂️ Step-by-Step Application Process

    1. Obtain the Application Form and PWD Profile Sheet from the Persons with Disability Affairs Office (PDAO);
    2. Fill out the Application Form and PWD Profile Sheet accurately and completely;
    3. Affix one (1) ID picture on the accomplished Application Form and staple the other ID pictures with the PWD Registration Form (PWD-RF);
    4. Attach a copy of the required documents to confirm the medical/disability condition/s of the applicant;
    5. Submit the accomplished PWD-RF and all the requirements to the MSWDPDAO;
    6. Claim PWD ID, Purchase Booklet and Movie Booklet after three (3) working days from the date of submission.

    Extra step for PWD ID Application – Barangay Health Center (Experienced in Bangkal, Makati City)

    My source followed up with additional info based on their experience in getting a PWD ID from Barangay Bangkal, Makati City:

    1. If applicable: Bring medical certificate from your doctor, stating that you are eligible for a PWD ID (Note: Not sure if anyone was already able to acquire a med cert directly from the barangay’s doctor, without a pre-requisite med cert from their personal doctor. Let me know your experiences, too, guys!)
    2. Get medical certificate from Barangay Health Center’s doctor to certify that you are eligible for a PWD ID (It’s like showing a pre-requisite med cert in order to acquire a version that is officially recorgnized in the Barangay Hall.)
    3. Submit that medical certificate along with other requirements

    To quote my source:

    “Sa naalala ko, we went to MAC first and they advised us kumuha ng medical certificate from the Barangay Health Center [in Bangkal]. Dun namin binigay med cert from psychiatrist and they gave us a med cert from the barangay’s doctor after a few days [and submitted that during application for PWD ID in Makati.]“

    It sounded like there were several back-and-forths during their PWD ID application process.

    The MAC Home Visit and Delivery (Renato’s Experience)

    Unlike many other cities, Makati requires a home visit as part of the requirements to acquire a PWD ID.

    According to Renato, a Makati resident who applied for PWD ID in the year 2022, the home visit was like this (Pasting their write-up that they were supposed to share in their own blog, but never got to, which they attribute to their ADHD. lol. )

    “Today, Kuya Jun from Makati City Hall / Makati Action Center visited my home as part of the process to apply for a PWD ID.

    It was an anxiety-inducing wait since it’s a “surprise visit” that may happen any time within 2 weeks after PWD ID application. This was to verify that I am really a resident of the address I provided during my application. My disability’s symptom is mostly executive dysfunction from ADHD, which requires that I plan every single activity in my day, otherwise I won’t be able to accomplish most of my responsibilities.

    It was a good timing that Kuya Jun arrived before my day started so I don’t have to stop what I’m doing.

    He asked me to fill out a form. I wonder why they make me fill out so many forms. I already filled out a similar form during my application on July 1, 2022.

    PWD ID will be delivered in 1-2 weeks from now. It’s a bit frustrating because at Makati Action Center, I was told that I should receive my PWD ID 2 weeks after application. This week is already the second week after application, and now I have to wait another week or two?

    I told Kuya Jun about my concern and he asked if I already need the PWD ID ASAP. I said yes, because I need it to buy medications in discounted price. He put my mind at ease by telling me that the 1-2 weeks estimate has a buffer, and it’s possible to get the PWD ID in less than 1 week. He also said that he’ll try to expedite the processing of my application with Makati City Hall so that I receive my PWD ID soon.

    Some things don’t sink in fully in my mind unless I hold an object that proves that something happened. I’ve been diagnosed with ADHD Inattentive-Type decades after suffering from its symptoms in the dark, and it’s a life-changing event. So all the struggles I go through while doing simple things that other people seem to accomplish without much effort, were caused by a mental, congenital disability? Owning a PWD ID, as well as the new experiences (like weird looks I may get from other customers as I’m not on a wheelchair) that I’ll gain while using it in establishments, will help everything sink in. Once everything fully sinks in, I’ll be more able to plan what I want to do in life around my disability.”

    – Renato (a Makati resident), 2022

    📱 Maximize Your New ID: Free PWD / Senior Citizen Discount Calculator (for Android devices)

    Being a member of a family with several senior citizens, I regularly transact with establishments using senior citizen discount IDs. So, a few years ago, I developed a free Android app that calculates the expected discount for transactions that used a Senior Citizen ID or a PWD ID card for availing discounts.

    Once your Makati PWD ID arrives, calculating your 20% discount and VAT exemption at restaurants and pharmacies can be confusing.

    Make your life a little easier as/with a PWD or Senior Citizen. Download my free app on Google Play:

    Senior/PWD Discount Calculator (For Android)

    Why it’s helpful:

    • Instant Math: Computes your exact payable amount instantly, factoring in VAT exemption.
    • No arguments: Shows you the exact math so you know you are billed correctly at fast-food chains and drugstores.
    • Free: No money need be shelled out here. Life’s already expensive for PWDs and senior citizens.
    • Tried and tested: Me and my family have personally tried and got accurate discount computations from this app.

    [Download the PWD Discount Calculator here]

    I can almost hear complaints for IPhone users as they read the “for android” bit. Hehe. Maybe one of these days I could try to make at least a web-based version, if not an IOS app one? We’ll see.

    💡 Final Tips for getting a PWD ID for Makati Residents

    Applying for a PWD ID locally through your Barangay MAC can save you a trip to Makati City Hall. Make sure your contact details on the form are accurate so the MAC personnel can easily find your home for the home visit! Best of luck to you or to your loved ones who wish to apply for a PWD ID in Makati~ Remember, only real PWDs should apply for PWD IDs. Fake PWDs, scram!!

  • Attempting to keep blog traffic afloat in the AI Era

    I’ve been so “heads down” at my Android App Dev job in the past few years that I didn’t know what’s going on in the SEO scene anymore.

    Today I learned that SEO is not all there is anymore. Well, I knew something was off because my blog traffic dropped significantly in the past couple of years, in time with the introduction of AI Overview when one searches for something on Google. GEO (Generative Engine Optimization) is a specific concept I learned about today. The way I understand it, it’s optimizing your web pages not for search engine, but for AI (the “generative engine”).

    I picked 1 popular (relatively) blog post and optimized its structure for GEO:

    • Added an <h2> tag “Quick Guide Summary” to a popular post
    • Converted the entire WordPress post content into “block” format (it’s a very old blog post!)
    • Converted list items that were only pieced together by asterisks (*) preceding each line, into semantic HTML lists
    • Wrapped important texts in <strong> tags, optimizing them for both human and AI readers
    • Added a FAQ at the bottom of the post to help AI find answers easier on my blog post
    • Added publish and last update dates to each blog post

    Non-GEO specific: Added navigation “helpers” to the loooong blog post, such as jump-to-top and jump-to-section links/buttons.

    Not sure yet how this will affect the blog post. I’m still re-learning the ropes here. GEO, huh? Interesting..

  • Freshened up this site…

    In response to the recent PHP vulnerability issue, I spent some time here in this blog site to upgrade my WordPress theme, plugins, WordPress installation itself, and finally, the PHP version.

    One minor issue was encountered after upgrading plugins — Head, Footer and Page Injection plugin began showing parts of some code that I inserted, as plain text in my blog site!! I noticed that the plugin had a notice stating that “php is not allowed in your code (disabled by your theme or a plugin)”. The fix that worked was to head over to the plugin’s settings page (Settings -> Head and Footer) and then go to the ‘Advanced’ tab, and then toggle on the setting labeled as “Enable PHP execution”.

    The PHP version I was using was quite outdated T_T and so upgrading to version 8.0 broke my blog site with the error “there has been a critical error on this website.” Fortunately, the thing that I deactivated first was the exact cause of error: my old, outdated theme! It was “Sparkling” theme, which I hadn’t touched for years. I changed into the Twenty Twenty-Five theme for a fresh look and updated WP code. Thank you, Colorlib for the Sparkling theme — it served me well for several years!

    I feel good after taking the time to update this site. I’ve had this for over a decade now.