The Wayback Machine - https://web.archive.org/web/20201127042518/https://github.com/a-luna
Skip to content
Avatar

Highlights

  • Arctic Code Vault Contributor
a-luna/README.md

a-luna's github stats

Recent Blog Posts

  • Add Search to Your Static Site with Lunr.js (Hugo, Vanilla JS)
    June 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
    February 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
    November 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

  1. MLB data web scraper, Python CLI application

    Python

  2. My personal website/blog/portfolio, built with Hugo

    CSS 2 1

  3. A simple application using svelte 3.0, that encodes/decodes ASCII text or hex strings to/from base64 and provides reactive ui components to help illustrate the encoding process.

    Svelte 1

  4. 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 6 2

  5. Light-weight, cross-platform (NET Core 2.1) C# Asynchronous file server and text messaging platform. Utilizes custom extension methods which wrap asynchronous TCP socket method pairs (BeginProcess/…

    C# 4 2

  6. 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# 7 6

1,363 contributions in the last year

Dec Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Mon Wed Fri
Activity overview
Contributed to a-luna/vigorish, a-luna/aaronluna.dev, a-luna/svelte-base64 and 5 other repositories

Contribution activity

November 2020

Created a pull request in a-luna/vigorish that received 1 comment

v0.3.11

+1,442 −731 1 comment
You can’t perform that action at this time.