Great Link: CDN for Angular, Bootstrap, etc.

I was looking for a CDN to use with Bootstrap and Angular, and I found a great resource.  CDNjs.com ended up doing the trick.  I also learned that you can discover many great Javascript libraries and projects by going through the offerings of different CDNs.  So, with that being said, here is a list of the CDNs that  I discovered:

Just to give you an idea of what I ended up with, here’s part of the <head> of my project.  I used the head javascript library for most of the javascript:

<head>
	<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css" rel="stylesheet">
	<link href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/3.0.2/css/font-awesome.min.css" rel="stylesheet">
	
	<script src="//cdnjs.cloudflare.com/ajax/libs/headjs/0.99/head.min.js"></script>
	<link type="text/css" href="css/devtools.css" rel="stylesheet" />	
	
	<script>
		head.js(
			//  https://groups.google.com/forum/?fromgroups=#!topic/ace-discuss/rNckG17-7ac
			//  http://stackoverflow.com/questions/5733275/chrome-uncaught-syntax-error-unexpected-token-illegal
			"//d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js",
			"//cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min.js", 
			"//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/js/bootstrap.min.js", 
			"//cdnjs.cloudflare.com/ajax/libs/angular.js/1.1.1/angular.min.js",
			"js/app.js",
			function() {
				/* My initialization ... */
			}
		);
	</script>

If you know of a CDN that I missed, please comment below!

Resources

Google Voice Voicemail Rings

I have really enjoyed using the Google Voice option for voicemail on my cell phone.  The cool part is that it sends me an email with the voicemail message.  The message is attached in sound form and it also makes an attempt to do voice recognition.  The one disadvantage is that it rings way too many times.  Some people give up on leaving a message because it rings so many times.  Well, thanks to Evan Wondrasek, I found a fix!

Here’s the original article:

Techorator: How to Prevent Extra Rings using Google Voice as Voicemail

Read More

Troubleshooting: Playing DRM Videos from Amazon

This is the second time this has happened.  I keep getting:

Sorry we were unable to stream this video.  This is likely because your flash player could not be updated.

I had just reinstalled my media laptop with Linux Lite OS (a flavor of Ubuntu), and I was trying to watch a video from Amazon.  It was one of the Prime Instant Videos.

To fix the issue, I followed McDougall’s instructions.  Basically, it was just installing the “hal” package and deleting the .adobe and .macromedia settings directories:

sudo apt-get install hal
rm -r ~/.adobe ~/.macromedia

Finally, I rebooted and retried.  It all worked fine after that.

Resources

Fixing Super Tux Kart

Super Tux Kart is a fun game that my son and I have gotten into.  It has recently improved quite a lot, and we have enjoyed playing it.

But, just recently, I found that it crashes a lot.  It’s not predicable, it will either freeze the X display or it will just close in the middle of a race.

So, I decided to do a quick Google search to see if there was a solution out.  I can’t find the article now, but something suggested that maybe it was a bug that was already fixed.  I found I had version 0.7, and version 0.8 was available.

On the download page, it suggested a repository.  So, I installed this repository:

sudo add-apt-repository http://ppa.launchpad.net/stk/dev/ubuntu

To get it to install, I ran the regular apt-get update…

sudo apt-get update
sudo apt-get upgrade

After that, I had the 0.8 version.  In addition, the crashes seem to have gone away, so far.

Fixing NAT for Virtual Box on Ubuntu

For some reason, NAT quit working for me in Virtual Box.  Everything works fine, but the machines won’t connect to the Internet unless I change them to bind to a particular adapter.  The problem is that I use different adapters based on my location.  At the office, I have a docking station and the network goes through the USB connector.  At home, I use wireless.  So, when I bind, I have to remember to change the adapter for it to work.  If I use NAT, it doesn’t matter.

So, here’s how I found I could fix NAT to work again.

Read More

Serverless Download

I have a little time-tracking tool that I have been using to track my billable time.  The program stores everything in the local storage within the browser.  The challenge comes when I want to export or backup the information stored in the browser.  I don’t want to force the user to send the data to my website just so it can turn around and download it back to the user’s hard drive.

Here’s the solution that I came up with:

Read More

Building an Eclipse Plug-in Project Wizard

I found this really great article at Hidden Clause called Writing an Eclipse Plug-in (Part 2): Creating a custom project in Eclipse – Adding to the New Project Wizard.  My only problem with it is that I am using a newer version of Eclipse, and I really needed screenshots to understand what it was talking about.  So, here’s my experience at walking through that tutorial…

Read More