Skip to content

Instantly share code, notes, and snippets.

View andriilive's full-sized avatar

Andrii Iv. (@digitalandyeu) andriilive

View GitHub Profile
@andriilive
andriilive / deploy_staging.yaml
Last active October 4, 2022 00:25
Build WP roots/bedrock with roots/sage theme & Deploy via SSH
# https://gist.github.com/andriilive/3bf959ce12e758715bd96e5e77df99eb
name: Staging | Build & Deploy WP (Bedrock & WP-CLI)
on:
push:
branches: [ envs/staging ]
pull_request:
branches: [ envs/staging ]
jobs:
@andriilive
andriilive / README.md
Created October 13, 2022 01:24
Brew quicklook casks
brew install qlcolorcode qlstephen qlmarkdown quicklook-json qlimagesize suspicious-package apparency quicklookase qlvideo
@andriilive
andriilive / .gitpod.Dockerfile
Created October 17, 2022 10:15
GitPod WP Minimal
FROM gitpod/workspace-full
# Install composer deps
RUN brew install php@8.0 wp-cli && brew unlink php && brew link php@8.0 # sudo install-packages adminer
@andriilive
andriilive / readme.md
Last active October 20, 2022 21:45
mariadb 10.8.3 root user set password
# mariadb: stable 10.8.3 (bottled)

ALTER USER 'root'@'localhost' IDENTIFIED BY 'root';
flush privileges;
exit;
@andriilive
andriilive / README.md
Last active July 10, 2023 14:27
WebToLayers app Trial Reset (macOs).

WebToLayers App Trial Reset (MacOs)

Last Check: May 2023 on 1.3.2 (6034) build

CleanShot 2023-07-10 at 16 21 34@2x

WebToLayers Trial Reset (Script) ☠️

@andriilive
andriilive / REAMDE.md
Last active August 28, 2023 18:07
SpotDL & Apple Music Sync

SpotDL & Apple Music Sync

Prepare Music App

Disable copy files

CleanShot 2023-07-25 at 23 55 56@2x

Enable Wifi / Auto Sync

@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
@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