mocha-steps, mocha
if mocha-steps fail to work in unit/integration tests, make sure `--require mocha-steps` is the value in "Extra Mocha options:" section.
Fix MySQL Error: 1346
If you’re looking to fix MySQL Error: 1346, try these steps.
1) Locate and open my.ini file, if you’re on Windows use Notepadd++, or if you’re on Mac try TextWrangler.
2) search for “sql-mode”
3) make sure its not set to strict*
Create and delete windows service
Below is how you would create and delete windows service thru the terminal, hope this helps.
Open up terminal and type the following to remove a service.
WordPress woocommerce fix for billing and shipping blank page issue
If you’ve ever ran across the white screen of death using the woocommerce front end billing and shipping editing pages, well i hope this article will come in handy.
Below are a few steps that should help you fix the woocommerce billing and shipping blank page after saving.
1) Copy the “form-edit-address.php” file over to your themes /woocommerce/myaccount directory within your theme.
2) Once you’ve done this add an id to the form, this really can be any naming convention you want. So for this tutorial we’ll call it “edit-address”.
3) After this we’re going to add some jquery to your footer.php page.
Continue reading “WordPress woocommerce fix for billing and shipping blank page issue”
WordPress localhost and server config settings
Here’s a quick way to work with your specified config file locally and on your server. In the case of working locally, you might have some different creds than your server settings.
Continue reading “WordPress localhost and server config settings”
Identify last document in MongoDB using find()
Here is a quick snippet to find the last document in MongoDB.
Continue reading “Identify last document in MongoDB using find()”
How to fix xampp mysql not starting issue
So for a day I couldn’t figure out how to get mysql to run while I was connected to the internet, or while other programs were running. It was boggling my mind, but some how came across changing the port numbers and fixed it.
Continue reading “How to fix xampp mysql not starting issue”
.NET MapRoute not working.
Remember when your are using a MapRoute that you have the correct naming convention that is being used in your message, if you’re using a message, if not, then make sure the arguments being passed are the same naming as in the route otherwise the redirection won’t work. Continue reading “.NET MapRoute not working.”
Strip Version From WordPress Scripts
Here is a link to the plugin that will strip “ver=” from the end of WordPress scripts. If you’re looking for a way to remove “ver=3.7.1” from the end of your WordPress scripts & stylesheets, this will do the trick. Continue reading “Strip Version From WordPress Scripts”
Yelp API Call
This, like the Instagram API calls, it was a bit tricky to figure out at first, but again, with some digging figured out how to use the Yelp API. Here I will show you how to make a simple call to get data through a company. For this example I will be showing the restaurant “Notorious Burgers” who was a recent client of mine. Continue reading “Yelp API Call”