Skip to content

Instantly share code, notes, and snippets.

View aishenreemo's full-sized avatar
:accessibility:

Aishen aishenreemo

:accessibility:
View GitHub Profile
@whinee
whinee / whinestall.md
Last active December 29, 2023 07:59
This gist exists as I reinstall Arch Linux every so often, and I want an easy way to install applications and set configurations

whinestall

This gist exists as I reinstall Arch Linux every so often, and I want an easy way to install applications and set configurations.

This install script almost do not need user interactions except for other programs that do not have an option to not prompt the user.

Needed to be run at root account.

Tested on Arch Linux 5.14.11-arch1-1.

@LeviSnoot
LeviSnoot / discord-timestamps.md
Last active November 25, 2025 20: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
@DZ-TM
DZ-TM / TicTacToe.md
Last active January 18, 2024 12:24
Explanation on how my TicTacToe RegEx works

Note

This gist covers how a TicTacToe regular expression I made works. It was made with a Golang flavour of RegEx in mind.

It is used to check if a player won or lost a TicTacToe game, or if it resulted in a draw.

You are expected to know a basic level of RegEx before reading this.

You can find the tests I made for the RegEx here.

When you have finished reading this gist, try making a RegEx to check if there is a win, loss or draw with connect4 - message me with your attempts and I will check them.

@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active December 13, 2025 04:13
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example