BSA 728x90 Center Banner

Win a vSphere Home Lab from VMTurbo!

Do you need a home lab or just want to add on to your existing? Of course you do. Who the heck doesn't. So what's up for grabs?

  • Intel NUC with Intel Core i5-4250U
  • G.SKILL Ripjaws Series 16GB (2x8G) 204-Pin DDR3 Memory
  • SAMSUNG 840 EVO 250GB SATA III TLC Internal Solid State Drive
  • Synology DS415+ Diskless System DiskStation 4-Bay NAS
  • 2x Dell 1TB 7200 RPM SATA 3.0Gb/s 3.5" Hard Drive
  • Cisco SG300-10 10-port Gigabit Managed Switch
  • Rosewill 7ft. Cat 6 Network Cable


How do you enter? Simple. VMTurbo is giving away a home lab to 3 lucky winners who sign up for their 5.1 release webinar!




Add a comment
Read more: Win a vSphere Home Lab from VMTurbo!

Encrypting Data Using attr_encrypted With Rails

I'm making a new application that will be public facing but I don't want any clear text being stored on the server for any user at anytime. This way, there will be no compromising of data. In this case, username and password credentials. This isn't an application where a user will login with their creds, if that were the case I would have used Devise. Instead, I'm taking these username and password credentials and piping them in to the application to talk to an outside service.


The first part of obscurity was making the Rails model create new entries based on UUID instead of sequential numbers. That was pretty easy by following this tutorial How to start using UUID in ActiveRecord with PostgreSQL. The second part was implementing the attr_encrypted gem. attr_encrypted allows you to store data in encrypted format to your ActiveRecord database. In this case, i'm using Postgres. 


The README is a start but doesn't get you all the way there. So here is how it's done.


Start off by creating a new scaffold. You must specify encrypted_ before anything you want encrypted in the model

rails g scaffold Model encrypted_user:string encrypted_password:string host:string


Add a comment
Read more: Encrypting Data Using attr_encrypted With Rails

How to Fix ScreenFlow Internal Error When Recording Computer Audio

Yesterday, I wanted to record a few minutes out of an embedded HTML5 video but didn't want to cut and edit the video. So I figured I would just use ScreenFlow to capture it. Before I was able to record computer audio, I had to install the ScreenFlow Audio Driver. I followed the proper steps, and when I went to record computer audio I was hit with the error: "Recording Error Due to an internal error, the recording has unexpectedly terminated. Please try making your recording again, and if problems persist, contact us for technical support."


After a quick google search showing me a few youtube videos and Telestream forum posts, including 4.5.2 Wont Update Audio Driver, none of them worked. By the way, don't follow 4.5.2 Wont Update Audio Driver thread and repair disk permissions unless you want to waste your time.


After reading how to uninstall the ScreenFlow Audio Driver did I finally understand how to reverse engineer it. Follow these steps:


Add a comment
Read more: How to Fix ScreenFlow Internal Error When Recording Computer Audio

2014 into 2015 with Virtualization, Containers, and Code

You asked for it John, so here it is!


In the realm of virtualization, 2014 was a major buzzkill. It's a big indicator of things on the horizon for 2015. From my look back in VCE, I saw a rise in VDI deployments because SSD is cheaper and getting to be commonplace. Lots of talk about network virtualization, but I've seen marginal "real-world use". I really thought a network virtualization provider such as Plumgrid, VMware NSX, Cumulous, or someone else would be leading the charge, but it looks like the technology still needs more time to mature. Give it a few more years. And for me personally, virtualization has lost my mindshare. Some of my VMware certifications have officially expired and the world doesn't need me as a VCDX.

Add a comment
Read more: 2014 into 2015 with Virtualization, Containers, and Code

Implement a list item tagging system using jQuery

2 weeks ago I completed a new feature on EMC Code's github page. We have a bunch of different projects that need to fit in different buckets but can sometimes span more than one bucket. Or projects in two different buckets use a common technology. To make it easier for our users to find things relevant to them, I created a tagging functionality. 



First create a div that will have nothing in it. I've assigned this with a class if "hiddenUL". This is where we will use jQuery to append the list items with specific tags.


Next, create an unordered list of items that will need a common class. In this case, the class is "item_box" because every item is in the shape of a box. Next, we give each list item a set of classes. Don't pay too much attention to everything *inside* the list item. All of that is there for the styling of it. These classes, however, are going to be our means of tagging. Make sure spelling and capitalization are all correct. It's also important to note that we can have multiple sets of unordered lists. 


Lastly, create some buttons. You will need a button for every type of keyword or class you defined in the previous step. Also, create a 'clear tag' button that will be used to clear the tags.

Add a comment
Read more: Implement a list item tagging system using jQuery

Creating a worker process on Cloud Foundry with Clockwork

I just got finished writing a Rails application that requires a 'cron'-like job to run every 30 seconds. This job will scrape a website for data every 30 seconds and update the database and notify me via SMS about any changes. I was able to get this all working on Heroku after a while with the assistance of some Procfiles. but I wanted to try this on Cloud Foundry as well.


The problem existed because of lots of out-of-date documentation on the part of Cloud Foundry. The most confusing part was not understanding this requires 2 containers/applications. One for the app, and another for running the clockwork task. In Heroku, this requires 2 Dynos as well because 1 is for 'web' and the other is for 'clock', however, this is all masked behind Heroku's magic.


So how do you create a worker process? I was going back and forth creating rake tasks, then tried putting logic into my controller, and having everything ultimately fail. After some trial and error, I found out the best & easiest way is to put all the logic into the Modal. Once the logic is in your modal, you can easily call it by doing Modal.method.


Second, add the clockwork gem to your Gemfile, then create the file "lib/clock.rb". Follow the gist below to configure your clock.rb file. Specify the Modal.method that you wish to call.


Great! now we just need to build our manifest.yml file for Cloud Foundry. The important thing to remember is that we are essentially going to spin up 2 applications. The first container will be the web front-end of our rails app, and the second container is just the clockwork reoccurring job. If your reoccurring process will need to make changes to the database (which it most certainly will) make sure you append the correct services. In this case, both of my containers will be using the same database.

Add a comment
Read more: Creating a worker process on Cloud Foundry with Clockwork

Phonegap Cordova Geolocation Integration with Google Maps Javascript API v3

I'm venturing into a new world of hybrid mobile development to test the waters and I have a new project I'm currently starting. I can't divulge the specifics yet, but the very first part is to get Google Maps working. I had a harder time doing this than I thought.


At first I tried using the recently released phonegap-googlemaps-plugin and got it semi-successfully working. I had it working in both iOS and Android but then came to find out that you can't use the Places API to find POIs on the map. That won't work so I reverted to using the old Javascript API to show in 'browser' mode instead of the native SDK. I came across  Implement Google Maps API on PhoneGap Using the Device API and struggled for 2 days on trying to figure out exactly why it wasn't working. It was a combination of type, outdatedness, failure to copy/paste, and missing CSS variables. I'm going to recreate it to make "spoonfed" useful.


You can see this entire project at or look at this Gist for the entire code: Phonegap Cordova Geolocation with Google Maps Javascript API v3


Add a comment
Read more: Phonegap Cordova Geolocation Integration with Google Maps Javascript API v3

A Move Into "Full Stack IT"

Last week I published a blog post detailing my shift into code and development. One very important thing I purposely left out was “What am I going to do with it?”. 


For the past 7ish years, I’ve been dealing with infrastructure and operations. Things got complacent so I wanted to learn some new skills on the other side of IT, programming and software development. To be clear, I don’t plan on becoming a full-time developer because that would essentially mean starting my career over from scratch. Instead, I want to do what I call “Full Stack IT”. I can configure networks, build virtual farms, deal with storage, do that thing called “cloud”, script, and hack code with varying front-end & back-end languages. My code is “good enough” to get the job done. :)


If you’re thinking I plan on creating my own software startup and selling it to Google for $200 million… well, maybe one day.


Next week I’m beginning a new role with EMC as a Developer Advocate. I’m very excited to be joining a new team with the likes of Clint Kitson, Jonas Rosland, and Brian Gracely. Our team is tasked with a few different goals in mind. 

Add a comment
Read more: A Move Into "Full Stack IT"

Where has my focus been the past few months?

I'm sure everyone has probably noticed a steady decrease in the amount of blog posts I put out. If you pay attention to twitter, you might have seen a shift in my focus.


VMware has been good, but there comes a time when you need to pump the brakes. I've reached a point where I don't care about the intricate details of all the vSphere products and trying to be an expert in them. If there is one thing that VCE has taught me, it's that converged and hyper-converged infrastructure is removing the need to be in expert in the core product set. There will come a time when you realize knowing storage pathing policies or trying to understand the DRS algorithm is pointless. And with EVO:Rail coming to market (and once it becomes fully baked) you won't need to know how to administer the environment what-so-ever, negating the need for many of those VCP skills. Argue with me all you want, but the goal is abstraction from vSphere for many product sets.


I turned my focus to IaaS offerings with vCloud Director then vCloud Automation Center and UCS Director to bring everything up to a higher order of control. This is what I talk about in my every day job. But I still look at IaaS like, "there has got to be more".


I started learning Ruby back in September of 2013 and have since released a few different Rails applications including JumpSquares.netMonsterRemote, and Simple World Cup Stats. I've also started diving into more languages recently and I'll get to that later. So what led me to this point?


Add a comment
Read more: Where has my focus been the past few months?

Page 3 of 32

Related Items

Related Tags