Stuck at “.android/repositories.cfg could not be loaded.”
Create the file! try: mkdir -p .android && touch ~/.android/repositories.cfg
Create the file! try: mkdir -p .android && touch ~/.android/repositories.cfg
There is no my.cnf by default. As such, MySQL starts with all of the default settings. If you want to create your own my.cnf to override any defaults, place it at /etc/my.cnf. Also, you can run mysql –help and look through it for the conf locations listed. Default options are read from the following files … Read more
You can kill the previous mongod instance and start the new one. To kill the previous mongod instance, first search for a list of tasks running on your machine by typing, sudo lsof -iTCP -sTCP:LISTEN -n -P Search for mongod COMMAND and its PID and type, sudo kill <mongo_command_pid> Now start your mongod instance by … Read more
try this brew services restart <[email protected]>
This error occurs because OSX implements a pid access policy which requires a digital signature for binaries to access other processes pids. To enable gdb access to other processes, we must first code sign the binary. This signature depends on a particular certificate, which the user must create and register with the system. To create … Read more
The .bashrc file is in your home directory. So from command line do: cd ls -a This will show all the hidden files in your home directory. “cd” will get you home and ls -a will “list all”. In general when you see ~/ the tilda slash refers to your home directory. So ~/.bashrc is … Read more
Running brew reinstall python@2 didn’t work for my existing Python 2.7 virtual environments. Inside them there were still ERROR:root:code for hash sha1 was not found errors. I encountered this problem after I ran brew upgrade openssl. And here’s the fix: $ ls /usr/local/Cellar/openssl …which shows 1.0.2t According to the existing version, run: $ brew switch … Read more
If you recently upgraded postgres to latest version, you can run the below command to upgrade your postgres data directory retaining all data: brew postgresql-upgrade-database The above command is taken from the output of brew info postgres Note: this won’t work for upgrading from 14 to 15 as of recent testing.
It looks like the latest versions of Homebrew now support the HOMEBREW_CC and HOMEBREW_CXX environment variables. So now you can do the following: $ HOMEBREW_CC=gcc-4.2 HOMEBREW_CXX=g++-4.2 brew install ice
Here is my installation script: brew install [email protected] brew link –force [email protected] brew services start [email protected] export PATH=”/usr/local/opt/[email protected]/bin:$PATH” export PATH=”/usr/local/opt/[email protected]/sbin:$PATH” Now my output would be as: $ php -v PHP 7.2.25 (cli) (built: Nov 22 2019 10:27:28) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies with … Read more