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
<?php | |
$sugar_config_si = array( | |
'setup_db_host_name' => 'localhost', | |
'setup_db_sugarsales_user' => 'sugarcrm', | |
'setup_db_sugarsales_password' => 'DB_USER_PASSWORD', | |
'setup_db_database_name' => 'sugarcrm', | |
'setup_db_type' => 'mysql', | |
'setup_db_pop_demo_data' => false, |
<?php | |
$sugar_config_si = array( | |
'setup_db_host_name' => 'localhost', | |
'setup_db_sugarsales_user' => 'sugarcrm', | |
'setup_db_sugarsales_password' => 'DB_USER_PASSWORD', | |
'setup_db_database_name' => 'sugarcrm', | |
'setup_db_type' => 'mysql', | |
'setup_db_pop_demo_data' => false, |
cd ~ | |
sudo yum update | |
sudo yum install java-1.7.0-openjdk.i686 -y | |
wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.9.tar.gz -O elasticsearch.tar.gz | |
tar -xf elasticsearch.tar.gz | |
rm elasticsearch.tar.gz | |
mv elasticsearch-* elasticsearch | |
sudo mv elasticsearch /usr/local/share |
// iMacro CheatSheet - Command Reference | |
// http://wiki.imacros.net/Command_Reference | |
// iMacros supports 3 types of variables: | |
// * The macro variables !VAR0 thru !VAR9. They can be used with the SET and ADD command inside a macro. | |
// * Built-in variables. They contain certain values set by iMacros. | |
// * User-defined variables. They are defined in-macro using the SET command. | |
# 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 | |
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
I liked the way Grokking the coding interview organized problems into learnable patterns. However, the course is expensive and the majority of the time the problems are copy-pasted from leetcode. As the explanations on leetcode are usually just as good, the course really boils down to being a glorified curated list of leetcode problems.
So below I made a list of leetcode problems that are as close to grokking problems as possible.