- Don't be a troll
- Be respectful of others
- Do not harass others
- Do not share personal information of others to people outside the community
- All content must be "safe for work"
This file contains 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
#### Example SSH config file | |
# Host = a list of domains, IPs and personalized aliases that use this config | |
# entry. These alias names follow "Host" and are space delimited. | |
# e.g. Host 192.168.1.1 example.com example1 myalias1 | |
# Hostname = the IP or real hostname | |
# e.g. Hostname 192.168.1.1 | |
# User = the username | |
# e.g. User jdoe | |
# Port = if this is a non standard port, i.e. not 22 |
This file contains 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
heroku config | sed 's/: */=/g; /^=/d' >> .env |
I have some data that I have in a config file or array that I need to make sure all of that data is in laravel.
This is how I accomplish it using firstOfCreate()
. In my problem I had a config file with arrays of roles, data types, and permissions, and the latter needed to be merged but it should not create it if it already exists.
- https://stackoverflow.com/questions/50971524/laravel-5-6-intl-tel-input-compatibility-issue-with-app-js
- https://github.com/jackocnr/intl-tel-input
- https://github.com/googlei18n/libphonenumber
- https://laravel-phone.herokuapp.com/
- https://github.com/propaganistas/laravel-phone
- https://github.com/Propaganistas/Laravel-Intl
$ cd myproject
$ git remote add bitbucket ssh://[email protected]/user/myproject.git
$ git push bitbucket master
Every time we commit any changes, we need to push to both our original “origin” and our new remote “bitbucket”:
Note that you will not see the encoded email address in the inspector but it will display as encoded in the source code, view source will display it appropriately.
Related tutorial: https://code64.de/visionerdy/wordpress-backups/