Skip to content

BourgeoisBear/A-E-S-T-H-E-T-I-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AESTHETIC

Make your words more AESTHETIC

USAGE:
   AESTHETIC [OPTION]...
   
OPTIONS:
   -f      INPUT FILENAME (uses STDIN if omitted)
   -h      HELP: THIS MESSAGE
   
NOTES:
   Runs in INTERACTIVE MODE when STDIN is the TTY.
   Press Ctrl+D to send an EOF character to exit.

Directions

  1. Install semi-recent versions of gcc and make for your OS.
  2. Run make.
  3. Put the path to the binary AESTHETIC somewhere on your $PATH.
  4. enjoy

Why?

FIGLET-STYLE HEADINGS

  1. Put the following in your .vimrc, then save:
    vnoremap <leader>a :!AESTHETIC<CR>
  2. Reload vim config with :source $MYVIMRC.
  3. Select text in visual mode, <leader>a will transform the selection.

CODE PRANKS

// TRANSLATE TO TITLE CAPS
while( 1 ) {

   chr = fgetc(pFile);

   if( chr == EOF )
      break;

   // ASCII CHARS
   if( (chr >= 0x21) && (chr <= 0x7E) ) {

      fput_utf8cp((chr - 0x21) + 0xff01, stdout);
   }
   // SPACE
   else if (chr == ' ') {

      fput_utf8cp(0x3000, stdout);
   }
   // OTHER
   else {

      fputc(chr, stdout);
   }
};

AESTHETICS AT YOUR FINGERTIPS

$ ./AESTHETIC 
INTERACTIVE MODE (PRESS CTRL+D TO EXIT):

> figlet-y headings
figlet-y headings

> VAPORWAVE
VAPORWAVE

> why would you do that?
why would you do that?

> Testing, 1 2 3 4...
Testing, 1 2 3 4...