If you’re unable to load vagrant using vagrant up and the system is hanging on the message
default: SSH auth method: private key you may need to reset the operating system that VirtualBox believes it is loading.
VirtualBox has been known to reset the setting from 64bit to 32bit during updates or configuration changes. This causes the box to not load properly whether you are using vagrant or not.
- Open VirtualBox and select your box and click Configurations
- Select the General tab
- Change the version to whatever it was before. It most likely will need to be changed from 32bit to the 64bit version.
Switch from bash to ZSH. I personally like using Oh My Zsh, which is a framework for managing themes, plugins and other good stuff related to ZSH.
Switch from the default terminal prompt to Pure, which cleans up how the terminal looks as you use it. It removes some noise from the prompt and keeps things organized.
Add the snazzy theme to your terminal which adds some nice colors.
Use Droid Sans Mono as the default terminal font.
Add ZSH Syntax Highlighting to Oh My Zsh. It helps with hinting terminal commands along with some extra interactivity with the command prompt.
Turn on vim syntax highlighting.
// from the terminal create or open your vim configuration file
// add the following to it
Typically you can use “localhost” in the reCAPTCHA settings if you want to test your app locally, but if you’re using vagrant to manage your local servers this won’t work.
You won’t be able to use “localhost” or your custom hostname, such as “myapp.dev” that’s hard coded into your host file for local development with reCAPTCHA if you’re using vagrant.
You’re going to need to use the IP address you assigned to the vagrant box when you created it. You can either view the config file related to the vagrant box or you can echo out $_SERVER[‘REMOTE_ADDR’] from your PHP app. That will give you the IP address that you can enter into the reCAPTCHA settings page next to your production URL.
WooCommerce doesn’t have a built-in way to display order totals for product variations like size and color. This means you need to go through each order and total them manually for products that have variations, such as size. Continue reading “Displaying WooCommerce Product Variation Order Totals”
This quick tutorial will guide you through getting started with an ASP.NET MVC app that you can run on Windows, Mac or Linux. Continue reading “How to Setup a C# ASP.NET MVC Core App on Any OS”
There is no simple function that you can use to rotate objects within the HTML5 Canvas. To implement rotation you need to rotate the entire canvas context and draw your object on the rotated context and then rotate the entire thing that back to it’s normal state. While you’re doing that, you also need to update the coordinate space of the canvas context. Continue reading “HTML5 Canvas Object Rotation”
This tutorial will teach you how to integrate AngularJS with Ruby on Rails using Bower. Continue reading “Integrating AngularJS With Ruby on Rails 4”
When using AngularJS to iterate over and display a collection with Bootstrap columns you might notice that the columns don’t stack nicely unless they all have the same content height. If the content heights differ, then you’ll have some of them nested in strange places. Continue reading “Even Row Heights for Columns With Bootstrap and AngularJS”
Some notes from reading about working with Laravel. Continue reading “Quick PHP Laravel 5 Setup & Notes”