Skip to main content


Showing posts from April, 2013

Making Google Calendar a responsive embed with Mobile support

Google Calendar is amazing, but the embed code is pretty old.  They haven't updated it in many years. Since everything is Mobile First today, I needed a way to display better on cell phones. The following code does the following: Define a Responsive Cal types so that it uses 100% of the frame Define a DeskContent and a PhoneContent sizes (with a width of 768 being the switch point)  Wrap all of it in the Responsive Call Div so it all resizes automatically Display the Month view of the calendar if it's a desktop resolution Display the Agenda view of the calendar if it's a mobile resolution I've formatted this so that it can be placed inline in your HTML file. The first Embed should be your calendar code set to the Month view. The second Embed should be your calendar code set to the Agenda view.

Dilbert on Firewalls

On of the tasks I routinely do at work involves firewalls.  Create configurations for them, Administer them, design deployment strategies for them. Scott Adams posted  this , this week. It neatly summarizes the sentiment the guy deploying the firewall has.

Creating a Self Signed Certificate for NPS for testing

Recently I had need to create a test RADIUS server, using NPS (Network Policy Server).  In order to create PEAP policies, you need a certificate issued to the NPS server. The correct way to put a certificate on the server is to Issue a real certificate to the NPS server from a real register such as Verisign, or Entrust. You can also issue a certificate from your own CA authority. Neither of these options are quick or easy. What if you just need a certificate to see if something works. Here's how to do that. First download from Microsoft the IIS 6.0 Resource kit tools . Included in this tool kit is SelfSSL.  A tool created by Microsoft to issue and install a self-signed SSL certificate. Launch SelfSSL from Start >Programs > IIS Resources > SelfSSL > SelfSSL (Note: You must run SelfSSL elevated as an Administrator) Type in the following command to generate a new certificate of key length 1024 with a validity period of 10 years (3652 days): selfssl.exe /N