Start new Laravel Sail project with devcontainers.
curl -s "https://laravel.build/your-project-name?with=mariadb&devcontainer" | bash
Available services include:
mysql
pgsql
mariadb
default: | |
paths: | |
features: 'features' | |
extensions: | |
Behat\MinkExtension\Extension: | |
goutte: ~ | |
selenium2: ~ | |
base_url: https://production.server/ | |
Drupal\DrupalExtension\Extension: | |
blackbox: ~ |
# general | |
alias aws.whoami='aws iam get-user --query User.Arn --output text' | |
alias az.whoami='az ad signed-in-user show --query userPrincipalName --output tsv' | |
# In ~/.aws/credencials|config leave [default] profile empty and name it each one of it so `aws-env -l` can list all of them | |
# aws.profile # show current profile | |
# aws.profile profile-name # set profile name | |
# Double tab completion works | |
aws.profile () | |
{ |
Start new Laravel Sail project with devcontainers.
curl -s "https://laravel.build/your-project-name?with=mariadb&devcontainer" | bash
Available services include:
mysql
pgsql
mariadb
"workbench.colorCustomizations": { | |
"tree.indentGuidesStroke": "#ff9d00", | |
"tab.activeBorder": "#ff9d00", | |
}, |
<?php | |
define('INDENT', ' '); | |
// Radio list | |
$radiostations = [ | |
'trojka' => 'mms://stream.polskieradio.pl/program3_wma10', | |
'dwojka' => 'mms://stream.polskieradio.pl/program2_wma10', | |
'jedynka' => 'mms://stream.polskieradio.pl/program1_wma10', | |
'luz' => 'http://radioluz.pwr.wroc.pl/listen.pls', |
### Keybase proof | |
I hereby claim: | |
* I am sobi3ch on github. | |
* I am sobi3ch (https://keybase.io/sobi3ch) on keybase. | |
* I have a public key ASAhA2_kzEkJY2jOIygH631Vou_-pCkm9GCzUTeK-gRSkgo | |
To claim this, I am signing this object: |
I hereby claim:
To claim this, I am signing this object:
aws.setup-credencials () | |
{ | |
FILE=$HOME/accessKeys.csv; | |
if test -f "$FILE"; then | |
echo "Reading from $FILE"; | |
aws configure set aws_access_key_id $(tail -n1 $HOME/accessKeys.csv | cut -d, -f1); | |
aws configure set aws_secret_access_key $(tail -n1 $HOME/accessKeys.csv | cut -d, -f2); | |
else | |
echo "Missing $FILE"; | |
fi |
{ | |
"variables": { | |
"aws_access_key": "", | |
"aws_secret_key": "" | |
}, | |
"builders": [{ | |
"type": "amazon-ebs", | |
"access_key": "{{user `aws_access_key`}}", | |
"secret_key": "{{user `aws_secret_key`}}", | |
"region": "eu-north-1", |
Label: Comments | |
Machine name: comment | |
Descritpion: This field manages configuration and presentation of comments on an entity. | |
Provider: comment | |
--- | |
Label: Date | |
Machine name: datetime | |
Descritpion: Create and store date values. | |
Provider: datetime | |
--- |