- Homebrew should be installed (Command line tools for Xcode are included).
- Install
nvmvia Homebrew
nvm via Homebrew###Sketch trial non stop
Open hosts files:
$ open /private/etc/hosts
Edit the file adding:
127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
C:\data
C:\data\db
| .env settings | |
| ---------------------------------------------- | |
| MAIL_DRIVER=mail | |
| MAIL_HOST=localhost | |
| MAIL_PORT=25 | |
| MAIL_USERNAME= | |
| MAIL_PASSWORD= | |
| MAIL_ENCRYPTION=null | |
| Other info |
The iTunes API doesn't provide a way to grab artist images, but the iTunes website uses Open Graph meta tags, which embeds a meta tag with a property attribute value set to og:image. As it turns out, this seems to be the same image used in the iTunes artwork.
The URL structure is similar to the artworkUrl values returned by the API, but what concerns us here is the part I've indicated at the end of the URL.
http://is3.mzstatic.com/image/thumb/Music7/v4/68/68/41/68684190-833b-bfb4-5018-e5a2e6f69eb0/source/1200x630bf.jpg
鈹斺攢 widthxheight
| # Backup | |
| docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
| # Restore | |
| cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
| Using a library as Laravel-Date you will just need to set the language of the app in the Laravel app config file and use its functions to format the date as you want. | |
| Set the language in /app/config/app.php | |
| ... | |
| 'locale' => 'es', | |
| ... | |
| I've found this library pretty useful and clean. To use it, you can write something like the example in the library readme file. I leave the results in spanish. | |
| ... | |
| echo Date::now()->format('l j F Y H:i:s'); // domingo 28 abril 2013 21:58:16 | |
| echo Date::parse('-1 day')->diffForHumans(); // 1 d铆a atr谩s |
| ul li:nth-last-child(2) { | |
| ... | |
| } |