37 lines
2.3 KiB
Markdown
37 lines
2.3 KiB
Markdown
|
---
|
|||
|
layout: Website.PostLayout
|
|||
|
title: Test Post
|
|||
|
date: 2024-11-8
|
|||
|
categories: post
|
|||
|
permalink: "/test-post"
|
|||
|
---
|
|||
|
|
|||
|
I’d love to drop anchor in your lagoon. Brwaack! Polly want a cracker? … Oh, wait. That’s for Talk Like a PARROT Day. That’s quite a cutlass ye got thar, what ye need is a good scabbard! Take what you can, give nothing back And that was done without a single drop of rum… The existence of the sea means the existence of pirates.
|
|||
|
|
|||
|
Let’s get together and haul some keel. Aye, I guarantee ye, I’ve had a twenty percent decrease in me “lice ratio!” Me I’m Dishonest. And A Dishonest Man You Can Always Trust To Be Dishonest. Honestly Its The Honest Ones You Want To Watch Out For Because You Never Know When They Are Going To Do Something Completely Stupid! The rougher the seas, the smoother we sail. Ahoy! Give me freedom or give me the rope. For I shall not take the shackles that subjugate the poor to uphold the rich. Drink up me hearties yoho …a pirates life for me The average man will bristle if you say his father was dishonest, but he will brag a little if he discovers that his great- grandfather was a pirate.
|
|||
|
|
|||
|
``` bash
|
|||
|
#!/bin/sh
|
|||
|
if [[ ! $1 ]]; then
|
|||
|
user="siinamonster"
|
|||
|
else
|
|||
|
user="$1"
|
|||
|
fi
|
|||
|
|
|||
|
api_url="https://api.listenbrainz.org/1/user/$user/playing-now"
|
|||
|
|
|||
|
data=$(curl -s $api_url | jq -r '.payload.listens[0].track_metadata')
|
|||
|
artist=$(echo "$data" | jq '.artist_name' | tr -d '"')
|
|||
|
track=$(echo "$data" | jq '.track_name' | tr -d '"')
|
|||
|
|
|||
|
if [[ "$artist" != "null" ]]; then
|
|||
|
echo "Currently playing: $artist" - "$track"
|
|||
|
else
|
|||
|
echo "Not listening to anything right now."
|
|||
|
fi
|
|||
|
```
|
|||
|
|
|||
|
Come on up and see me urchins. Prepare to be boarded. That’s the finest pirate booty I’ve ever laid eyes on. What are YOU doing here? Life’s pretty good, and why wouldn’t it be? I’m a pirate, after all. Shiver me timbers.
|
|||
|
|
|||
|
Pardon me, but would ya mind if I fired me cannon through your porthole? Take what you can, give nothing back There comes a time in most men’s lives where they feel the need to raise the Black Flag. you know, thats the 2nd time I’v watched that man sail away with my ship. “I’ve got a jar of dirt! I’ve got a jar of dirt, and guess what’s inside it?” “Why is the rum always gone?” Land was created to provide a place for boats to visit.
|