Skip to content
View a-luna's full-sized avatar

Block or report a-luna

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
a-luna/README.md

a-luna's github stats

👨🏽‍💻 What Type of Code Did I Write This Week?

From: 02 January 2025 - To: 09 January 2025

Python       2 hrs 4 mins    ████████████████████████░   96.47 %
Bash         3 mins          ▓░░░░░░░░░░░░░░░░░░░░░░░░   02.86 %
JSON         0 secs          ░░░░░░░░░░░░░░░░░░░░░░░░░   00.44 %
JavaScript   0 secs          ░░░░░░░░░░░░░░░░░░░░░░░░░   00.23 %

Coding metrics are powered by Wakatime

  • Add Search to Your Static Site with Lunr.js (Hugo, Vanilla JS) Jun 30 2020 — I decided to document how I implemented a search feature with Hugo and Lunr.js on my personal blog site. Since this is a static site the search functionality is performed entirely within the client's browser. My solution uses vanilla JS DOM manipulation to render the search results. I believe that my approach includes features that are markedly different from the implementations I encountered while researching this task, features which enhance the overall search UX.

  • An Introduction to Decorators in Python Feb 27 2020 — Decorators can be a daunting topic when first encountered. While the Zen of Python states "There should be one-- and preferably only one --obvious way to do it", there are many, equally valid ways to implement the same decorator. These different methods can be categorized as either function-based, class-based, or a hybrid of both. In this post I will explain the design and behavior of Python decorators and provide examples of decorators that I frequently use in my own code.

  • Hugo: Add Copy-to-Clipboard Button to Code Blocks with Vanilla JS Nov 13 2019 — Hugo includes a built-in syntax-highlighter called Chroma. Chroma is extremely fast since it is written in pure Go (like Hugo) and supports every language I can think of. Chroma's speed is especially important since syntax highlighters are notorious for causing slow page loads. However, it lacks one vital feature — an easy way to copy a code block to the clipboard. I decided to document my implementation using only vanilla JS since every blog post I found for this issue relied on jquery to parse the DOM, which is completely unnecessary at this point.

Pinned Loading

  1. unicode-api Public

    REST API providing detailed information about unicode characters

    Python 3

  2. svelte-mono Public

    Monorepo for sveltekit component libraries and sites that depend on them

    TypeScript

  3. svelte-simple-tables Public

    Accessible, sortable, paginated table component (created with sveltekit)

    TypeScript 6 1

  4. fastapi-redis-cache Public

    A simple and robust caching solution for FastAPI that interprets request header values and creates proper response header values (powered by Redis)

    Python 154 24

  5. flask-api-tutorial Public

    Boilerplate for a Flask REST API with JWT-based authentication, built with SQLAlchemy, Flask-RESTx, PyJWT, and pytest. This is a companion repo for a multi-part tutorial series on my personal website.

    Python 74 18

  6. console-progress-bar Public

    Customizable progress bar for C# console applications (.NET Core 2.0). Includes a basic progress bar which can be used for any long-running task and a file transfer progress bar that detects when t…

    C# 21 10

326 contributions in the last year

Contribution Graph
Day of Week January February March April May June July August September October November December
Sunday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Less
No contributions.
Low contributions.
Medium-low contributions.
Medium-high contributions.
High contributions.
More

Activity overview

Contributed to a-luna/unicode-api, a-luna/svelte-mono, a-luna/vigorish and 4 other repositories
Loading A graph representing a-luna's contributions from January 07, 2024 to January 10, 2025. The contributions are 60% commits, 40% pull requests, 0% issues, 0% code review.   Code review   Issues 40% Pull requests 60% Commits

Contribution activity

January 2025

a-luna has no activity yet for this period.
Loading

Seeing something unexpected? Take a look at the GitHub profile guide.