Skip to content

Instantly share code, notes, and snippets.

View wreiske's full-sized avatar

William Reiske wreiske

View GitHub Profile
@horner
horner / appendonly.md
Last active October 28, 2021 03:55
Making log files append-able but not overwrite-able

Make a log file the usual way.

# echo `date` this is a log entry >> sample.log
# echo `date` this is a log entry >> sample.log
# echo `date` this is a log entry >> sample.log

See the output:

@geekgonecrazy
geekgonecrazy / Import Emoji.md
Last active April 14, 2021 21:25
Import Emoji into Rocket.Chat

Usage

To use this drop these two files in beside a folder called emoji filled with the emoji you want to upload.

Run npm install to grab the needed dependencies.

Modify the host, user, and pass in the file.

Then run: node import-emoji.js