Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View MineBartekSA's full-sized avatar

Bartłomiej Skoczeń MineBartekSA

View GitHub Profile
@MineBartekSA
MineBartekSA / catbox
Last active March 18, 2024 21:03
CatBox - An implementation of catbox.moe API in Bash
#!/bin/bash
#
# CatBox v2.0
# An implementation of catbox.moe API in Bash
# Author: MineBartekSA
# Gist: https://gist.github.com/MineBartekSA/1d42d6973ddafb82793fd49b4fb06591
# Change log: https://gist.github.com/MineBartekSA/1d42d6973ddafb82793fd49b4fb06591?permalink_comment_id=4596132#gistcomment-4596132
#
# MIT License
#
@MineBartekSA
MineBartekSA / github-release.sh
Last active January 19, 2023 11:11
github-release - A simple github release asset downloader
#!/bin/bash
#
# github-release v1.0.0
# A simple github release asset downloader
# Author: MineBartekSA
# Gist: https://gist.github.com/MineBartekSA/5234f09c1048f9ba007d0a26a8fd654e
#
function help() {
echo "Usage: $0 <repository> [options]"
@MineBartekSA
MineBartekSA / litterbox
Created February 1, 2021 14:17
LitterBox - A implementation of litterbox.catbox.moe API in bash
#!/bin/bash
#
# LitterBox v1.0
# A implelemtation of litterbox.catbox.moe API in Bash
# Author: MineBartekSA
# Gist: https://gist.github.com/MineBartekSA/c82fd4d5eeda3f253b002ece4df40579
#
curl --version >> /dev/null
if [ $? -ne 0 ]
@MineBartekSA
MineBartekSA / rand
Created September 19, 2018 18:15
This is a simple bash random number generator, and yet it's overdone!
#!/bin/bash
if ! [ -z $1 ]
then
if [ $1 == "--help" ]
then
echo -e "Number Randomizer aka Rand \e[1mv1.2.1\e[21m"
echo "Usage:"
echo " rand <range> [<repeats> <show only highest>]"
echo " rand <filename> [<repeats> <show only highest>]"

Keybase proof

I hereby claim:

  • I am minebarteksa on github.
  • I am minebarteksa (https://keybase.io/minebarteksa) on keybase.
  • I have a public key ASANYBwPGPZl5A8zlVWSvo_Nf_REwoVFUl0EWpQc_N9pEwo

To claim this, I am signing this object: