diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..e112d24 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,30 @@ +# Changelog + +All notable changes to this project are documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/-0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [0.1.0] - 2021-06-03 + +### Added + +- Initial release. +- Contains the following image scripts: + 1. fetching-scripts/street/invader-obey-xs + 1. fetching-scripts/street/invader-dripping-xs + 1. fetching-scripts/abstract/composition-with-large-red-plane-mondrian-xs + 1. fetching-scripts/abstract/lozenge-composition-mondrian-s + 1. fetching-scripts/abstract/composition2-mondrian-xs + 1. fetching-scripts/misc/dna-m + 1. fetching-scripts/misc/bars-xs + 1. fetching-scripts/star-wars/groku-xs + 1. fetching-scripts/star-wars/tiefighter-xs + 1. fetching-scripts/star-wars/tiefighter-l + 1. fetching-scripts/games/mario-xs + 1. fetching-scripts/games/rally-xs + 1. fetching-scripts/games/space-invaders-l + 1. fetching-scripts/games/pacman-xs + 1. fetching-scripts/games/pacman-ghosts-l + 1. fetching-scripts/games/pacman-m + 1. fetching-scripts/games/pacman-l diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..b7c2242 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2020 Rob O'Leary +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..9407ec5 --- /dev/null +++ b/README.md @@ -0,0 +1,182 @@ +

+
+ Fetching +
+

+

A collection of fetching unicode art for the terminal.

+ +> You have to be in a state of play to design. If you're not in a state of play, you can't make anything. +> +> \- Paula Scher + +The goal is to add a touch of beauty to your terminal, and trigger a sense of play. + +![mario example](img/mario-mytheme.png) + +The art is **colored according to your terminal color scheme**. Here are some examples side-by-side using different themes: the top-left theme is [Dracula](https://draculatheme.com/),the top-right is [Solarized](https://ethanschoonover.com/solarized/), the other two are just me playing around with colors! The output can have a different personality depending on your color scheme. + +![mario colored](img/mario-colors.png) + +The included image scripts are **responsive to the terminal window**. This prevents distorted output in the random and slideshow modes. ๐Ÿ•ถ๏ธ + +![garbled output](img/garbled.png) + +The included scripts are inspired by: + +- abstract art, particularly the [De Stijl movement](https://en.wikipedia.org/wiki/De_Stijl) with its simplified forms and limited palette + + ![mondrian](img/mondrian.png) +- computer games, particularly from the 1980's and 1990's + + ![space invaders](img/space-invaders.png) +- street art + + ![obey by invader](img/obey.png) + +- star wars + + ![groku](img/groku.png) + +I have a list of more images I would like to add (in *todo.md*). I will work through this when the mood strikes me! + +## Installation + +```bash +git clone https://github.com/robole/fetching +cd fetching +bash install.sh +``` + + Usage: `bash install.sh [OPTION]` + +| OPTIONS: | | +|:--------------------|:-------------| +|-d, --dest | Specify destination directory (Default: `$HOME/.local/bin`)| +|-h, --help | Show this help| + +> Note: The default installation location may not be on your [`PATH`](https://opensource.com/article/17/6/set-path-linux). You can run fetching from any folder on your system, all this script does is move the files to a "sane" executable location. + +If you want to uninstall, run `bash uninstall.sh` with the same destination directory that you provided on installation. + +## Usage + +Usage: `fetching [OPTION] [SCRIPT NAME/INDEX/NUMBER OF SECONDS]` + +| OPTIONS: | | +|:--------------------|:-------------| +| -h, --help, help|Print the help page. | +| -l, --list, list | List all available scripts.| +| -r, --random, random | Show a random image. It only picks image that fit within the terminal window.| +| -e, --exec, exec | Show an image by SCRIPT NAME or INDEX. | +| -s, --slideshow, slideshow | Run a slideshow showing a new image every NUMBER OF SECONDS. It is responsive to the terminal width.| +| -w, --width, width | Show the terminal width. It is shown as a size e.g 'xs' for extra small,and as a width in columns. This can be used to grade the size of the output of your scripts.| + +The most common scenarios are: +1. The command `fetching -l` will show you all the available images to show (scripts to run). You can run an image by index: `fetching -e 4` to show the 4th image from the list, or by name `fetching -e mario-xs`. +1. I put the following command `fetching -r` in my `.bashrc` and `.zshrc` files to show a random image every time I open a new terminal. +1. If you want to run a slideshow that cycles through images every 3 seconds, you can run `fetching -s 3`. + ![slideshow](img/slideshow.gif) + +**I recommend using a monospace font**. Fonts with variable spacing may mess up the alignment of some of the art. + +## Rendering differences between terminals + +I noticed that some terminals show the unicode output from the script with gaps. You can see Alacritty does this (bottom left in screenshot below). + +![terminal rendering differences](img/terminal-diff.png) + +I'm not sure if there is a setting that would tweak Alacritty to look the same way as Kitty. I use Kitty, so I'm not bothered to look! I think the uniform texture is more aesthetic, but you may like the blockier style! + +## Make your own art + +You can use the `template` script in the root folder to get started quickly on your own creation. + +There are approxmiately 143,859 unicode characters. You can use any of those, search through [the list](https://en.wikipedia.org/wiki/List_of_Unicode_characters)) to find different ones! + +I mostly used the [Block Elements character set](https://en.wikipedia.org/wiki/Block_Elements) (as below) in my art, but I am interested to try out more. + +``` +โ–ˆ โ–‰ โ–Š โ–‹ โ–Œ โ– โ–Ž โ–โ– โ–• โ–‡ โ–† โ–… โ–„ โ–ƒ โ–‚ โ– โ–  โ–„ โ–€ โ–ฌ โ–“ โ–’ โ–‘ +``` + +I included a wider selection of symbols as a comment in `template` to get you started. + +The script has the color variables to set colors for the background and foreground. You can use these together with `cat` to create your own masterpiece. + +For example, this code: + +![pacman-right-xs code](img/pacman-right-xs-code.png) + +produces this output: + +![pacman-right-xs output](img/pacman-right-xs-output.png) + +The `rt` variable is used to reset the current color to the default text color. You should use always use `rt` at the end of your output text, so it doesn't affect the text in your terminal after the script is run! + +You will notice that all image scripts have a *naming convention*. **The size is added as a postfix to enable the responsive behaviour** e.g. `mario-xs`. To find the width of the output, run your image script and reduce the width of the terminal until the output becomes distorted. You can run the command `fetching -w`to see what the current terminal size is. Set the name of the script based on this. Ensure that the output width does not exceed the range of that size. The sizes are: xs, s, m, l, and xl. I will see if I can do something to automate this process. + +If you find it difficult to create an image in this format, the process is similar to the patterns people design for cross-stitching. You could use someone else's pattern. See the [inspiration](#inspiration) section below for more on that. + +### Process + +You can create a reference image in one of the many pixel art editors. I like [piskel](https://www.piskelapp.com/). Its free to use, and you don't need to signup/login to use it. You can pick a grid size and play around with a composition. You don't want to do this with raw text in the script a lot of the time! ๐Ÿ˜… + +![piskel editor](img/editing-process/piskel.png) + +Once the composition is finished, I zoom in on the composition as to have it at a decent size, and take a screenshot. I do this because I want the grid lines included, if you export it from Piskel as an image, it does not include the gridlines! + +![exported](img/editing-process/export.png) + +Once you are ready to transform it to text, hop into your editor, and open the `template`. I set my windows up like this and it's quite quick to do it. I run the script in the terminal in VS Code to verify what I am doing. This mondrian image took approx 30 mins of editing in VS Code, whereas the mondrian lozenge image took me half a day to get right. + +![editing process](img/editing-process/windows.png) + +Be mindful that since you're using a "grid", you're editing text that is related in 2 dimensions! So, if you delete something from one line, it can knock your entire image out of wack. There are a few tricks I honed to minimise mistakes and become more efficient. + +I will speak about specific VS Code features, but most editors should have similar features: + +1. Use multipe cursors to make quick multi-line edits. Using Ctl+Shift+Down select multiple successive lines below. + ![multi-line edit](img/editing-process/multi-line-edit.gif) +1. If you find yourself making bigger changes across multiple lines, you can switch to "column selection mode". You will find this in the menu by going `Selection` > `Column Selection Mode`. This allows you to make vertical edits. This is particularly useful for copying portions of text in the middle of lines that span across many lines. + +This may sound like a lot, but you can get the hang of it quite quickly if you enjoy playing around with the process. A custom editor would be nice for this of course, but it's quite a niche thing to make! + +## Inspiration + +The process for creating image patterns is similar to the patterns people design when making things with beads and cross-stitching. It's digital cross-stitching really! So if you search for these patterns, you may find something you like and the design work is done for you. + +Some resources I found useful are: + +- [Kandi Patterns](https://kandipatterns.com/) + +![yoda search kandi patterns](img/inspiration/yoda-kandi-patterns.png) + +- Search [pinterest](https://www.pinterest.com/) for cross-stitch patterns, and explore some [boards](https://www.pinterest.com/flowerthread/free-cross-stitch-patterns/). + +![pinterest patterns](img/inspiration/pinterest.png) + +You can also look at grafitti stencils are a source of inspiration. Designs with diagonal lines and circular shapes are a bit harder to pull off. + +## Contribute + +If you have a suggestion, find a bug, or have made some image scripts that you would like to share, feel free to open an issue. + +I am bit fussy about what image scripts I would include, so it's prob best to ask before you make a PR. I could add a "gallery" section here to point to your repo if you made some nice ones that others could include. + +The minimum prerequisites for accepting an image script are that it has to have: +1. A blank line as the fist line, +1. All lines have left padding of 2 spaces +1. It resets the colors using `$rt` on the last line. + +All of my image scripts are formatted consistently in this way. Generally, my images scripts are not too tall also. That's my taste. + +## Show gratitude + +If you are happy with this, please star the repo and recommend it to others. + +You can [buy me a coffee](https://Ko-fi.com/roboleary) if you would like to enable me to make more great open-source software and tutorials. ๐Ÿต๐Ÿ™ + +## Credit + +- The original idea probably came from [this discussion on crunchbang](https://crunchbang.org/forums/viewtopic.php?id=13645). +- Derek Taylor's [Shell Color Scripts](https://gitlab.com/dwt1/shell-color-scripts) was a source of inspiration for a few scripts. diff --git a/fetching b/fetching new file mode 100755 index 0000000..55298bf --- /dev/null +++ b/fetching @@ -0,0 +1,179 @@ +#!/usr/bin/env bash + +# Name: fetching +# +# Description: A collection of "fetching" unicode art for the terminal. +# +# Author: Rob O'Leary + +full_path=$(realpath $0) +dir_path=$(dirname $full_path) + +dir_scripts="${dir_path}/fetching-scripts" + +fmt_help=" %-20s\t%-54s\n" +list_scripts_fpath=($(find "${dir_scripts}" -type f | sort)) # array +list_scripts="$(find "${dir_scripts}" -type f | sort | xargs basename -a | nl)" +length_scripts="$(find "${dir_scripts}" -type f | wc -l)" + +function _help() { + echo "Description: A collection of *fetching* unicode art for the terminal. You can choose an image to show, show one at random, or show them all as a slideshow." + echo "" + echo "Usage: fetching [OPTION] [SCRIPT NAME/INDEX/NUMBER OF SECONDS]" + printf "${fmt_help}" \ + "-h, --help, help" "Print the help page." \ + "-l, --list, list" "List all available scripts." \ + "-r, --random, random" "Show a random image. It only picks image that fit within the terminal window." \ + "-e, --exec, exec" "Show an image by SCRIPT NAME or INDEX." \ + "-s, --slideshow, slideshow" "Run a slideshow showing a new image every NUMBER OF SECONDS. It is responsive to the terminal width." \ + "-w, --width, width" "Show the terminal width. It is shown as a size e.g 'xs' for extra small,and as a width in columns. This can be used to grade the size of the output of your scripts." +} + +function _list() { + echo "There are ${length_scripts} installed scripts:" + echo "${list_scripts}" +} + +function _terminal_width() { + cols="$( _terminal_cols)" + + if [[ $cols -lt 40 ]]; then + echo 'xs' + elif [[ $cols -ge 40 && $cols -lt 60 ]]; then + echo 's' + elif [[ $cols -ge 60 && $cols -lt 80 ]]; then + echo 'm' + elif [[ $cols -ge 80 && $cols -lt 100 ]]; then + echo 'l' + else + echo 'xl' + fi +} + + +function _terminal_cols() { + cols="$( stty size | awk '{print $2}')" + echo $cols +} + +function _random() { + size=$(_terminal_width) + file_pattern=".*" + + if [[ "$size" == "xs" ]]; then + file_pattern=".*-xs$" + elif [[ "$size" == "s" ]]; then + file_pattern=".*-(xs|s)$" + elif [[ $size == "m" ]]; then + file_pattern=".*-(xs|s|m)$" + elif [[ $size == "l" ]]; then + file_pattern=".*-(xs|s|m|l)$" + fi + + files=($(find "${dir_scripts}" -type f | grep -P "${file_pattern}")) + num_of_files=${#files[@]} + + declare -i random_index=$RANDOM%num_of_files + [[ $random_index -eq 0 ]] && random_index=1 + + random_script="${files["$random_index"]}" + + # uncomment next line to show filename + # echo " $(basename $random_script)" + + exec "${random_script}" +} + +function _has_script() { + echo $(find "${dir_scripts}" -type f -name "$1") +} + +function _run_by_name() { + if [[ "$1" == "random" ]]; then + _random + else + script=$(_has_script "$1") + + if [[ -n "$script" ]]; then + exec "$script" + else + echo "Input error: No script innamed $1." + exit 1 + fi + fi +} + +function _run_by_index() { + if [[ "$1" -gt 0 && "$1" -le "${length_scripts}" ]]; then + index=$(expr ${1} - 1) + script="${list_scripts_fpath["${index}"]}" + exec "${script}" + else + echo "Input error: No script indexed $1." + exit 1 + fi +} + +function _slideshow() { + if [[ "$1" =~ ^[0-9]+$ ]]; then + echo " Press to exit." + while true + do + fetching random + sleep "$1s" + done; + else + echo "Input error. Must supply a number of seconds." + exit 1 + fi + +} + +function _run_script() { + if [[ "$1" =~ ^[0-9]+$ ]]; then + _run_by_index "$1" + else + _run_by_name "$1" + fi +} + +case "$#" in + 0) + _help + ;; + 1) + case "$1" in + -h | --help | help) + _help + ;; + -l | --list | list) + _list + ;; + -r | --random | random) + _random + ;; + -w | --width | width) + echo "size: $(_terminal_width)" + echo "$(_terminal_cols) columns wide" + ;; + *) + echo "Input error." + exit 1 + ;; + esac + ;; + 2) + if [[ "$1" == "-e" || "$1" == "--exec" || "$1" == "exec" ]]; then + _run_script "$2" + elif [[ "$1" == "-s" || "$1" == "--slideshow" || "$1" == "slideshow" ]]; then + _slideshow "$2" + else + echo "Input error." + exit 1 + fi + ;; + *) + echo "Input error, too many arguments." + exit 1 + ;; +esac diff --git a/fetching-scripts/abstract/composition-with-large-red-plane-mondrian-xs b/fetching-scripts/abstract/composition-with-large-red-plane-mondrian-xs new file mode 100755 index 0000000..e0aca15 --- /dev/null +++ b/fetching-scripts/abstract/composition-with-large-red-plane-mondrian-xs @@ -0,0 +1,53 @@ +#!/usr/bin/env bash + +# Composition with Large Red Plane, Yellow, Black, Gray and Blue by Piet Mondrian +# +# reference: https://www.wikiart.org/en/piet-mondrian/composition-with-large-red-plane-yellow-black-gray-and-blue-1921 +# +# Author: Rob O'Leary + +f=3 b=4 + +for j in f b; do + for i in {0..7}; do + printf -v $j$i %b "\e[${!j}${i}m" + done +done + +for i in {0..7}; do + printf -v g$i %b "\e[9${i}m" +done + +bd=$'\e[1m' +rt=$'\e[0m' +iv=$'\e[7m' + +# Symbols: +# โ–ˆ โ–  โ–„ โ–€ โ– โ–Œ โ–ฌ โ–“ โ–’ โ–‘ โ— โ• โ•‘ โ•” โ•ฆ โ•— โ•š โ•ฉ โ• โ–ฒ โ–ผ โ—„ โ–บ +# โ— โ—‘ โ—’ โ—“ อป อผ อฝ ฮ” ับ โˆŸ โ”Œ โ”โ”” โ”˜โ”˜ + +# colors: +# f0=black, f1=red, f2=green, f3=yellow, f4=blue +# f5=magenta, f6=cyan, f7=white +# g0=bright black, g1=bright red, g2=bright green, g3=bright yellow, +# g4=bright blue, g5=bright magneta, g6=bright cyan, f7=bright white + +# this is a 10x20 grid of blocks to start you off +cat << EOF + + $f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$g3โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f7โ–ˆโ–ˆ + $f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $g0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$g3โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ + $f7โ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f1โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$g3โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ + $f7โ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f1โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$g3โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ + $f7โ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f1โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$g0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f7โ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f1โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f7โ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f7โ–ˆโ–ˆ$g0โ–ˆโ–ˆ + $f7โ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f1โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f7โ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f7โ–ˆโ–ˆ$g0โ–ˆโ–ˆ + $f7โ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f7โ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f7โ–ˆโ–ˆ + $g3โ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f4โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆโ–ˆโ–ˆ + $g3โ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f4โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f1โ–ˆโ–ˆ + $g3โ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f7โ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f1โ–ˆโ–ˆ + $g3โ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f7โ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f1โ–ˆโ–ˆ$rt +EOF + diff --git a/fetching-scripts/abstract/composition2-mondrian-xs b/fetching-scripts/abstract/composition2-mondrian-xs new file mode 100755 index 0000000..a1279ad --- /dev/null +++ b/fetching-scripts/abstract/composition2-mondrian-xs @@ -0,0 +1,51 @@ +#!/usr/bin/env bash + +# Composition 2 by Piet Mondrian +# +# reference: https://www.wikiart.org/en/piet-mondrian/composition-2 +# +# Author: Rob O'Leary + +f=3 b=4 + +for j in f b; do + for i in {0..7}; do + printf -v $j$i %b "\e[${!j}${i}m" + done +done + +for i in {0..7}; do + printf -v g$i %b "\e[9${i}m" +done + +bd=$'\e[1m' +rt=$'\e[0m' +iv=$'\e[7m' + +# Symbols: +# โ–ˆ โ–  โ–„ โ–€ โ– โ–Œ โ–ฌ โ–“ โ–’ โ–‘ โ— โ• โ•‘ โ•” โ•ฆ โ•— โ•š โ•ฉ โ• โ–ฒ โ–ผ โ—„ โ–บ +# โ— โ—‘ โ—’ โ—“ อป อผ อฝ ฮ” ับ โˆŸ โ”Œ โ”โ”” โ”˜โ”˜ + +# colors: +# f0=black, f1=red, f2=green, f3=yellow, f4=blue +# f5=magenta, f6=cyan, f7=white +# g0=bright black, g1=bright red, g2=bright green, g3=bright yellow, +# g4=bright blue, g5=bright magneta, g6=bright cyan, f7=bright white + +cat << EOF + + $f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f1โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f1โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f1โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $g0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f1โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f1โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f1โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f1โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f1โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f1โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $g0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f4โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f7โ–ˆโ–ˆ + $f4โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆโ–ˆโ–ˆ + $f4โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f3โ–ˆโ–ˆ$rt +EOF + diff --git a/fetching-scripts/abstract/lozenge-composition-mondrian-s b/fetching-scripts/abstract/lozenge-composition-mondrian-s new file mode 100755 index 0000000..0a0195a --- /dev/null +++ b/fetching-scripts/abstract/lozenge-composition-mondrian-s @@ -0,0 +1,60 @@ +#!/usr/bin/env bash + +# Lozenge Composition with Red, Gray, Blue, Yellow, and Black by Piet Mondrian +# +# Reference: https://www.wikiart.org/en/piet-mondrian/lozenge-composition-with-red-gray-blue-yellow-and-black-1925 +# +# Author: Rob O'Leary + +f=3 b=4 + +for j in f b; do + for i in {0..7}; do + printf -v $j$i %b "\e[${!j}${i}m" + done +done + +for i in {0..7}; do + printf -v g$i %b "\e[9${i}m" +done + +bd=$'\e[1m' +rt=$'\e[0m' +iv=$'\e[7m' + +# Symbols: +# โ–ˆ โ–  โ–„ โ–€ โ– โ–Œ โ–ฌ โ–“ โ–’ โ–‘ โ— โ• โ•‘ โ•” โ•ฆ โ•— โ•š โ•ฉ โ• โ–ฒ โ–ผ โ—„ โ–บ +# โ— โ—‘ โ—’ โ—“ อป อผ อฝ ฮ” ับ โˆŸ โ”Œ โ”โ”” โ”˜โ”˜ + +# colors: +# f0=black, f1=red, f2=green, f3=yellow, f4=blue +# f5=magenta, f6=cyan, f7=white +# g0=bright black, g1=bright red, g2=bright green, g3=bright yellow, +# g4=bright blue, g5=bright magneta, g6=bright cyan, f7=bright white + +cat << EOF + +$g7 โ–„โ–ˆโ–„ +$g0 โ–„$g7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–„ +$f1 โ–„โ–ˆ$g0โ–ˆ$g7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–„ +$f1 โ–„โ–ˆโ–ˆโ–ˆ$g0โ–ˆ$g7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–„ +$f1 โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–„ +$f1 โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆ$g7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆ$g7โ–„ +$g0 โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆ$g7โ–ˆโ–ˆโ–„ +$g7 โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆ$g7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆ$g7โ–ˆโ–ˆโ–ˆโ–ˆโ–„ +$g0 โ–„$g7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆ$g7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆ$g7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–„ +$g7 โ–„$g0โ–ˆโ–ˆ$g7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆ$g7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆ$g7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–„ +$g7 โ–ˆ$g0โ–ˆโ–ˆ$g7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆ$g7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆ$g7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ +$g7 โ–ˆ$g0โ–ˆโ–ˆ$g7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆ$g7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆ$g7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ +$g0 โ–€โ–ˆ$g7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆ$g7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆ$g7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€ +$g7 โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€ +$g7 โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆ$g7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆ$f4โ–ˆโ–ˆโ–ˆโ–€ +$g7 โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆ$g7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆ$f4โ–ˆโ–€ +$g0 โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–€ +$g3 โ–€โ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆ$g7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€ +$g3 โ–€โ–ˆโ–ˆ$g0โ–ˆ$g7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€ +$g3 โ–€$g0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€ +$g0 โ–€โ–ˆโ–ˆโ–ˆโ–€ +$g0 โ–€$rt +EOF + diff --git a/fetching-scripts/games/mario-xs b/fetching-scripts/games/mario-xs new file mode 100755 index 0000000..fa13855 --- /dev/null +++ b/fetching-scripts/games/mario-xs @@ -0,0 +1,56 @@ +#!/usr/bin/env bash + +# Mario +# +# Author: Rob O'Leary + +f=3 b=4 + +for j in f b; do + for i in {0..7}; do + printf -v $j$i %b "\e[${!j}${i}m" + done +done + +for i in {0..7}; do + printf -v g$i %b "\e[9${i}m" +done + +bd=$'\e[1m' +rt=$'\e[0m' +iv=$'\e[7m' + +# โ–ˆ โ–  โ–„ โ–€ โ– โ–Œ โ–ฌ โ–“ โ–’ โ–‘ โ— โ• โ•‘ โ•” โ•ฆ โ•— โ•š โ•ฉ โ• โ–ฒ โ–ผ โ—„ โ–บ +# โ— โ—‘ โ—’ โ—“ อป อผ อฝ ฮ” ับ โˆŸ โ”Œ โ”โ”” โ”˜โ”˜ + +# colors: +# f0=black, f1=red, f2=green, f3=yellow, f4=blue +# f5=magenta, f6=cyan, f7=white +# g0=bright black, g1=bright red, g2=bright green, g3=bright yellow, +# g4=bright blue, g5=bright magneta, g6=bright cyan, f7=bright white + +cat << EOF + + ${g3} โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + ${f1} โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ ${g3}โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + ${f1} โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ${g3}โ–ˆโ–ˆโ–ˆโ–ˆ + ${g0} โ–ˆโ–ˆโ–ˆโ–ˆ${g3}โ–ˆโ–ˆโ–ˆโ–ˆ${g0}โ–ˆโ–ˆ${g3}โ–ˆ ${g0}โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + ${g0} โ–ˆโ–ˆ${g3}โ–ˆ${g0}โ–ˆโ–ˆ${g3}โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ${g0}โ–ˆโ–ˆ${g3}โ–ˆโ–ˆโ–ˆโ–ˆ${g0}โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + ${g0} โ–ˆโ–ˆ${g3}โ–ˆโ–ˆ${g0}โ–ˆโ–ˆโ–ˆ${g3}โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ${g0}โ–ˆโ–ˆ${g3}โ–ˆโ–ˆโ–ˆโ–ˆ${g0}โ–ˆโ–ˆโ–ˆโ–ˆ + ${g0} โ–ˆโ–ˆโ–ˆ${g3}โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ${g0}โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + ${g3} โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ${g0}โ–ˆโ–ˆ + ${g0} โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ${f1}โ–ˆโ–ˆ${g0}โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ${f1}โ–ˆโ–ˆ${g0}โ–ˆโ–ˆ + ${g0} โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ${f1}โ–ˆโ–ˆ${g0}โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ${f1}โ–ˆโ–ˆ ${g0}โ–ˆโ–ˆ + ${g3}โ–ˆโ–ˆโ–ˆโ–ˆ${g0}โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ${f1}โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ ${g0}โ–ˆโ–ˆ + ${g3}โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ ${f1}โ–ˆโ–ˆ${g0}โ–ˆโ–ˆ${f1}โ–ˆโ–ˆโ–ˆ${g3}โ–ˆโ–ˆ${f1}โ–ˆโ–ˆ${g3}โ–ˆโ–ˆ${f1}โ–ˆโ–ˆโ–ˆ${g0}โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + ${g3} โ–ˆโ–ˆ ${g0}โ–ˆโ–ˆ ${f1}โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ${g0}โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + ${g0} โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ${f1}โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ${g0}โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + ${g0}โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ${f1}โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + ${g0}โ–ˆโ–ˆ ${f1}โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ${rt} +EOF + + + + + + diff --git a/fetching-scripts/games/pacman-ghosts-l b/fetching-scripts/games/pacman-ghosts-l new file mode 100755 index 0000000..068a216 --- /dev/null +++ b/fetching-scripts/games/pacman-ghosts-l @@ -0,0 +1,35 @@ +#!/usr/bin/env bash + +# Pacman ghosts +# +# Author: Rob O'Leary +# + +f=3 b=4 + +for j in f b; do + for i in {0..7}; do + printf -v $j$i %b "\e[${!j}${i}m" + done +done + +for i in {0..7}; do + printf -v g$i %b "\e[9${i}m" +done + +bd=$'\e[1m' +rt=$'\e[0m' +iv=$'\e[7m' + + +cat << EOF + + $f1 โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ $f3 โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ $f6 โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ $f5 โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f1 โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ $f3 โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ $f6 โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ $f5 โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f1โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ $f3โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ $f6โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ $f5โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f1โ–ˆโ–ˆ$f7โ–ˆโ–ˆโ–ˆโ–ˆ$f1โ–ˆโ–ˆ$f7โ–ˆโ–ˆโ–ˆโ–ˆ$f1โ–ˆโ–ˆ $f3โ–ˆโ–ˆ$f7โ–ˆโ–ˆโ–ˆโ–ˆ$f3โ–ˆโ–ˆ$f7โ–ˆโ–ˆโ–ˆโ–ˆ$f3โ–ˆโ–ˆ $f6โ–ˆโ–ˆ$f7โ–ˆ$f0โ–ˆโ–ˆ$f7โ–ˆ$f6โ–ˆโ–ˆ$f7โ–ˆ$f0โ–ˆโ–ˆ$f7โ–ˆ$f6โ–ˆโ–ˆ $f5โ–ˆโ–ˆ$f7โ–ˆโ–ˆโ–ˆโ–ˆ$f5โ–ˆโ–ˆ$f7โ–ˆโ–ˆโ–ˆโ–ˆ$f5โ–ˆโ–ˆ + $f1โ–ˆโ–ˆ$f7โ–ˆ$f0โ–ˆโ–ˆ$f7โ–ˆ$f1โ–ˆโ–ˆ$f7โ–ˆ$f0โ–ˆโ–ˆ$f7โ–ˆ$f1โ–ˆโ–ˆ $f3โ–ˆโ–ˆ$f7โ–ˆโ–ˆ$f0โ–ˆโ–ˆ$f3โ–ˆโ–ˆ$f7โ–ˆโ–ˆ$f0โ–ˆโ–ˆ$f3โ–ˆโ–ˆ $f6โ–ˆโ–ˆ$f7โ–ˆโ–ˆโ–ˆโ–ˆ$f6โ–ˆโ–ˆ$f7โ–ˆโ–ˆโ–ˆโ–ˆ$f6โ–ˆโ–ˆ $f5โ–ˆโ–ˆ$f0โ–ˆโ–ˆ$f7โ–ˆโ–ˆ$f5โ–ˆโ–ˆ$f0โ–ˆโ–ˆ$f7โ–ˆโ–ˆ$f5โ–ˆโ–ˆ + $f1โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ $f3โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ $f6โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ $f5โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f1โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ $f3โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ $f6โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ $f5โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f1โ–ˆโ–ˆ โ–ˆโ–ˆ โ–ˆโ–ˆ โ–ˆโ–ˆ $f3โ–ˆโ–ˆ โ–ˆโ–ˆ โ–ˆโ–ˆ โ–ˆโ–ˆ $f6โ–ˆโ–ˆ โ–ˆโ–ˆ โ–ˆโ–ˆ โ–ˆโ–ˆ $f5โ–ˆโ–ˆ โ–ˆโ–ˆ โ–ˆโ–ˆ โ–ˆโ–ˆ$rt +EOF diff --git a/fetching-scripts/games/pacman-l b/fetching-scripts/games/pacman-l new file mode 100755 index 0000000..0dcd8a8 --- /dev/null +++ b/fetching-scripts/games/pacman-l @@ -0,0 +1,43 @@ +#!/usr/bin/env bash + +# Pacman gobbling +# +# Author: pfh + +f=3 b=4 + +for j in f b; do + for i in {0..7}; do + printf -v $j$i %b "\e[${!j}${i}m" + done +done + +for i in {0..7}; do + printf -v g$i %b "\e[9${i}m" +done + +bd=$'\e[1m' +rt=$'\e[0m' +iv=$'\e[7m' + +# Symbols: +# โ–ˆ โ–  โ–„ โ–€ โ– โ–Œ โ–ฌ โ–“ โ–’ โ–‘ โ— โ• โ•‘ โ•” โ•ฆ โ•— โ•š โ•ฉ โ• โ–ฒ โ–ผ โ—„ โ–บ +# โ— โ—‘ โ—’ โ—“ อป อผ อฝ ฮ” ับ โˆŸ โ”Œ โ”โ”” โ”˜โ”˜ + +# colors: +# f0=black, f1=red, f2=green, f3=yellow, f4=blue +# f5=magenta, f6=cyan, f7=white +# +# g0=bright black, g1=bright red, g2=bright green, g3=bright yellow, +# g4=bright blue, g5=bright magneta, g6=bright cyan, f7=bright white + +cat << EOF + + $g3 โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–„ + $g3โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€โ–€ + $g3โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€ $f7โ–„โ–„ โ–„โ–„ โ–„โ–„ โ–„โ–„ โ–„โ–„ โ–„โ–„ โ–„โ–„ โ–„โ–„ โ–„โ–„ โ–„โ–„ โ–„โ–„ โ–„โ–„ โ–„โ–„ โ–„โ–„ โ–„โ–„ โ–„โ–„ + $g3โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–„ $f7โ–€โ–€ โ–€โ–€ โ–€โ–€ โ–€โ–€ โ–€โ–€ โ–€โ–€ โ–€โ–€ โ–€โ–€ โ–€โ–€ โ–€โ–€ โ–€โ–€ โ–€โ–€ โ–€โ–€ โ–€โ–€ โ–€โ–€ โ–€โ–€ + $g3โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–„โ–„ + $g3 โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€$rt +EOF + diff --git a/fetching-scripts/games/pacman-m b/fetching-scripts/games/pacman-m new file mode 100755 index 0000000..9ccd5ea --- /dev/null +++ b/fetching-scripts/games/pacman-m @@ -0,0 +1,43 @@ +#!/usr/bin/env bash + +# Pacman +# +# Author: pfh + +f=3 b=4 + +for j in f b; do + for i in {0..7}; do + printf -v $j$i %b "\e[${!j}${i}m" + done +done + +for i in {0..7}; do + printf -v g$i %b "\e[9${i}m" +done + +bld=$'\e[1m' +rst=$'\e[0m' +inv=$'\e[7m' + +# Symbols: +# โ–ˆ โ–  โ–„ โ–€ โ– โ–Œ โ–ฌ โ–“ โ–’ โ–‘ โ— โ• โ•‘ โ•” โ•ฆ โ•— โ•š โ•ฉ โ• โ–ฒ โ–ผ โ—„ โ–บ +# โ— โ—‘ โ—’ โ—“ อป อผ อฝ ฮ” ับ โˆŸ โ”Œ โ”โ”” โ”˜โ”˜ + +# colors: +# f0=black, f1=red, f2=green, f3=yellow, f4=blue +# f5=magenta, f6=cyan, f7=white +# +# g0=bright black, g1=bright red, g2=bright green, g3=bright yellow, +# g4=bright blue, g5=bright magneta, g6=bright cyan, f7=bright white + +cat << EOF + + $g3 โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–„ + $g3โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€โ–€ + $g3โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€ $f7โ–„โ–„ โ–„โ–„ โ–„โ–„ โ–„โ–„ โ–„โ–„ โ–„โ–„ โ–„โ–„ โ–„โ–„ โ–„โ–„ โ–„โ–„ โ–„โ–„ + $g3โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–„ $f7โ–€โ–€ โ–€โ–€ โ–€โ–€ โ–€โ–€ โ–€โ–€ โ–€โ–€ โ–€โ–€ โ–€โ–€ โ–€โ–€ โ–€โ–€ โ–€โ–€ + $g3โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–„โ–„ + $g3 โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€$rst +EOF + diff --git a/fetching-scripts/games/pacman-xs b/fetching-scripts/games/pacman-xs new file mode 100755 index 0000000..601c50b --- /dev/null +++ b/fetching-scripts/games/pacman-xs @@ -0,0 +1,42 @@ +#!/usr/bin/env bash + +# Pacman gobbling +# +# Author: pfh + +f=3 b=4 + +for j in f b; do + for i in {0..7}; do + printf -v $j$i %b "\e[${!j}${i}m" + done +done + +for i in {0..7}; do + printf -v g$i %b "\e[9${i}m" +done + +bd=$'\e[1m' +rt=$'\e[0m' +iv=$'\e[7m' + +# Symbols: +# โ–ˆ โ–  โ–„ โ–€ โ– โ–Œ โ–ฌ โ–“ โ–’ โ–‘ โ— โ• โ•‘ โ•” โ•ฆ โ•— โ•š โ•ฉ โ• โ–ฒ โ–ผ โ—„ โ–บ +# โ— โ—‘ โ—’ โ—“ อป อผ อฝ ฮ” ับ โˆŸ โ”Œ โ”โ”” โ”˜โ”˜ + +# colors: +# f0=black, f1=red, f2=green, f3=yellow, f4=blue +# f5=magenta, f6=cyan, f7=white +# g0=bright black, g1=bright red, g2=bright green, g3=bright yellow, +# g4=bright blue, g5=bright magneta, g6=bright cyan, f7=bright white + +cat << EOF + + $f3 โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–„ + $f3โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€โ–€ + $f3โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€ $f7โ–„โ–„ โ–„โ–„ โ–„โ–„ + $f3โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–„ $f7โ–€โ–€ โ–€โ–€ โ–€โ–€ + $f3โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–„โ–„ + $f3 โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€$rt +EOF + diff --git a/fetching-scripts/games/rally-xs b/fetching-scripts/games/rally-xs new file mode 100755 index 0000000..54f660e --- /dev/null +++ b/fetching-scripts/games/rally-xs @@ -0,0 +1,42 @@ +#!/bin/bash + +# Rally +# +# author: ? + +f=3 b=4 +for j in f b; do + for i in {0..7}; do + printf -v $j$i %b "\e[${!j}${i}m" + done +done + +for i in {0..7}; do + printf -v g$i %b "\e[9${i}m" +done + +bd=$'\e[1m' +rt=$'\e[0m' +iv=$'\e[7m' + +# Symbols: +# โ–ˆ โ–  โ–„ โ–€ โ– โ–Œ โ–ฌ โ–“ โ–’ โ–‘ โ— โ• โ•‘ โ•” โ•ฆ โ•— โ•š โ•ฉ โ• โ–ฒ โ–ผ โ—„ โ–บ +# โ— โ—‘ โ—’ โ—“ อป อผ อฝ ฮ” ับ โˆŸ โ”Œ โ”โ”” โ”˜โ”˜ + +# colors: +# f0=black, f1=red, f2=green, f3=yellow, f4=blue +# f5=magenta, f6=cyan, f7=white +# +# g0=bright black, g1=bright red, g2=bright green, g3=bright yellow, +# g4=bright blue, g5=bright magneta, g6=bright cyan, f7=bright white + +cat << EOF + + $f3 โ–„ $f4 โ–„โ–„ $f6 โ–„โ–„ + $f3 โ–ˆโ–ˆโ–ˆโ–„โ–„ $f4 โ–ˆโ–ˆโ–ฌโ–ˆโ–ˆโ–ฌโ–ˆโ–ˆ $f6 โ–ˆโ–ˆโ–ฌโ–ˆโ–ˆโ–ฌโ–ˆโ–ˆ + $f3 โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€โ–€$f4 โ–ˆโ–ˆโ–ˆโ–ˆ $f6 โ–ˆโ–ˆโ–ˆโ–ˆ + $f3 โ–ˆโ–€โ–€ $f4 โ–„โ–ˆโ–ˆ โ–ˆโ–ˆโ–„ $f6 โ–„โ–ˆโ–ˆ โ–ˆโ–ˆโ–„ + $f3 โ–ˆ $f4 โ–„โ–„โ–„โ–€โ–ˆ โ–ˆโ–€โ–„โ–„โ–„ $f6 โ–„โ–„โ–„โ–€โ–ˆ โ–ˆโ–€โ–„โ–„โ–„ + $f3โ–„โ–ˆโ–„ $f4 โ–ˆโ–ˆโ–ˆโ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–€โ–ˆโ–ˆโ–ˆ $f6 โ–ˆโ–ˆโ–ˆโ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–€โ–ˆโ–ˆโ–ˆ + $f4 โ–€ โ–€ $f6 โ–€ โ–€ $rt +EOF diff --git a/fetching-scripts/games/space-invaders-l b/fetching-scripts/games/space-invaders-l new file mode 100755 index 0000000..983c231 --- /dev/null +++ b/fetching-scripts/games/space-invaders-l @@ -0,0 +1,47 @@ +#!/usr/bin/env bash + +# Space Invaders +# + +f=3 b=4 + +for j in f b; do + for i in {0..7}; do + printf -v $j$i %b "\e[${!j}${i}m" + done +done + +for i in {0..7}; do + printf -v fbright$i %b "\e[9${i}m" +done + +bld=$'\e[1m' +rt=$'\e[0m' + +# Symbols: +# โ–ˆ โ–  โ–„ โ–€ โ– โ–Œ โ–ฌ โ–“ โ–’ โ–‘ โ— โ• โ•‘ โ•” โ•ฆ โ•— โ•š โ•ฉ โ• โ–ฒ โ–ผ โ—„ โ–บ +# โ— โ—‘ โ—’ โ—“ อป อผ อฝ ฮ” ับ โˆŸ โ”Œ โ”โ”” โ”˜โ”˜ + +# colors: +# f0=black, f1=red, f2=green, f3=yellow, f4=blue +# f5=magenta, f6=cyan, f7=white +# +# g0=bright black, g1=bright red, g2=bright green, g3=bright yellow, +# g4=bright blue, g5=bright magneta, g6=bright cyan, f7=bright white + +cat << EOF + + $f1 โ–€โ–„ โ–„โ–€ $f2 โ–„โ–„โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–„โ–„โ–„ $f3 โ–„โ–ˆโ–ˆโ–„ $f4 โ–€โ–„ โ–„โ–€ $f5 โ–„โ–„โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–„โ–„โ–„ $f6 โ–„โ–ˆโ–ˆโ–„ + $f1 โ–„โ–ˆโ–€โ–ˆโ–ˆโ–ˆโ–€โ–ˆโ–„ $f2โ–ˆโ–ˆโ–ˆโ–€โ–€โ–ˆโ–ˆโ–€โ–€โ–ˆโ–ˆโ–ˆ $f3โ–„โ–ˆโ–€โ–ˆโ–ˆโ–€โ–ˆโ–„ $f4 โ–„โ–ˆโ–€โ–ˆโ–ˆโ–ˆโ–€โ–ˆโ–„ $f5โ–ˆโ–ˆโ–ˆโ–€โ–€โ–ˆโ–ˆโ–€โ–€โ–ˆโ–ˆโ–ˆ $f6โ–„โ–ˆโ–€โ–ˆโ–ˆโ–€โ–ˆโ–„ + $f1โ–ˆโ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€โ–ˆ $f2โ–€โ–€โ–ˆโ–ˆโ–ˆโ–€โ–€โ–ˆโ–ˆโ–ˆโ–€โ–€ $f3โ–€โ–ˆโ–€โ–ˆโ–ˆโ–€โ–ˆโ–€ $f4โ–ˆโ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€โ–ˆ $f5โ–€โ–€โ–ˆโ–ˆโ–ˆโ–€โ–€โ–ˆโ–ˆโ–ˆโ–€โ–€ $f6โ–€โ–ˆโ–€โ–ˆโ–ˆโ–€โ–ˆโ–€ + $f1โ–€ โ–€โ–„โ–„ โ–„โ–„โ–€ โ–€ $f2 โ–€โ–ˆโ–„ โ–€โ–€ โ–„โ–ˆโ–€ $f3โ–€โ–„ โ–„โ–€ $f4โ–€ โ–€โ–„โ–„ โ–„โ–„โ–€ โ–€ $f5 โ–€โ–ˆโ–„ โ–€โ–€ โ–„โ–ˆโ–€ $f6โ–€โ–„ โ–„โ–€ + + + $f7โ–Œ + + $f7โ–Œ + + $f7 โ–„โ–ˆโ–„ + $f7โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–„ + $f7โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€$rt +EOF diff --git a/fetching-scripts/misc/bars-xs b/fetching-scripts/misc/bars-xs new file mode 100755 index 0000000..97c4fa4 --- /dev/null +++ b/fetching-scripts/misc/bars-xs @@ -0,0 +1,38 @@ +#!/bin/bash + +# name: Bars +# +# author: Rob O'Leary + +f=3 b=4 + +for j in f b; do + for i in {0..7}; do + printf -v $j$i %b "\e[${!j}${i}m" + done +done + +for i in {0..7}; do + printf -v g$i %b "\e[9${i}m" +done + +bd=$'\e[1m' +rt=$'\e[0m' +iv=$'\e[7m' + + +# Symbols: +# โ–ˆ โ–  โ–„ โ–€ โ– โ–Œ โ–ฌ โ–“ โ–’ โ–‘ โ— โ• โ•‘ โ•” โ•ฆ โ•— โ•š โ•ฉ โ• โ–ฒ โ–ผ โ—„ โ–บ +# โ— โ—‘ โ—’ โ—“ อป อผ อฝ ฮ” ับ โˆŸ โ”Œ โ”โ”” โ”˜โ”˜ + +# colors: +# f0=black, f1=red, f2=green, f3=yellow, f4=blue +# f5=magenta, f6=cyan, f7=white +# g0=bright black, g1=bright red, g2=bright green, g3=bright yellow, +# g4=bright blue, g5=bright magneta, g6=bright cyan, f7=bright white + +cat << EOF + + $f1โ–ฌโ–ฌโ–ฌโ–ฌโ–ฌ $f2โ–ฌโ–ฌโ–ฌโ–ฌโ–ฌ $f3โ–ฌโ–ฌโ–ฌโ–ฌโ–ฌ $f4โ–ฌโ–ฌโ–ฌโ–ฌโ–ฌ $f5โ–ฌโ–ฌโ–ฌโ–ฌโ–ฌ $f6โ–ฌโ–ฌโ–ฌโ–ฌโ–ฌ + $g1โ–ฌโ–ฌโ–ฌโ–ฌโ–ฌ $g2โ–ฌโ–ฌโ–ฌโ–ฌโ–ฌ $g3โ–ฌโ–ฌโ–ฌโ–ฌโ–ฌ $g4โ–ฌโ–ฌโ–ฌโ–ฌโ–ฌ $g5โ–ฌโ–ฌโ–ฌโ–ฌโ–ฌ $g6โ–ฌโ–ฌโ–ฌโ–ฌโ–ฌ$rt +EOF diff --git a/fetching-scripts/misc/dna-m b/fetching-scripts/misc/dna-m new file mode 100755 index 0000000..9ea124f --- /dev/null +++ b/fetching-scripts/misc/dna-m @@ -0,0 +1,48 @@ +#!/bin/bash + +# DNA +# +# author: ? + +for j in f b; do + for i in {0..7}; do + printf -v $j$i %b "\e[${!j}${i}m" + done +done + +for i in {0..7}; do + printf -v g$i %b "\e[9${i}m" +done + +bd=$'\e[1m' +rt=$'\e[0m' +iv=$'\e[7m' + +# Symbols: +# โ–ˆ โ–  โ–„ โ–€ โ– โ–Œ โ–ฌ โ–“ โ–’ โ–‘ โ— โ• โ•‘ โ•” โ•ฆ โ•— โ•š โ•ฉ โ• โ–ฒ โ–ผ โ—„ โ–บ +# โ— โ—‘ โ—’ โ—“ อป อผ อฝ ฮ” ับ โˆŸ โ”Œ โ”โ”” โ”˜โ”˜ + +# colors: +# f0=black, f1=red, f2=green, f3=yellow, f4=blue +# f5=magenta, f6=cyan, f7=white +# g0=bright black, g1=bright red, g2=bright green, g3=bright yellow, +# g4=bright blue, g5=bright magneta, g6=bright cyan, f7=bright white + +cat << EOF + + $g1โ–ˆ-----$bd$g1โ–ˆ $rt$g2โ–ˆ-----$bd$g2โ–ˆ$rt $g3โ–ˆ-----$bd$g3โ–ˆ$rt $g4โ–ˆ-----$bd$g4โ–ˆ$rt $g5โ–ˆ-----$bd$g5โ–ˆ$rt $g6โ–ˆ-----$bd$g6โ–ˆ$rt + $g1โ–ˆ---$bd$g1โ–ˆ$rt $g2โ–ˆ---$bd$g2โ–ˆ$rt $g3โ–ˆ---$bd$g3โ–ˆ$rt $g4โ–ˆ---$bd$g4โ–ˆ$rt $g5โ–ˆ---$bd$g5โ–ˆ$rt $g6โ–ˆ---$bd$g6โ–ˆ$rt + $g1 โ–ˆ-$bd$g1โ–ˆ$rt $g2 โ–ˆ-$bd$g2โ–ˆ$rt $g3 โ–ˆ-$bd$g3โ–ˆ$rt $g4 โ–ˆ-$bd$g4โ–ˆ$rt $g5 โ–ˆ-$bd$g5โ–ˆ$rt $g6 โ–ˆ-$bd$g6โ–ˆ$rt + $g1โ–ˆ$rt $g2โ–ˆ$rt $g3โ–ˆ$rt $g4โ–ˆ$rt $g5โ–ˆ$rt $g6โ–ˆ$rt + $g1$bd$g1โ–ˆ-$rt$g1โ–ˆ$rt $g2$bd$g2โ–ˆ_$rt$g2โ–ˆ$rt $g3$bd$g3โ–ˆ-$rt$g3โ–ˆ$rt $g4$bd$g4โ–ˆ-$rt$g4โ–ˆ$rt $g5$bd$g5โ–ˆ-$rt$g5โ–ˆ$rt $g6$bd$g6โ–ˆ-$rt$g6โ–ˆ$rt + $g1$bd$g1โ–ˆ---$rt$g1โ–ˆ$rt $g2$bd$g2โ–ˆ---$rt$g2โ–ˆ$rt $g3$bd$g3โ–ˆ---$rt$g3โ–ˆ$rt $g4$bd$g4โ–ˆ---$rt$g4โ–ˆ$rt $g5$bd$g5โ–ˆ---$rt$g5โ–ˆ$rt $g6$bd$g6โ–ˆ---$rt$g6โ–ˆ$rt + $g1$bd$g1โ–ˆ-----$rt$g1โ–ˆ$rt $g2$bd$g2โ–ˆ-----$rt$g2โ–ˆ$rt $g3$bd$g3โ–ˆ-----$rt$g3โ–ˆ$rt $g4$bd$g4โ–ˆ-----$rt$g4โ–ˆ$rt $g5$bd$g5โ–ˆ-----$rt$g5โ–ˆ$rt $g6$bd$g6โ–ˆ-----$rt$g6โ–ˆ$rt + $g1$bd$g1โ–ˆ---$rt$g1โ–ˆ$rt $g2$bd$g2โ–ˆ---$rt$g2โ–ˆ$rt $g3$bd$g3โ–ˆ---$rt$g3โ–ˆ$rt $g4$bd$g4โ–ˆ---$rt$g4โ–ˆ$rt $g5$bd$g5โ–ˆ---$rt$g5โ–ˆ$rt $g6$bd$g6โ–ˆ---$rt$g6โ–ˆ$rt + $g1$bd$g1โ–ˆ-$rt$g1โ–ˆ$rt $g2$bd$g2โ–ˆ-$rt$g2โ–ˆ$rt $g3$bd$g3โ–ˆ-$rt$g3โ–ˆ$rt $g4$bd$g4โ–ˆ-$rt$g4โ–ˆ$rt $g5$bd$g5โ–ˆ-$rt$g5โ–ˆ$rt $g6$bd$g6โ–ˆ-$rt$g6โ–ˆ$rt + $g1$bd$g1โ–ˆ$rt $g2$bd$g2โ–ˆ$rt $g3$bd$g3โ–ˆ$rt $g4$bd$g4โ–ˆ$rt $g5$bd$g5โ–ˆ$rt $g6$bd$g6โ–ˆ$rt + $g1โ–ˆ-$bd$g1โ–ˆ$rt $g2โ–ˆ-$bd$g2โ–ˆ$rt $g3โ–ˆ-$bd$g3โ–ˆ$rt $g4โ–ˆ-$bd$g4โ–ˆ$rt $g5โ–ˆ-$bd$g5โ–ˆ$rt $g6โ–ˆ-$bd$g6โ–ˆ$rt + $g1โ–ˆ---$bd$g1โ–ˆ$rt $g2โ–ˆ---$bd$g2โ–ˆ$rt $g3โ–ˆ---$bd$g3โ–ˆ$rt $g4โ–ˆ---$bd$g4โ–ˆ$rt $g5โ–ˆ---$bd$g5โ–ˆ$rt $g6โ–ˆ---$bd$g6โ–ˆ$rt + $g1โ–ˆ-----$bd$g1โ–ˆ $rt$g2โ–ˆ-----$bd$g2โ–ˆ$rt $g3โ–ˆ-----$bd$g3โ–ˆ$rt $g4โ–ˆ-----$bd$g4โ–ˆ$rt $g5โ–ˆ-----$bd$g5โ–ˆ$rt $g6โ–ˆ-----$bd$g6โ–ˆ$rt + $g1โ–ˆ---$bd$g1โ–ˆ$rt $g2โ–ˆ---$bd$g2โ–ˆ$rt $g3โ–ˆ---$bd$g3โ–ˆ$rt $g4โ–ˆ---$bd$g4โ–ˆ$rt $g5โ–ˆ---$bd$g5โ–ˆ$rt $g6โ–ˆ---$bd$g6โ–ˆ$rt + $g1 โ–ˆ-$bd$g1โ–ˆ$rt $g2 โ–ˆ-$bd$g2โ–ˆ$rt $g3 โ–ˆ-$bd$g3โ–ˆ$rt $g4 โ–ˆ-$bd$g4โ–ˆ$rt $g5 โ–ˆ-$bd$g5โ–ˆ$rt $g6 โ–ˆ-$bd$g6โ–ˆ$rt +EOF diff --git a/fetching-scripts/star-wars/groku-xs b/fetching-scripts/star-wars/groku-xs new file mode 100755 index 0000000..c14469e --- /dev/null +++ b/fetching-scripts/star-wars/groku-xs @@ -0,0 +1,49 @@ +#!/bin/bash + +# Groku +# +# author: rob o'leary + +f=3 b=4 + +for j in f b; do + for i in {0..7}; do + printf -v $j$i %b "\e[${!j}${i}m" + done +done + +for i in {0..7}; do + printf -v g$i %b "\e[9${i}m" +done + +bd=$'\e[1m' +rt=$'\e[0m' +iv=$'\e[7m' + +# Symbols: +# โ–ˆ โ–  โ–„ โ–€ โ– โ–Œ โ–ฌ โ–“ โ–’ โ–‘ โ— โ• โ•‘ โ•” โ•ฆ โ•— โ•š โ•ฉ โ• โ–ฒ โ–ผ โ—„ โ–บ +# โ— โ—‘ โ—’ โ—“ อป อผ อฝ ฮ” ับ โˆŸ โ”Œ โ”โ”” โ”˜โ”˜ + +# colors: +# f0=black, f1=red, f2=green, f3=yellow, f4=blue +# f5=magenta, f6=cyan, f7=white +# +# g0=bright black, g1=bright red, g2=bright green, g3=bright yellow, +# g4=bright blue, g5=bright magneta, g6=bright cyan, f7=bright white + +cat << EOF + + $f2โ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆ + $g0โ–ˆโ–ˆโ–ˆโ–ˆ$f2โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g0โ–ˆโ–ˆโ–ˆโ–ˆ$rt + $g0 โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f2โ–ˆโ–ˆ$f0โ–ˆโ–ˆ$f7โ–ˆโ–ˆ$f2โ–ˆโ–ˆโ–ˆโ–ˆ$f0โ–ˆโ–ˆ$f7โ–ˆโ–ˆ$f2โ–ˆโ–ˆ$g0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $g0 โ–ˆโ–ˆ$f2โ–ˆโ–ˆ$f0โ–ˆโ–ˆโ–ˆโ–ˆ$f2โ–ˆโ–ˆโ–ˆโ–ˆ$f0โ–ˆโ–ˆโ–ˆโ–ˆ$f2โ–ˆโ–ˆ$g0โ–ˆโ–ˆโ–ˆโ–ˆ + $g3 โ–ˆโ–ˆ$f2โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g3โ–ˆโ–ˆ + $f3 โ–ˆโ–ˆโ–ˆโ–ˆ$g3โ–ˆโ–ˆ$f2โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g3$bdโ–ˆโ–ˆ$f3โ–ˆโ–ˆโ–ˆ + $f3 โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f3 โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$g3โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f3โ–ˆโ–ˆ$g3โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f3โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f2 โ–ˆโ–ˆ$g3โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f3โ–ˆโ–ˆ$g3โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f2 โ–ˆโ–ˆ + $g3 โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f3โ–ˆโ–ˆ$g3โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $g3 โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f3โ–ˆโ–ˆ$g3โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $g3 โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f3โ–ˆโ–ˆ$g3โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$rt +EOF + diff --git a/fetching-scripts/star-wars/tiefighter-l b/fetching-scripts/star-wars/tiefighter-l new file mode 100755 index 0000000..953378e --- /dev/null +++ b/fetching-scripts/star-wars/tiefighter-l @@ -0,0 +1,42 @@ +#!/usr/bin/env bash + +# Tie Fighter +# +# Author: pfh + +f=3 b=4 + +for j in f b; do + for i in {0..7}; do + printf -v $j$i %b "\e[${!j}${i}m" + done +done + +for i in {0..7}; do + printf -v g$i %b "\e[9${i}m" +done + +bd=$'\e[1m' +rt=$'\e[0m' +iv=$'\e[7m' + +# Symbols: +# โ–ˆ โ–  โ–„ โ–€ โ– โ–Œ โ–ฌ โ–“ โ–’ โ–‘ โ— โ• โ•‘ โ•” โ•ฆ โ•— โ•š โ•ฉ โ• โ–ฒ โ–ผ โ—„ โ–บ +# โ— โ—‘ โ—’ โ—“ อป อผ อฝ ฮ” ับ โˆŸ โ”Œ โ”โ”” โ”˜โ”˜ + +# colors: +# f0=black, f1=red, f2=green, f3=yellow, f4=blue +# f5=magenta, f6=cyan, f7=white +# +# g0=bright black, g1=bright red, g2=bright green, g3=bright yellow, +# g4=bright blue, g5=bright magneta, g6=bright cyan, f7=bright white + +cat << EOF + + $invโ–ˆ โ–ˆ $invโ–ˆ โ–ˆ $invโ–ˆ โ–ˆ $invโ–ˆ โ–ˆ $invโ–ˆ โ–ˆ + $invโ–ˆ โ–„โ–„โ–„ โ–ˆ $invโ–ˆ โ–„โ–„โ–„ โ–ˆ $invโ–ˆ โ–„โ–„โ–„ โ–ˆ $invโ–ˆ โ–„โ–„โ–„ โ–ˆ $invโ–ˆ โ–„โ–„โ–„ โ–ˆ + $invโ–ˆโ–„โ–„โ–ˆโ–ˆโ–€โ–ˆโ–ˆโ–„โ–„โ–ˆ $invโ–ˆโ–„โ–„โ–ˆโ–ˆโ–€โ–ˆโ–ˆโ–„โ–„โ–ˆ $invโ–ˆโ–„โ–„โ–ˆโ–ˆโ–€โ–ˆโ–ˆโ–„โ–„โ–ˆ $invโ–ˆโ–„โ–„โ–ˆโ–ˆโ–€โ–ˆโ–ˆโ–„โ–„โ–ˆ $invโ–ˆโ–„โ–„โ–ˆโ–ˆโ–€โ–ˆโ–ˆโ–„โ–„โ–ˆ + $invโ–ˆโ–€โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€โ–€โ–ˆ $invโ–ˆโ–€โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€โ–€โ–ˆ $invโ–ˆโ–€โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€โ–€โ–ˆ $invโ–ˆโ–€โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€โ–€โ–ˆ $invโ–ˆโ–€โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€โ–€โ–ˆ + $invโ–ˆ โ–€โ–€โ–€ โ–ˆ $invโ–ˆ โ–€โ–€โ–€ โ–ˆ $invโ–ˆ โ–€โ–€โ–€ โ–ˆ $invโ–ˆ โ–€โ–€โ–€ โ–ˆ $invโ–ˆ โ–€โ–€โ–€ โ–ˆ + $invโ–ˆ โ–ˆ $invโ–ˆ โ–ˆ $invโ–ˆ โ–ˆ $invโ–ˆ โ–ˆ $invโ–ˆ โ–ˆ$rt +EOF diff --git a/fetching-scripts/star-wars/tiefighter-xs b/fetching-scripts/star-wars/tiefighter-xs new file mode 100755 index 0000000..abcf013 --- /dev/null +++ b/fetching-scripts/star-wars/tiefighter-xs @@ -0,0 +1,47 @@ +#!/usr/bin/env bash + +# Tie Fighter +# +# Author: pfh + +f=3 b=4 + +for j in f b; do + for i in {0..7}; do + printf -v $j$i %b "\e[${!j}${i}m" + done +done + +for i in {0..7}; do + printf -v g$i %b "\e[9${i}m" +done + +# bold +bd=$'\e[1m' + +# reset color +rt=$'\e[0m' + +# invert color (opposite of current) +iv=$'\e[7m' + +# Symbols: +# โ–ˆ โ–  โ–„ โ–€ โ– โ–Œ โ–ฌ โ–“ โ–’ โ–‘ โ— โ• โ•‘ โ•” โ•ฆ โ•— โ•š โ•ฉ โ• โ–ฒ โ–ผ โ—„ โ–บ +# โ— โ—‘ โ—’ โ—“ อป อผ อฝ ฮ” ับ โˆŸ โ”Œ โ”โ”” โ”˜โ”˜ + +# colors: +# f0=black, f1=red, f2=green, f3=yellow, f4=blue +# f5=magenta, f6=cyan, f7=white +# +# g0=bright black, g1=bright red, g2=bright green, g3=bright yellow, +# g4=bright blue, g5=bright magneta, g6=bright cyan, f7=bright white + +cat << EOF + + $invโ–ˆ โ–ˆ $invโ–ˆ โ–ˆ + $invโ–ˆ โ–„โ–„โ–„ โ–ˆ $invโ–ˆ โ–„โ–„โ–„ โ–ˆ + $invโ–ˆโ–„โ–„โ–ˆโ–ˆโ–€โ–ˆโ–ˆโ–„โ–„โ–ˆ $invโ–ˆโ–„โ–„โ–ˆโ–ˆโ–€โ–ˆโ–ˆโ–„โ–„โ–ˆ + $invโ–ˆโ–€โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€โ–€โ–ˆ $invโ–ˆโ–€โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€โ–€โ–ˆ + $invโ–ˆ โ–€โ–€โ–€ โ–ˆ $invโ–ˆ โ–€โ–€โ–€ โ–ˆ + $invโ–ˆ โ–ˆ $invโ–ˆ โ–ˆ${rt} +EOF diff --git a/fetching-scripts/street/invader-dripping-xs b/fetching-scripts/street/invader-dripping-xs new file mode 100755 index 0000000..9578b41 --- /dev/null +++ b/fetching-scripts/street/invader-dripping-xs @@ -0,0 +1,59 @@ +#!/usr/bin/env bash + +# Invader dripping +# +# Recreation of this: https://www.pinterest.com/pin/220465344228344665/ +# +# Author: rob o'leary + +f=3 b=4 + +for j in f b; do + for i in {0..7}; do + printf -v $j$i %b "\e[${!j}${i}m" + done +done + +for i in {0..7}; do + printf -v g$i %b "\e[9${i}m" +done + +bd=$'\e[1m' +rt=$'\e[0m' +iv=$'\e[7m' + +# Symbols: +# โ–ˆ โ–  โ–„ โ–€ โ– โ–Œ โ–ฌ โ–“ โ–’ โ–‘ โ— โ• โ•‘ โ•” โ•ฆ โ•— โ•š โ•ฉ โ• โ–ฒ โ–ผ โ—„ โ–บ +# โ— โ—‘ โ—’ โ—“ อป อผ อฝ ฮ” ับ โˆŸ โ”Œ โ”โ”” โ”˜โ”˜ + +# colors: +# f0=black, f1=red, f2=green, f3=yellow, f4=blue +# f5=magenta, f6=cyan, f7=white +# g0=bright black, g1=bright red, g2=bright green, g3=bright yellow, +# g4=bright blue, g5=bright magneta, g6=bright cyan, f7=bright white + +cat << EOF + + $f0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f1โ–ˆโ–ˆ$f0โ–ˆโ–ˆโ–ˆโ–ˆ$f1โ–ˆโ–ˆ$f0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f1โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f0โ–ˆโ–ˆโ–ˆโ–ˆ$f1โ–ˆโ–ˆ$f7โ–ˆโ–ˆโ–ˆโ–ˆ$f1โ–ˆโ–ˆ$f7โ–ˆโ–ˆโ–ˆโ–ˆ$f1โ–ˆโ–ˆ$f0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f0โ–ˆโ–ˆโ–ˆโ–ˆ$f1โ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f7โ–ˆโ–ˆ$f1โ–ˆโ–ˆ$g0โ–ˆโ–ˆ$f7โ–ˆโ–ˆ$f1โ–ˆโ–ˆ$f0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f0โ–ˆโ–ˆ$f1โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f0โ–ˆโ–ˆ$f0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f0โ–ˆโ–ˆ$f1โ–ˆโ–ˆ$f0โ–ˆโ–ˆ$f1โ–ˆโ–ˆ$f0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f1โ–ˆโ–ˆ$f0โ–ˆโ–ˆ$f1โ–ˆโ–ˆ$f0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f0โ–ˆโ–ˆ$f1โ–ˆโ–ˆ$f0โ–ˆโ–ˆโ–ˆโ–ˆ$f1โ–ˆโ–ˆ$f0โ–ˆโ–ˆ$f1โ–ˆโ–ˆ$f0โ–ˆโ–ˆโ–ˆโ–ˆ$f1โ–ˆโ–ˆ$f0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f0โ–ˆโ–ˆ$f1โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f7โ–ˆโ–ˆ$f1โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f0โ–ˆโ–ˆ$f1โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f0โ–ˆโ–ˆโ–ˆโ–ˆ$f7โ–ˆโ–ˆ + $f0โ–ˆโ–ˆโ–ˆโ–ˆ$f1โ–ˆโ–ˆ$f0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f7โ–ˆโ–ˆ + $f0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f7โ–ˆโ–ˆ$f0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f7โ–ˆโ–ˆ$f0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f0โ–ˆโ–ˆโ–ˆโ–ˆ$f1โ–ˆโ–ˆ$f0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f4โ–ˆโ–ˆโ–ˆโ–ˆ$f0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f4โ–ˆโ–ˆโ–ˆโ–ˆ$f0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f4โ–ˆโ–ˆโ–ˆโ–ˆ$f0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f1โ–ˆโ–ˆ$f0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f4โ–ˆโ–ˆโ–ˆโ–ˆ$f0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $f0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$f4โ–ˆโ–ˆโ–ˆโ–ˆ$f0โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$rt +EOF + diff --git a/fetching-scripts/street/invader-obey-xs b/fetching-scripts/street/invader-obey-xs new file mode 100755 index 0000000..6e9602d --- /dev/null +++ b/fetching-scripts/street/invader-obey-xs @@ -0,0 +1,52 @@ +#!/usr/bin/env bash + +# ivader Obey +# +# Inspired by street artist ivader +# +# Author: rob o'leary + + +f=3 b=4 + +for j in f b; do + for i in {0..7}; do + printf -v $j$i %b "\e[${!j}${i}m" + done +done + +for i in {0..7}; do + printf -v fbright$i %b "\e[9${i}m" +done + +bd=$'\e[1m' +rt=$'\e[0m' +iv=$'\e[7m' + +# Symbols: +# โ–ˆ โ–  โ–„ โ–€ โ– โ–Œ + + +# colors: +# f0=black, f1=red, f2=green, f3=yellow, f4=blue +# f5=magenta, f6=cyan, f7=white +# +# g0=bright black, g1=bright red, g2=bright green, g3=bright yellow, +# g4=bright blue, g5=bright magneta, g6=bright cyan, f7=bright white + +cat << EOF + + $f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ + $iv โ–ˆโ–ˆ โ–ˆโ–ˆ $rt$f7โ–ˆโ–ˆโ–ˆโ–ˆ + $iv โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$rt$f7โ–ˆโ–ˆโ–ˆโ–ˆ + $iv โ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆ$rt$f7โ–ˆโ–ˆโ–ˆโ–ˆ + $iv โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$rt$f7โ–ˆโ–ˆ + $iv โ–ˆโ–ˆ โ–ˆโ–ˆ โ–ˆโ–ˆ โ–ˆโ–ˆ$rt$f7โ–ˆโ–ˆ + $iv โ–ˆโ–ˆ โ–ˆโ–ˆ โ–ˆโ–ˆ โ–ˆโ–ˆ$rt$f7โ–ˆโ–ˆ + $f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ$rt + $f1 โ–„โ–„โ–„ โ–„โ–„โ–„ โ–„โ–„ โ–„ โ–„ $rt + $f1 โ–ˆ โ–ˆ โ–ˆ โ–ˆ โ–ˆ โ–ˆ โ–ˆ + $f1 โ–ˆ โ–ˆ โ–ˆโ– โ–ˆ โ–ˆโ–  โ–ˆ โ–ˆ + $f1 โ–ˆ โ–ˆ โ–ˆ โ–ˆ โ–ˆ โ–ˆ + $f1 โ–€โ–€โ–€ โ–€โ–€โ–€ โ–€โ–€ โ–€$rt +EOF diff --git a/funding.yml b/funding.yml new file mode 100644 index 0000000..e0da80e --- /dev/null +++ b/funding.yml @@ -0,0 +1 @@ +ko_fi: roboleary diff --git a/img/editing-process/export.png b/img/editing-process/export.png new file mode 100644 index 0000000..3dfd0dd Binary files /dev/null and b/img/editing-process/export.png differ diff --git a/img/editing-process/multi-line-edit.gif b/img/editing-process/multi-line-edit.gif new file mode 100644 index 0000000..5129e90 Binary files /dev/null and b/img/editing-process/multi-line-edit.gif differ diff --git a/img/editing-process/piskel.png b/img/editing-process/piskel.png new file mode 100644 index 0000000..854a854 Binary files /dev/null and b/img/editing-process/piskel.png differ diff --git a/img/editing-process/windows.png b/img/editing-process/windows.png new file mode 100644 index 0000000..b1c1d59 Binary files /dev/null and b/img/editing-process/windows.png differ diff --git a/img/garbled.png b/img/garbled.png new file mode 100644 index 0000000..bf3b08c Binary files /dev/null and b/img/garbled.png differ diff --git a/img/groku.png b/img/groku.png new file mode 100644 index 0000000..2d1cb2b Binary files /dev/null and b/img/groku.png differ diff --git a/img/inspiration/pinterest.png b/img/inspiration/pinterest.png new file mode 100644 index 0000000..fb17865 Binary files /dev/null and b/img/inspiration/pinterest.png differ diff --git a/img/inspiration/yoda-kandi-patterns.png b/img/inspiration/yoda-kandi-patterns.png new file mode 100644 index 0000000..003e75f Binary files /dev/null and b/img/inspiration/yoda-kandi-patterns.png differ diff --git a/img/mario-colors.png b/img/mario-colors.png new file mode 100644 index 0000000..69d2247 Binary files /dev/null and b/img/mario-colors.png differ diff --git a/img/mario-mytheme.png b/img/mario-mytheme.png new file mode 100644 index 0000000..2b16018 Binary files /dev/null and b/img/mario-mytheme.png differ diff --git a/img/mario/mario-montage.xcf b/img/mario/mario-montage.xcf new file mode 100644 index 0000000..04597f0 Binary files /dev/null and b/img/mario/mario-montage.xcf differ diff --git a/img/mario/mario1.png b/img/mario/mario1.png new file mode 100644 index 0000000..d0efc28 Binary files /dev/null and b/img/mario/mario1.png differ diff --git a/img/mario/mario2.png b/img/mario/mario2.png new file mode 100644 index 0000000..dbe74ea Binary files /dev/null and b/img/mario/mario2.png differ diff --git a/img/mario/mario3.png b/img/mario/mario3.png new file mode 100644 index 0000000..d306350 Binary files /dev/null and b/img/mario/mario3.png differ diff --git a/img/mario/mario4.png b/img/mario/mario4.png new file mode 100644 index 0000000..fa484e5 Binary files /dev/null and b/img/mario/mario4.png differ diff --git a/img/mario/mario5.png b/img/mario/mario5.png new file mode 100644 index 0000000..a38d04b Binary files /dev/null and b/img/mario/mario5.png differ diff --git a/img/mario/mario6.png b/img/mario/mario6.png new file mode 100644 index 0000000..234850f Binary files /dev/null and b/img/mario/mario6.png differ diff --git a/img/mondrian.png b/img/mondrian.png new file mode 100644 index 0000000..89599d6 Binary files /dev/null and b/img/mondrian.png differ diff --git a/img/obey.png b/img/obey.png new file mode 100644 index 0000000..2987065 Binary files /dev/null and b/img/obey.png differ diff --git a/img/pacman-right-xs-code.png b/img/pacman-right-xs-code.png new file mode 100644 index 0000000..e56c5b3 Binary files /dev/null and b/img/pacman-right-xs-code.png differ diff --git a/img/pacman-right-xs-output.png b/img/pacman-right-xs-output.png new file mode 100644 index 0000000..3196595 Binary files /dev/null and b/img/pacman-right-xs-output.png differ diff --git a/img/reference/invader-dripping-paint.piskel b/img/reference/invader-dripping-paint.piskel new file mode 100644 index 0000000..389a150 --- /dev/null +++ b/img/reference/invader-dripping-paint.piskel @@ -0,0 +1 @@ +{"modelVersion":2,"piskel":{"name":"invader-dripping-paint","description":"","fps":12,"height":32,"width":32,"layers":["{\"name\":\"Layer 1\",\"opacity\":1,\"frameCount\":1,\"chunks\":[{\"layout\":[[0]],\"base64PNG\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAdUlEQVRYhe2U0QrAIAhF7///tHtyxLLcYN629IAkEdxDZEBRFMUfEUCsnhZuFS9cufQ0AWhw38eHexUu0K7efpjAKJQ+DflY+gjPufdK2q/hbYkHNxAioBK3zkUJWEEjaAKUoM8IGG9AsPgHTCIwGb8kN7A1B1M82SdOmYOjAAAAAElFTkSuQmCC\"}]}"],"hiddenFrames":[""]}} \ No newline at end of file diff --git a/img/reference/invader-dripping-referece.png b/img/reference/invader-dripping-referece.png new file mode 100644 index 0000000..990b2b3 Binary files /dev/null and b/img/reference/invader-dripping-referece.png differ diff --git a/img/slideshow.gif b/img/slideshow.gif new file mode 100644 index 0000000..3278f85 Binary files /dev/null and b/img/slideshow.gif differ diff --git a/img/space-invaders.png b/img/space-invaders.png new file mode 100644 index 0000000..e02aac6 Binary files /dev/null and b/img/space-invaders.png differ diff --git a/img/terminal-diff.png b/img/terminal-diff.png new file mode 100644 index 0000000..3f71164 Binary files /dev/null and b/img/terminal-diff.png differ diff --git a/img/title/logo.png b/img/title/logo.png new file mode 100644 index 0000000..577d442 Binary files /dev/null and b/img/title/logo.png differ diff --git a/img/title/logo.xcf b/img/title/logo.xcf new file mode 100644 index 0000000..e8db71d Binary files /dev/null and b/img/title/logo.xcf differ diff --git a/img/untitled.png b/img/untitled.png new file mode 100644 index 0000000..76e5f11 Binary files /dev/null and b/img/untitled.png differ diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..b7ed12a --- /dev/null +++ b/install.sh @@ -0,0 +1,53 @@ +#! /usr/fetin/env + +REPO_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)" + +ROOT_UID=0 +DEST_DIR="$HOME/.local/bin" + +usage() { + printf "%s\n" "Usage: $0 [OPTIONS...]" + printf "\n%s\n" "OPTIONS:" + printf " %-25s%s\n" "-d, --dest DIR" "Specify destination directory (Default: ${DEST_DIR})" + printf " %-25s%s\n" "-h, --help" "Show this help" +} + +install() { + echo "Installing..." + + if [[ ! -d "${DEST_DIR}" ]]; then + echo "Destination directory does not exist. Let's make a new one..." + mkdir -p "${DEST_DIR}" + fi + + echo "Copying files..." + cp -p "${REPO_DIR}/fetching" "${DEST_DIR}/fetching" + cp -p -r "${REPO_DIR}/fetching-scripts" "${DEST_DIR}/fetching-scripts" + chmod -R 755 "${DEST_DIR}/fetching" + chmod -R 755 "${DEST_DIR}/fetching-scripts" + echo "Installed to...${DEST_DIR}" +} + +while [[ $# -gt 0 ]]; do + case "${1}" in + -d|--dest) + DEST_DIR="${2}" + shift 2 + ;; + -h|--help) + usage + exit 0 + ;; + *) + echo "ERROR: Unrecognized option '$1'." + echo "Try '$0 --help' for more information." + exit 1 + ;; + esac +done + + +install + + + diff --git a/template b/template new file mode 100755 index 0000000..e74ec14 --- /dev/null +++ b/template @@ -0,0 +1,82 @@ +#!/usr/bin/env bash + +# ?? +# +# Author: ? + +f=3 b=4 + +for j in f b; do + for i in {0..7}; do + printf -v $j$i %b "\e[${!j}${i}m" + done +done + +for i in {0..7}; do + printf -v g$i %b "\e[9${i}m" +done + +# bold +bd=$'\e[1m' + +# reset color +rt=$'\e[0m' + +# invert color (swaps positive and negative spaces) +iv=$'\e[7m' + +### SYMBOLS ### +# BLOCKS: +# full: โ–ˆ โ–“ โ–’ โ–‘ +# left (descending size): โ–‰ โ–Š โ–‹ โ–Œ โ– โ–Ž โ– +# right: โ– (half)โ–• (1/8) +# upper: โ–€ (half) โ–” (1/8) +# lower (descending size): โ–‡ โ–† โ–… โ–„ โ–ƒ โ–‚ โ– +# quadrants: โ–– (lower left) โ–— (lower right) โ–˜ (upper left) โ– (upper right) + +# LINES: +# horizontal: โ–ฌ โ€” โ–ฌ โ€• โ€— โ€ฆ ห โšŠ โšŒ โš โšŽ โš +# slanted: โ„ โ•ฑ โ•ฒ โ’ +# wavy: ห˜ โ โ“ โ” โ€ฟ ๐Ÿœณ ๐Ÿ  ๐Ÿ„ ๐Ÿž ๐ŸŸ ๐Ÿฃ โบ โบ€ โšž โšŸ โ™จ โ— โ—ก โ—œโ—โ—žโ—Ÿโ˜ก + +# SHAPES: +# circular: โ— โ—Ž โ—‰ โ—ฏ โ—  โ—ก โ€ข โ— โ—‘ โ—’ โ—“ ฮ˜ ฮŸ อป อผ อฝ ับ หš โšฌ โšญ โšฎ โšฏ โš† โš‡ โšˆ โš‰ +# triangular: โ–ฒ โ–ผ โ—„ โ–บ โ—€ โ€ฃ โ—ข โ—ค โ—ฅ โ—คโ—ข โ—ญ โ—ฎ โ—บ ฮ” ๐Ÿœ ๐Ÿœ‚ โ›ฌ ๐Ÿœƒ ๐Ÿœ„ ๐Ÿœ… โ‚ โ€ธ โ€น โ€บ +# quadilaterals: โ–  โ–จ โ–ค โ–ฅ โ–ฉ โ™ข โ™ฆ โ›ถ โ–ฐ ๐Ÿ€† ๐Ÿ€ซ โ˜ +# stars: โ˜… โ˜† โ›ค โ›ฅ โ›ฆ โ›ง + +# BOXES: +# double border: โ• โ•‘ โ•” โ•ฆ โ•— โ•š โ•ฉ โ• +# single border: โˆŸ โ”Œ โ”โ”” โ”˜ +# branches: หฆ หง หจ หช หซ +# +# dots: โš โ˜ โ™ โ› โ โž โ– โฃฐ see https://en.wikipedia.org/wiki/Braille_Patterns + +### COLORS ### +# foreground: +# f0=black, f1=red, f2=green, f3=yellow, f4=blue +# f5=magenta, f6=cyan, f7=white +# +# g0=bright black, g1=bright red, g2=bright green, g3=bright yellow, +# g4=bright blue, g5=bright magneta, g6=bright cyan, g7=bright white +# +# background: +# b0=black, b1=red, b2=green, b3=yellow, b4=blue +# b5=magenta, b6=cyan, b7=white + +# this is a 10x20 grid of blocks to start you off +cat << EOF + +$f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ +$f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ +$f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ +$f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ +$f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ +$f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ +$f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ +$f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ +$f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ +$f7โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ +$rt +EOF + diff --git a/todo b/todo new file mode 100644 index 0000000..68a40f8 --- /dev/null +++ b/todo @@ -0,0 +1,14 @@ +1. Damian Hirst Spot Paintings? +1. Whiteout by Cristoph Niemann https://www.instagram.com/p/CKtbDD3M8Pi/ +1. Make a mashup of art and games +1. Warhol Velvet Underground Cover +1. Picture II, Gnomus. by Kadinsky - https://www.wikiart.org/en/wassily-kandinsky/not_detected_189367 +1. Composition by Kadinsky - https://www.wikiart.org/en/wassily-kandinsky/composition-1944 +1. Look at spritesheets e.g. mandolorian +1. Try out some patterns from https://tabbied.com/select-artwork +1. Look at Op art examples +1. Look at brutalism examples +1. Look at cubist examples +1. Look at graphic design examples (Swiss) +1. Kawaii-style charaters e.g.Kakao friends stickers +1. More de stijl? diff --git a/uninstall.sh b/uninstall.sh new file mode 100644 index 0000000..12c35ba --- /dev/null +++ b/uninstall.sh @@ -0,0 +1,51 @@ +#! /usr/bin/env + +REPO_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)" + +ROOT_UID=0 +DEST_DIR="$HOME/.local/bin" + +usage() { + printf "%s\n" "Usage: $0 [OPTIONS...]" + printf "\n%s\n" "OPTIONS:" + printf " %-25s%s\n" "-d, --dest DIR" "Specify destination directory (Default: ${DEST_DIR})" + printf " %-25s%s\n" "-h, --help" "Show this help" +} + +uninstall() { + echo "Uninstalling..." + + if [[ ! -d "${DEST_DIR}" ]]; then + echo "Destination directory does not exist." + exit 1 + fi + + echo "Removing files..." + rm -f "${DEST_DIR}/fetching" + rm -rf "${DEST_DIR}/fetching-scripts" + echo "Removed from...${DEST_DIR}" +} + +while [[ $# -gt 0 ]]; do + case "${1}" in + -d|--dest) + DEST_DIR="${2}" + shift 2 + ;; + -h|--help) + usage + exit 0 + ;; + *) + echo "ERROR: Unrecognized option '$1'." + echo "Try '$0 --help' for more information." + exit 1 + ;; + esac +done + + +uninstall + + +