Skip to content

Instantly share code, notes, and snippets.

View LeviSnoot's full-sized avatar
🐉

Levi LeviSnoot

🐉
View GitHub Profile
@LeviSnoot
LeviSnoot / neofetch_ascii.md
Created October 19, 2023 14:48
A guide for using jp2a and jp2a2neofetch.py to create ASCII art for neofetch.

To convert an image to ASCII art, use jp2a. I found that using the Docker image was the most portable way to do this, especially as it doesn't require you to build the binary manually.

Example command:

docker run -t --rm -v "$(pwd)":/app talinx/jp2a file.ext --color-depth=4 --width=35

Command breakdown

  • docker run tells docker to run an application.
@LeviSnoot
LeviSnoot / usage.html
Last active September 14, 2023 14:16 — forked from NarixHine/usage.html
Missbed - Embedding Solution for Misskey
<iframe src='https://missbed-levisnoot.vercel.app/timeline/{instance}/{user_id}' />
<iframe src='https://missbed-levisnoot.vercel.app/timeboard/{instance}/{user_id}' />
<iframe src='https://missbed-levisnoot.vercel.app/note/{instance}/{note_id}' />
@LeviSnoot
LeviSnoot / discord-timestamps.md
Last active April 28, 2024 23:53
Discord Timestamp Syntax

Discord Timestamps

Discord timestamps can be useful for specifying a date/time across multiple users time zones. They work with the Unix Timestamp format and can be posted by regular users as well as bots and applications.

The Epoch Unix Time Stamp Converter is a good way to quickly generate a timestamp. For the examples below I will be using the Time Stamp of 1543392060, which represents November 28th, 2018 at 09:01:00 hours for my local time zone (GMT+0100 Central European Standard Time).

Formatting

Style Input Output (12-hour clock) Output (24-hour clock)
Default <t:1543392060> November 28, 2018 9:01 AM 28 November 2018 09:01