create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
NB;
192.168.3.XX doesn't have to be an IP you own.| # ------------------------------------------------ | |
| # Config files are located in /etc/wireguard/wg0 | |
| # ------------------------------------------------ | |
| # ---------- Server Config ---------- | |
| [Interface] | |
| Address = 10.10.0.1/24 # IPV4 CIDR | |
| Address = fd86:ea04:1111::1/64 # IPV6 CIDR | |
| PostUp = iptables -A FORWARD -i wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE; ip6tables -A FORWARD -i wg0 -j ACCEPT; ip6tables -t nat -A POSTROUTING -o eth0 -j MASQUERADE # Add forwarding when VPN is started | |
| PostDown = iptables -D FORWARD -i wg0 -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE; ip6tables -D FORWARD -i wg0 -j ACCEPT; ip6tables -t nat -D POSTROUTING -o eth0 -j MASQUERADE # Remove forwarding when VPN is shutdown |
If you want to mirror a repository in another location, including getting updates from the original, you can clone a mirror and periodically push the changes.
Open Git Bash.
Create a bare mirrored clone of the repository.
$ git clone --mirror https://github.com/EXAMPLE-USER/REPOSITORY-TO-MIRROR.git Set the push location to your mirror.
$ cd REPOSITORY-TO-MIRROR
| import randomString from "./randomString"; | |
| import Sleep from "./Sleep"; | |
| interface IRetryHelperOptions { | |
| retries?: number; | |
| retryIntervalMs?: number; | |
| backoffIteration?: number; | |
| trialID?: string | undefined; | |
| exponentialBackoff?: boolean; | |
| logs?: boolean; |
Issue:
When encountering the following errors:
Warning: file_get_contents(/var/root/.valet/config.json): failed to open stream: Permission denied in /Users/Username/.composer/vendor/laravel/valet/server.php on line 23
Warning: Invalid argument supplied for foreach() in /Users/Username/.composer/vendor/laravel/valet/server.php on line 47
404 - Not Found
| export PATH="$PATH:$HOME/.composer/vendor/bin" |
| """ | |
| Usage Guidelines and Command Line Arguments: | |
| This script generates images using OpenAI's DALL-E model based on a given prompt. | |
| To use this script, provide the model version (dall-e-2 or dall-e-3), the prompt for the image, | |
| and optionally the size, quality, number of images, and a flag to download the images. | |
| 1. model: The version of DALL-E model to use. | |
| - Possible values: 'dall-e-2', 'dall-e-3' | |
| - Example: --model dall-e-2 |
| git log --pretty=format:"- %s" dd5baf97...HEAD > changelog.txt | |
| git log --since="2023-03-01" --pretty=format:"- %s%n%b%n" > changelog.txt | |
| git log --since="2024-03-01" --date=short --pretty=format:"%ad%n- %s%n%b%n" > changelog.txt | |
| git log --since="2024-03-01" --date=short --pretty=format:"---%ad%n- %s%b" | awk '/^-/{if (NR>1) print ""; print; next} 1' > changelog.txt | |