$ ssh-keygen -t rsa -b 2048 -C "<comment>"
$ cat ~/.ssh/id_rsa.pub
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: |
brew install qlcolorcode qlstephen qlmarkdown quicklook-json qlimagesize suspicious-package apparency quicklookase qlvideo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
# mariadb: stable 10.8.3 (bottled)
ALTER USER 'root'@'localhost' IDENTIFIED BY 'root';
flush privileges;
exit;
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root = true | |
[*] | |
charset = utf-8 | |
end_of_line = lf | |
indent_style = space | |
indent_size = 2 | |
insert_final_newline = true | |
trim_trailing_whitespace = true |
OlderNewer