Most of programs will not accept an email using just @localhost as domain.
So, edit /etc/hosts file to make the domain localhost.com point to your machine, including this content to the file:
127.0.0.1 localhost.com
| class BaseLayout extends StatelessWidget{ | |
| @override | |
| Widget build(BuildContext context){ | |
| return Scaffold( | |
| body: Container( | |
| decoration: BoxDecoration( | |
| image: DecorationImage( | |
| image: AssetImage("assets/images/bulb.jpg"), | |
| fit: BoxFit.cover, | |
| ), |
Most of programs will not accept an email using just @localhost as domain.
So, edit /etc/hosts file to make the domain localhost.com point to your machine, including this content to the file:
127.0.0.1 localhost.com
| printf '\00\00\00' | dd of=sublime_text bs=1 seek=290764 count=3 conv=notrunc | |
| https://www.google.com/search?q=%22EA7E-890007%22 |
| #!/bin/bash | |
| set -o errexit | |
| set -o nounset | |
| set -o pipefail | |
| target="${1:-/opt/sublime_merge/sublime_merge}" | |
| check_sha() { | |
| local sha_valid |
| # 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 | |
| #!/bin/bash | |
| # Sway WM screen + audio recorder | |
| # original author: Aaron D. Fields | |
| # blog post: https://blog.spirotot.com/2017/08/21/a-dirty-hack-to-enable-acceptable-sway-wm-screen-recording/ | |
| # currently error 503 :-( | |
| # | |
| # Updated version: ernierasta | |
| # Repo: https://gist.github.com/ernierasta | |
| # | |
| # Changelog: |
| from odoo import models, fields, api | |
| from json_field import JsonField | |
| class Person(models.Model): | |
| _name = 'example.person' | |
| _description = 'Person with json details' | |
| details = JsonField() # a json object represented as dict / list / python primitives |