Skip to content

Instantly share code, notes, and snippets.

View agjunior's full-sized avatar

Agnaldo Carvalho agjunior

  • Aracaju, Brazil
  • 08:07 (UTC -03:00)
View GitHub Profile
@agjunior
agjunior / remove-node-modules.md
Created May 18, 2019 16:42 — forked from lmcneel/remove-node-modules.md
How to remove node_modules after they have been added to a repo

How to remove node_modules

  1. 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';
@agjunior
agjunior / compile_monero.sh
Created June 30, 2017 01:25 — forked from marcinwol/compile_monero.sh
Ubuntu 14:04: compile CPUMiner/minerd (forked by LucasJones & Wolf) for Monero mining
# 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]>