Code Monkey home page Code Monkey logo

quick-note's Introduction

QUICK NOTE -- save and recall your ideas instantly and reliably

TLDR: This is an experiment in efficiency for recording one's thoughts. #linuxTerminal #optimization #keyStrokeMinimization

Quick Note is comprised of the following two programs:

           qn              - make a quick note.
           qnl (script)    - display all quick notes (qnl="Quick Note List").

INSTALLATION:

The following has been tested on ubuntu (20.04 and 20.10), and pi3 raspbian (32bit):

   make
   [SUDO] make install

This will copy two executables (qn and qnl) to /usr/local/bin. It will also create a directory in the user's home directory (~/.qn).

Please do give suggestions, advice, and offer MRs for improving quick-note and its installation process.

TO USE qn:

   1) Open a terminal window (e.g.: Ctl+Atl+T).
   2) Type qn and hit return.
   3) Type or copy/paste your message and hit return.

TO USE qnl:

   1) Open a terminal window.
   2) Type qnl and hit return. 
   3) All of your qn messages will be displayed.
   4) Of course, you can use grep at the command line. For instance, 
   if you want to see all your QuickNote messages with the word 'foo' in it, you could do: 
   qnl | grep foo
   Or qnl | grep https | grep github
   etc

WARNING You cannot run qn or qnl as sudo, su, or root; an error message will display.

Typing 'qn -h' displays available help options and commands:

  • -h, --help The help screen
  • -i, --info Display program information
  • -l, --list List all Quick-Note messages (same as qnl)
  • -s, --save Save everything after this param as a Quick Note message. For example, 'qn -s This is a test' will save the message 'This is a test'.
  • -v, --version Display version information

HOW IT WORKS:

Each call to qn saves a .txt file in its directory (~/.qn). The call to qnl displays all those files to sysout (or can be grepped, etc).

WHY:

I believed I was having good thoughts, but I wasn't able to effectively record
them before I forgot them, and many thoughts I thought were good were lost. 
Often I would have a stream of thoughts, but the quality of that stream was compromised
because I was looking for a pencil, or searching for a post-it or notepad, or the pen 
was out of ink, or I was writing too slowly. I'd save my idea on a post-it, and then lose 
the post-it. So I wrote this program, around the year 2009. I've been using it ever since, 
and I thought maybe it's useful to other folks too. So here it is.

Existing users: move data from 1.001 to 1.002

Copy the tcc*.txt files from the previous user data directory (the one that qnl utilizes), to ~/.qn directory.

ENJOY:

May you find this program useful. May it prove beneficial for instantly and effectively recording your intuition, whenever it strikes.

Tom Carbon 20201223

quick-note's People

Contributors

tomcarbon avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.