Organize the Gear

2016-10-01-13-54-36-2
I’ve been wanting to shoot more, but tracking down all my gear has become a major obstacle.

My gear has been stored in several camera bags for years now, only being pulled out when needed. But this way of organizing has really impeded many impromptu shoots. Using some cheap spice racks, found at IKEA and painted white, I was able to relocate the bulk of my shooting equipment to a wall in my office, no longer out of sight and ready to go at any moment!

I would love to see how you organize your camera gear!

Animated Hamburger Icon

I was getting sick of trying to find an animated menu icon that was easily scalable. So I made this single element, em based, animated, hamburger menu icon to be easily used across my web projects. Change the font size to see it grow and shrink uniformly. I hope you can find some use for it as well!

http://codepen.io/philhoyt/pen/pbxzav

Adding a ‘Client’ User Role to WordPress

In an effort to make a better boilerplate my co-worker Jim Floss and I set out to create a new User Role inside our WordPress client sites. This role closely resembles the Editor role and Admin role, but allows us to turn different functionality on a per-client basis if need be, but by default locks them out of many things such as updates and plugins. I didn’t see much information on cloning a role and removing functionality online so I figured I would put it up here! Enjoy.

/**
* Adds a 'Client' user role
* https://codex.wordpress.org/Roles_and_Capabilities
*/

add_action(‘init’, ‘add_client_role’);

function add_client_role() {
global $wp_roles;
if ( ! isset( $wp_roles ) )
$wp_roles = new WP_Roles();

$adm = $wp_roles->get_role(‘administrator’);
//Adding a ‘new_role’ with all admin caps
$wp_roles->add_role(‘client’, ‘Client’, $adm->capabilities);
}

add_action(‘init’, ‘revoke_client_capabilities’, 10);

function revoke_client_capabilities() {
$caps_to_remove = array(
‘update_core’,
‘activate_plugins’,
‘install_plugins’,
‘update_plugin’,
‘edit_plugins’,
‘edit_themes’,
‘export’,
‘import’,
‘create_users’,
‘manage_options’,
‘switch_themes’ // etc
);
$custom_role = get_role(‘client’); // Edit according to your role as it was declared when added
foreach($caps_to_remove as $cap) {
$custom_role->remove_cap($cap);
}
}

Global Game Jam 2015

Another year, another Global Game Jam. This marks my third year of participating in the 48 hour game development challenge. With a team of close friends, we worked tirelessly from Friday night to Sunday afternoon to complete our submission. Like previous years, we choose to make our game web technology based, to leverage our teams with specific talents. This year we had a heavy focus of Javascript to handle every game mechanics and CSS3 to handle game animations. I would like to personally thank Matt Valentine a new comer to the game jam world for spearheading much of the combat systems, Long time team member and jammer Justin Demetroff for handling the laborious task of developing and rigging many game systems and mechanics, Matt Barnes for coming up with the amazing idea’s, plot points, music, and writing, and Heather (I can’t spell your last name from memory) for every illustration and visual game design that BLEW MY FREAKING MIND.

If you would like to play our game please visit: TPK [TotalPartyKill]

[justified_image_grid preset=3 [email protected] flickr_photoset=72157650073946237 flickr_caching=10080]