- Create a .gitignore file in the git repository if it does not contain one
touch .gitignore
2. Open up the .gitignore and add the following line to the file
node_modules 3. Remove the node_modules folder from the git repository
| <?php | |
| // E-mail de remetente | |
| add_filter( 'wp_mail_from', function($email) { | |
| return '[email protected]'; | |
| }); | |
| // Nome de remetente | |
| add_filter( 'wp_mail_from_name', function($name) { | |
| return 'Your Name'; |
| # get git to install it | |
| sudo apt-get install git | |
| # dependencies | |
| sudo apt-get install build-essential autotools-dev autoconf libcurl3 libcurl4-gnutls-dev | |
| # download latest version | |
| git clone https://github.com/wolf9466/cpuminer-multi | |
| cd cpuminer-multi/ |
| <?php | |
| /* | |
| * In configuration file | |
| * ... | |
| * 'as AccessBehavior' => [ | |
| * 'class' => '\app\components\AccessBehavior' | |
| * ] | |
| * ... | |
| * (c) Artem Voitko <[email protected]> |