Skip to content

Instantly share code, notes, and snippets.

View andriilive's full-sized avatar
🎯
Focusing

Andrii Iv. (@digitalandyeu) andriilive

🎯
Focusing
View GitHub Profile
@andriilive
andriilive / .bashrc
Last active September 6, 2024 02:55
BASH CONFIG
# ~/.bashrc: executed by bash(1) for non-login shells, see /usr/share/doc/bash/examples/startup-files
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# LOADS COMMON BASH ENV
[ -s "$HOME/.bashrc/0_common.sh" ] && \. "$HOME/.bashrc/0_common.sh"
# LOADS ENVIORMENT VARS IF PRESENTED
if [ -f "$HOME/.env" ]; then
@andriilive
andriilive / digitalocean-invoces.sh
Created August 21, 2024 03:47
Digitalocean CLI Download Invoices
counter=1
for invoice_id in $(doctl invoice list --format="Invoice UUID" --no-header); do
doctl invoice csv $invoice_id "${counter}__${invoice_id}.csv"
counter=$((counter + 1))
done
@andriilive
andriilive / REAMDE.md
Last active August 15, 2024 20:46
Renamer 7 MacOs app trial reset

Renamer 7 OSX app trial reset

CleanShot 2024-08-15 at 21 25 26

com.incrediblebee.Renamer trial reset (tested up to 7.0.19)

Script

Execute the bellow script in your terminal

@andriilive
andriilive / README.md
Last active August 15, 2024 17:22
JS Utils

JS Utils

imgVcard.cjs - inline image for vCard avatar

@andriilive
andriilive / pkg_sign.sh
Created August 11, 2024 14:47
Utilities
npm pkg set author="Andrii Iv. <hi@digitalandy.eu> (@digitalandyeu)"
@andriilive
andriilive / README.md
Last active April 14, 2024 20:57
NVM

Homebrew

Install brew

# Create iCloud folder alias in user home
cd ~ && ln -s "$HOME/Library/Mobile Documents/com~apple~CloudDocs" iCloud

# Brew install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
@andriilive
andriilive / README.md
Last active March 22, 2024 03:50
readme-md.sh

readme-md.sh

Files tree generation for README.md

mkdir -p docs/README
touch docs/README/start.md
touch docs/README/tree.md
touch docs/README/end.md
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@andriilive
andriilive / say.sh
Last active February 3, 2024 18:20
MacOS Say Experiment
curl -fsSL https://gist.githubusercontent.com/andriilive/bacfba7b8630e09864c20c6bf1a3c3ea/raw/b085e989d86d28bec571c555779a8634f238f42a/song.txt | say -v Lesya