project: kizlyarsk username: amroll
sudo vi /etc/ssh/sshd_config
- change
PasswordAuthentication
fromno
toyes
- save and exit
- restart ssh
sudo systemctl restart ssh
myArray = await Promise.all( | |
myArray.map(async item => { | |
return await axios.get('https://url) | |
}) | |
) |
Organisation ID | Organisation Name | Postcode | Industry | |
---|---|---|---|---|
111 | Organisation A | SW2 4DL | School | |
123 | Organisation B | S2 5PS | School | |
234 | Organisation C | EC2 3AD | School |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
[2020-02-28] Server configuration for Laravel 7: | |
================================ | |
## Open SSH for non root-users | |
- `sudo vi /etc/ssh/sshd_config` | |
- change `PasswordAuthentication` from `no` to `yes` | |
- save and exit | |
- restart ssh `sudo systemctl restart ssh` | |
## Create super-user |
/** | |
* Check if required module exists physically | |
* | |
* Checking if a requested filename is existing physically | |
* without having to load it before for performance purpose. | |
* This check should be made before requiring the script. | |
* | |
* @param {*} filename Name of the file to check for | |
*/ | |
moduleExists (filename) { |
"scripts": { | |
"post-root-package-install": [ | |
"php -r \"file_exists('.env') || copy('.env.example', '.env');\"", | |
"php -r \"file_exists('database/database.sqlite') || fopen('database/database.sqlite', 'w');\"" | |
], | |
"post-create-project-cmd": [ | |
"php artisan key:generate" | |
], | |
"post-install-cmd": [ |
{ | |
"scripts": { | |
"tdd": "cross-env NODE_ENV=testing node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js" | |
}, | |
"devDependencies": { | |
"cross-env": "^3.2.3", | |
"laravel-mix": "0.*" | |
}, | |
"dependencies": { | |
} |
// Media Queries Mixins | |
@xs: ~'max-width: @{screen-xs-max}'; | |
// @media(@xs){} | |
@smmin: ~'min-width: @{screen-sm-min}'; | |
// @media(@smmin) and (@smmax){} | |
@smmax: ~'max-width: @{screen-sm-max}'; | |
// @media(@smmin){} | |
@mdmin: ~'min-width: @{screen-md-min}'; | |
// @media(@mdmin) and (@mdmax){} |