This could be related to GitHub rate limits being reached. Specify your GitHub API token to avoid it.
For example by the following command:
composer config --global github-oauth.github.com <TOKEN>
or inside your composer.json file:
#GNU systems | |
export $(grep -v '^#' .env | xargs -d '\n') | |
# BSD systems | |
export $(grep -v '^#' .env | xargs -0) | |
#link | |
https://stackoverflow.com/questions/19331497/set-environment-variables-from-file-of-key-value-pairs |
<?php | |
opcache_reset(); |
TMPDIR=/private$TMPDIR localstack start --docker |
# create function | |
# without environment variables | |
awslocal --endpoint-url=http://localhost:4574 lambda create-function --function-name=f1 --runtime=python3.6 --role=r1 --handler=coupon.handler --zip-file fileb://deployment_bundle.zip | |
#with environment varibles | |
awslocal --endpoint-url=http://localhost:4574 lambda create-function --function-name=f1 --runtime=python3.6 --role=r1 --handler=coupon.handler --zip-file fileb://deployment_bundle.zip --environment Variables='{HOST=localhost, USERNAME=root, PASSWORD=promoms, DATABASE=promoms, PORT=3306, REDIS_HOST=localhost, REDIS_PORT=6379, APP_NAME=promoms, APP_ENV=dev, PROMOTIONS_COUPONS_CACHE_KEY=promoms:coupons}' | |
# invoke function | |
awslocal lambda --endpoint-url=http://localhost:4574 invoke --function-name f1 --payload '{"coupon":"default"}' result.log |
pip freeze -l > requirements.txt |
#!/bin/bash | |
wercker --environment ./wercker/.env.wercker.unittest.sample deploy --pipeline unittest |
async function getVar(env) { | |
for (v in env) { | |
var wait = ms=>new Promise((r,j)=>setTimeout(r, ms)); | |
await wait(500); | |
var event = new Event('input',{ | |
bubbles: true, | |
"cancelable": false | |
}); | |
var click = new Event('click',{ |
var envVar = {}; | |
var tr = Array.from( | |
document.querySelectorAll("table")[0].querySelectorAll('tbody')[0].querySelectorAll('tr')); | |
tr.map((el)=>{ | |
var tmp = []; | |
tmp[el.querySelectorAll('.envvarItem_key')[0].querySelectorAll('input')[0].value] = el.querySelectorAll('td')[1].querySelectorAll('.envvarItem_value')[0].querySelectorAll('.envvarItem_value_container')[0].querySelectorAll('textarea')[0].value; | |
envVar = Object.assign(envVar, tmp); | |
} | |
); | |
find => DEFINER=`(.*?)`@`(.*?)` | |
replaceWith => DEFINER=`root`@`localhost` |