This file contains hidden or 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
const script = document.createElement('script'); | |
script.src = "https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"; | |
script.onload = () => { | |
$ = jQuery.noConflict(); | |
// can't map since there isn't a list, so just push as we find more. | |
const imageList = []; | |
// while there is a next button |
This file contains hidden or 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
COMPOSER_MEMORY_LIMIT=-1 composer require beyondcode/laravel-websockets <<< y |
This file contains hidden or 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
if [[ -z "$CLOUDSQL_SERVICE_ACCOUNT" ]]; then | |
echo "Must provide CLOUDSQL_SERVICE_ACCOUNT secret." 1>&2 | |
sleep 5 | |
exit 1 | |
fi | |
if [[ -z "$CLOUDSQL_PORT" ]]; then | |
echo "Must provide CLOUDSQL_PORT secret." 1>&2 | |
sleep 5 | |
exit 1 | |
fi |
This file contains hidden or 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
if [[ -z "$CLOUDSQL_SERVICE_ACCOUNT" ]]; then | |
echo "Must provide CLOUDSQL_SERVICE_ACCOUNT secret." 1>&2 | |
exit 1 | |
fi | |
mkdir gcloud | |
cd gcloud | |
curl https://sdk.cloud.google.com > install.sh | |
bash install.sh --disable-prompts > /dev/null 2>&1 | |
source /root/google-cloud-sdk/completion.bash.inc | |
source /root/google-cloud-sdk/path.bash.inc |
This file contains hidden or 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
ssh-keygen -t rsa -N "" -f ~/.ssh/id_rsa <<< y > /dev/null 2>&1 | |
apt-get update > /dev/null 2>&1 | |
apt-get install -y tmate > /dev/null 2>&1 | |
apt-get install -y locales-all | |
cd /local | |
tmate -S /tmp/tmate.sock new-session -d | |
tmate -S /tmp/tmate.sock wait tmate-ready | |
echo " " | |
echo "======================================================================" | |
echo "You can get a shell to the Reploy instance through the web link or SSH" |
This file contains hidden or 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
HI SAHIL |