Skip to content

Instantly share code, notes, and snippets.

@imaginate
Last active October 10, 2022 05:21
Show Gist options
  • Save imaginate/6a779171ee12fa77e3ac3a2eb13eb655 to your computer and use it in GitHub Desktop.
Save imaginate/6a779171ee12fa77e3ac3a2eb13eb655 to your computer and use it in GitHub Desktop.
Portfolio Of Open-Sourced Work For Adam Smith

Adam Smith's Open-Sourced Portfolio

  • Motion
    A bicycle rental web application I created to demostrate some basic front-end skills. It uses React, Node.js, Sass, Handlebars, and more. Note that it is a work in progress, but is far enough along to exemplify some abilities.

  • Cedge
    A set of critical data structures missing from JavaScript's standard library that I use for competitive programming and decided in June 2022 to open-source for others to use for whatever needs they have.

  • Algorithm IV Question Manager
    A web application that I developed to help others learn computer science and to practice for interviews. To view the application clone or download the source and open example/view-example.html in your browser via the file:// protocol. While Algorithm IV's website was up I hosted thousands of guests. A relaunch is planned with new features like in-browser editing, testing, and benchmarking as well as community engagement capabilities.

  • Vitals
    A core JavaScript library that I created to replace most of your native JavaScript interaction and to make JavaScript coding easier and clearer. Version 4 includes 26 foundational methods with numerous submethods each. Version 5 is scheduled to include at least 57 foundational methods with numerous submethods each, but even though I have made significant progress I have been unable to find the time needed to finish it.

  • OnlyData and OnlyData Node.js Parser
    A data serialization language that I authored specifically for Wooden Web's static website platform. The goal was to create a language that made it is easy to use configuration files as your center of command. The block strings made inserting HTML, CSS, and JavaScript into a configuration file easy, and the file importation made adding modularized configuration files seamless.

  • Superglue
    A core Bash library, preprocessor, and build tool I created. It accomplishes many tasks. It sanitizes the shell instance's environment whenever it is used as a wrapper which is important for deploying a script across multiple devices without any bugs. It includes a combined preprocessor that handles macro expansion and build tool that allows you to save your file's installation settings directly to your source file which acts as script self-documentation and enables simple installation or uninstallation of your scripts via a single Superglue command. Finally it offers a host of commands or functions that make writing scripts much easier.

  • Mold (view syntax)
    A preprocessing language that I authored for JavaScript. It enables conditional build operations, the bundling of modular scripts into a monolith without any bloat, and the expansion of macros that may include other preprocessing actions. The language is formatted as follows:

    /// #action @tag ID [path/to/file]
    /// #[action]{{{ @tag ID
    /// #[action]}}} @tag ID
    

    The Node.js preprocessor that I built for Mold uses the following steps:

    • Load source files.
    • Insert all macros.
    • Build a parse tree.
    • Write the destination.

    Due to the desire to maintain modularization and avoid cyclical dependencies I had to create a custom loading and caching system for the preprocessor. Upon initial requirement of the Mold preprocessor it cycles through all classes and helpers, requires them, handles any formatting needs, and saves the result to an internal cache that lives through all your remaining requires of the Mold preprocessor.

  • Act
    A Node.js task manager I created.

  • LogOCD
    A Node.js logger I created that features detailed formatting options and functional shortcuts.

  • JavaScript Debugger
    A console wrapper I created that fixes cross-browser bugs and adds features like method level log, breakpoint, and timer control.

  • Cure
    A collection of JavaScript polyfills I wrote to use for cross-browser performance.

  • NeetCode
    A collection of 150 solutions to a range of computer science based questions used for educational purposes and interview preparation where I now handle the JavaScript solutions. Some of my contributions are as follows:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment