Skip to content

Instantly share code, notes, and snippets.

View andriilive's full-sized avatar

Andrii Iv. (@digitalandyeu) andriilive

View GitHub Profile
@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
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
@andriilive
andriilive / README.md
Last active December 29, 2023 08:07
Translation management

Translation management systems 🌐

Dev-friendly free translations management systems list

CleanShot 2023-12-29 at 03 50 07

Tolgee is a localization platform that allows you to translate your application into any language without modifying your code. It is designed to be used with web applications, but it can be used also with mobile apps and desktop applications.

@andriilive
andriilive / README.md
Last active April 24, 2024 12:30
Raspberry Pi 4 🍓Homebridge | Docker | NVM

Raspberry Pi 4 🍓Homebridge | Docker | NVM

Clean installation on Raspberry Pi OS Lite (64-bit)

⚠️ Setup Example do not use on real projects

@andriilive
andriilive / readme.scss
Last active October 11, 2023 09:08
PHPSCSS
:root {
--text-color:#000;
--border-color:#ccc;
}
.element_1, .element_2 {
.vars-enabled & {
color:var(--text-color);
}
@andriilive
andriilive / .editorconfig
Created September 30, 2023 09:07
WebStorm .editorconfig for NextJS
root = true
[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true
@andriilive
andriilive / Countries.sh
Created September 8, 2023 19:36
Countries GEO
# Get the ISO 3166-1 alpha-2 codes for the countries
countries=(IT FR CZ DE GB US VN CN AE IN UZ)
# Loop through the countries
for country in "${countries[@]}"
do
# Get the URL for the JSON data
url="https://api.worldbank.org/v2/country/$country?format=json"
# Download the JSON data to a file