Coder Social home page Coder Social logo

saimoomedits / levuaska Goto Github PK

View Code? Open in Web Editor NEW
91.0 91.0 6.0 29.87 MB

A dark color scheme. Heavily inspired by catppuccin

License: GNU General Public License v3.0

Shell 79.19% SCSS 0.29% Python 0.78% Makefile 0.14% Roff 0.18% CSS 5.72% Dockerfile 0.02% Ruby 1.07% Perl 0.09% Vim Script 12.53%

levuaska's Introduction

levuaska's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

levuaska's Issues

Your quotes are wrong

If you google quote "wisdom begins at the end" (from screenshot)
It's not written by "Anne Lamott"

The issue is in your script
uri=$(curl -s "https://api.quotable.io/random?maxLength=32")
quote=$(echo $uri | jq '.content' | cut -d """ -f 2)
author=$(echo $uri | jq '.author' | cut -d """ -f 2)

case $1 in
quote)
echo $quote
;;
author)
echo "- $author"
;;
esac

If you run command " scriptname quote " it'll download and fetch you quotes
If you run command " scriptname author " this is gonna download 2nd quote and show you author, your quotes and author are always gonna mismatch because they are coming from two different source

You need to make separate script to log your quotes first to read from later

  1. first save your quotes in file separately
    rm /tmp/quote
    rm /tmp/author

uri=$(curl -s "https://api.quotable.io/random?maxLength=32")

echo $uri | jq '.content' | cut -d """ -f 2 > /tmp/quote
echo $uri | jq '.author' | cut -d """ -f 2 > /tmp/author

  1. to read your quotes

quote=$(cat /tmp/quote )
author=$(cat /tmp/author )

case $1 in
quote)
echo $quote
;;
author)
echo "- $author"
;;
esac

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.