Categories
React

react foundation 6

Add these guys into your js component files to get the functionality of foundation:


import 'foundation-sites/dist/css/foundation.min.css'
import 'foundation-sites/dist/css/foundation-prototype.min.css'

// in the component itself,  use:
componentDidMount() {
$(document).foundation();
}
Categories
Wordpress

WordPress update password

WordPress password updates can be creating an md5sum formatted string.  I used http://www.miraclesalad.com/webtools/md5.php

 

I used the command line of mysql to login to the wordpress database and searched for the id of the password I needed:

select * from wp_users;

then, updated the password to the new password:

update wp_users set user_pass = “<md5sum-asfasfasfasfasfasf” where id = 12

back to work.

 

 

Source:

https://codex.wordpress.org/Resetting_Your_Password

Categories
Node

node configuration errors

If your node configuration is hosed, it is best to perform the following steps:

  1. delete package-lock.json
  2. delete node-modules
  3. check package.json for any errant packages and remove
  4. npm install

Source:

https://github.com/facebook/create-react-app/issues/4076