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”
Depending on your simple_form settings it will most likely generate wrapper for all of your inputs. For example, if you’re using Bootstrap, then simple_form will add a div around your inputs that have a class of form-group. Sometimes you need to add a class to this wrapper and not directly to the input element. You can do that by using the wrapper_html argument when creating your simple_form input. Continue reading “How to add a class to an input wrapper with simple_form”