Helps exercise your memory by giving you random tokens and poems to memorize.

memory-enhancer

Helps exercise your memory by giving you random tokens and poems to memorize.

Using

Every day when you first open your terminal you will be greated with a token and a piece of a poem. Your job is to remember both of them till the end of the day. But this is just level one of course, you can play with this yourself like using the history located at $HOME/.memory-enhancer/history to try to remember passwords and poems from past days and see if you can get more than one day right.

Install

The installation process can be done in two ways, through a bash script or compilation from source. Both steps MUST FOLLOW the last steps section.

Cloning

The easiest way to install is just cloning the repository to the default installation folder

git clone https://github.com/omiguelpinheiro/memory-enhancer.git "$HOME/.memory-enhancer"

Compiling from source

You can also compile the code from source using

git clone https://github.com/omiguelpinheiro/memory-enhancer.git "$HOME/.memory-enhancer" && go build -o "$HOME/.memory-enhancer/memory" "$HOME/.memory-enhancer/main"

Last steps

You MUST configure your .zshrc or .bashrc file in order for the program to work, run this switching .zshrc for .bashrc if you're using bash

> "$HOME/.zshrc" ">
echo "$HOME/.memory-enhancer/memory" >> "$HOME/.zshrc"

also, your operating system, as the good boy he is, may block you from executing the potentially dangerous program you just downloaded from my repository by giving you a permission denied error when trying to execute it. You can fix this, not at all surprisingly, by giving the binaries permission to execute. Use this command if you get the error

sudo chmod +w "$HOME/.memory-enhancer/memory"

And that's it, you're good to go. Also, did you know that Jupiter is twice as massive as all of the other planets of the solar system combined? So, yeah ... if you're here to memorize useless facts I think this proves you're a little step closer to success.

Options

The script also comes with 3 parameters that you can play with and can be changed in the memory.cfg file located in the installation folder .memory-enhancer located in your home directory. Change the following options to modify:

TOKEN_LENGHT -> size of the token (default is 4)
LINE_MAX -> lines in the piece of poem (default is 2)
LINE_TOL -> the program will try to find verses that fit in your max number of lines with LINE_TOL lines of tolerance first, if that's not possible it will pick a random part instead.

Uninstall

To uninstall just delete the .memory-enhancer folder from your home with

rm -rf "$HOME/.memory-enhancer/memory"

and delete this line from your .zshrc or .bashrc file

$HOME/.memory-enhancer/memory

but I really hope your PC crashes forever for abandoning me.

Similar Resources

The package manager for macOS you didn’t know you missed. Simple, functional, and fast.

The package manager for macOS you didn’t know you missed. Simple, functional, and fast.

Stew The package manager for macOS you didn’t know you missed. Built with simplicity, functionality, and most importantly, speed in mind. Installation

Mar 30, 2022

Random fake data generator written in go

Random fake data generator written in go

Gofakeit Random data generator written in go Features 160+ Functions!!! Concurrent Global Rand Struct Generator Custom Functions Http Server Command L

Jan 1, 2023

Generate random, pronounceable, sometimes even memorable, "superhero like" codenames - just like Docker does with container names.

Codename an RFC1178 implementation to generate pronounceable, sometimes even memorable, "superheroe like" codenames, consisting of a random combinatio

Dec 11, 2022

A repository of random code snippets used to develop proof of concepts

Oddments Oddments is a repository of random code snippets used to develop proof of concepts for techniques used with the Windows operating system. POC

Oct 13, 2022

Randomdata : a tiny help suite for generating random data

go-randomdata randomdata is a tiny help suite for generating random data such as first names (male or female) last names full names (male or female) c

Dec 5, 2021

Rfpm - Random Fair Preemption Model For Golang

rfpm RFPM (Random Fair Preemption Model) is absolutely fair to all clients who r

Jan 7, 2022

Package reservoir samples values uniformly at random from an unbounded sequence of inputs

Package reservoir samples values uniformly at random from an unbounded sequence of inputs

Oct 5, 2022

Assembly syntax that makes you feel like you're writing code in a high-level language.

shasm Assembly syntax that makes you feel like you're writing code in a high-level language. Shasm is not an Assembler. Shasm simply compiles Shasm sy

Jun 5, 2021

If you accept that 1 day is 24 hours in some situations, you might want to parse it in Go too.

relaxduration If you accept that 1 day is 24 hours in some situations, you might want to parse it in Go too. This package tries to handle situations w

Dec 7, 2022
modver - a Go package and command that helps you obey semantic versioning rules in your Go module.

Modver This is modver, a Go package and command that helps you obey semantic versioning rules in your Go module. It can read and compare two different

Dec 12, 2022
Onboarding exercise to create todo list using golang and postgres

Todo List API Description A RESTful API that allows a user to create, update, view, filter, and delete todos API Documentation Copy the contents of th

Dec 1, 2021
Exercise for solve problem data processing, performance and something wrong in passing data

Citcall Exercise Exercise for solve problem data processing, performance and something wrong in passing data Pengolahan data data processing - Readme

Nov 25, 2021
Moving Averages Exercise For Golang

Moving Averages Exercise For Golang

Dec 10, 2021
An operator that helps you perform benchmarks

Camunda-Benchmark-Operator ??️‍♀️ An operator that helps you perform benchmarks. Your first benchmark This requires that you know how to run the opera

Mar 2, 2022
Squizit is a simple tool, that aim to help you get the grade you want, not the one you have learnt for.
Squizit is a simple tool, that aim to help you get the grade you want, not the one you have learnt for.

Squizit is a simple tool, that aim to help you get the grade you want, not the one you have learnt for. Screenshots First, input PIN Then enjoy! Hoste

Mar 11, 2022
:chart_with_upwards_trend: Monitors Go MemStats + System stats such as Memory, Swap and CPU and sends via UDP anywhere you want for logging etc...

Package stats Package stats allows for gathering of statistics regarding your Go application and system it is running on and sent them via UDP to a se

Nov 10, 2022
Go package and associated command line utility to generate random yet human-readable names and identifiers
Go package and associated command line utility to generate random yet human-readable names and identifiers

namegen | What's this? Go package and associated command line utility to generate random yet human-readable names and identifiers. Somewhat inspired b

Oct 19, 2022
Random fake data and struct generator for Go.

Faker Random fake data and struct generator for Go. More than 100 generator functions Struct generator Unique data generator Builtin types support Eas

Oct 3, 2022
A minimalist Go PDF writer in 1982 lines. Draws text, images and shapes. Helps understand the PDF format. Used in production for reports.
A minimalist Go PDF writer in 1982 lines. Draws text, images and shapes. Helps understand the PDF format. Used in production for reports.

one-file-pdf - A minimalist PDF generator in <2K lines and 1 file The main idea behind this project was: "How small can I make a PDF generator for it

Dec 11, 2022