Blog
Author Archive
How to Mimic Simulate the
Creating Custom Post Types, with Multiple Text Fields in a Single Meta Box and Template Info, in WordPress
Posted on October 31, 2015 in PHP, WordPress by Matt Jennings
Below are WordPress and PHP code samples on how to:
Create custom post types using a plugin.
Create multiple text fields (using …
How to View a Website on Mac Using Localhost and BrowserStack.com
Posted on October 22, 2015 in BrowserStack.com, Mac by Matt Jennings
Steps to view a website on localhost (like localhost:8888) using BrowserStack.com on a Mac:
Use Active Record to Create a Row on a Table that Has Foreign Keys
Posted on August 14, 2015 in Rails by Matt Jennings
Assume that the following tables in the same Active Record database:
users – -> blogs (one user can have many blogs) …
Using JavaScript Push Common Numbers from Two Arrays into a Third Array
Posted on July 31, 2015 in Algorithms, JavaScript by Matt Jennings
function commonIdsFromTwoArrays(arr1, arr2) {
// Array to push common IDs into
var commonIdsArr = [];
…