Tag Archives: Windows

How to get Netflix to run in VirtualBox on Ubuntu 12.04 without freezing!

First, do this.

So, my latest project has been to get Netflix! Well, I moved to Ubuntu a few weeks ago and alas Netflix has no Linux client. WTF!?

Well, I thought to myself, as I always do, “I should be able to get it running in a Virtual Machine!” And, once I got it up on Windowz XP, it loaded, then froze..and then again…and again.

So, after some Googling I found this solution. I tried it, and it worked for awhile, but then it froze…again. It basically has you set your DNS servers to Google’s (on the VM).

OpenDNS

I use OpenDNS, not Google. So, I thought that maybe I should give OpenDNS a try and changed my VM’s DNS to OpenDNS’s.

Now, I don’t know if this works because my host machine is with OpenDNS and my VM is on OpenDNS too, but it’s working right now.

Other Notes: Using Chrome on the VM, 3D hardware acceleration on the host, VM has 3 GB RAM and super-dooper tweaks I can’t remember. 

Can’t access Google Drive Folder Offline but can Online on Windows 7? [Fix]

Okay, so I have most of my files in a nice folder called Google Drive. Yep, all of em! I like the idea that my local copy will work just like any old folder and a copy of all my stuff will end up online as a backup. Yeah, I mostly like it as a backup, but I do use Google Docs alot, and it’s awesome that I can share loads of data with other Google users.

Well, today I go into one of my folders and, after a little syncing, I couldn’t access it. It basically gave one of those error messages like you see when you try and access a share when your offline. I wasn’t offline. So what the heck Google! Now, I could login online and access this folder, and (thankfully) it only had Google Doc stuff that Google Docs could handle.

Excuse my lazy hi-lighter job, but yeah, this was the folder acting up. I could access it online! So, I was able to work on the documents there anyways. So, after my meeting (yeah), I set out to fix it…. here’s what I did….

If you look, all I did was rename my folder (using Cygwin) with additional __ (underscores) at the end. I have no clue why this worked, but after I refreshed my Windows folder view…

Once I double-clicked it, it worked! If you are running into this, and trying to figure out if renaming the folder (has to be from Cygwin, Windows won’t let you) will kill your files….didn’t for me.

But, the really weird thing, so far, has been that, on Google Drive, the folder is still the same:

Go figure. As long as Google doesn’t delete my stuff, Google Drive has been awesome so far!

Diving into Vim/gVim on Windows; How I customized Vim to edit HTML, CSS, Javascript and PHP w/ ZenCoding, SnipMate, Surround and DelimiMate

Different Flavors of Vim

I have released my gVim configuration as an installable application for windows, check it out: Aubrey’s gVim

It all started with an annoyance with Notepad++, the CTRL+Y (Redo) key was not working and a NetTuts screencast. About two months ago I complained about VIM, yet I still have an itch to use it.  I spent all day yesterday trying to get Vim going, and today I find myself frustrated again. Vim is very customizable, something I really like. But, that customization should ‘just work,’ hell I can’t even get a plugin installed correctly!

I installed a few different forks of Vim (called Cream) and a few vimrc/plugin combinations. But, I have currently reverted to base install gVim/Vim for Windows and started fresh. I will share my finding below.

[adsense metakey=”adsense-1″]
  • This video helped me figure out plugins and how Vim uses folders and files. I used this video as a guide to install (and understand) pathogen and install ZenCoding.
  • I copied the content (extracted on my desktop) of Zencoding.zip to the bundle folder. This should automatically load your plugin since I installed pathogen.
  • Loaded gVim and typed div
  • ZenCoding gave me hell, real hell, because I couldn’t figure out how to expand the abbreviations. But, after a little digging around, I found out <c-y> means type: CTRL+Y then a comma (,). I have a feeling Vim explanations like this are going to cause me not to use Vim. It worked though.
  • I opted to install more plugins, starting with snipMate.
  • I started installing most of the plugins mentioned in this post, or in this post under the ‘Most of the bundles are git submodules facilitating easy updating and configuration’ section. Note, I did not opt to use the Ultimate Vim config, just the plugin suggestions he was giving.
    • The first was the colors. Once I installed it into the bundle folder, I could use (in gVim) the command “:color bluegreen”. For a list of the color schemes, I found this.
      • I had to edit my c:Program FilesVim_vimrc file and added “color bluegreen”.
      • Note: there is a menu, but it does not save the theme you are using as permanent.
    • Then I got to tcomment, and discovered (once I followed the install directions, not putting it in my bundle folder) that it seems to have installed in C:Program FilesVimvimfilesbundleColorSamplerPackautoload, which is kind of weird.
    • I installed HTML AutoCloseTag, but not with the bundle way, that did not work. I followed the install directions (putting it in C:Program FilesVimvimfilesftplugin) and it worked. I typed <body> and it would </body> and put my cursor in the middle.
      • I added au FileType xhtml,xml,php so c:/Program Files/Vim/vimfiles/ftplugin/html_autoclosetag.vim to my _vimrc file to make it work in PHP files also, because often I an doing PHP/HTML coding in a single PHP file.
    • At this point I was starting to feel comfortable with Vim plugins (finally!)
    • I installed delimitMate, which gives you auto completion of ",',[,{,( etc. I used the bundle method for that and downloaded the zip file; I did not use Git.
    • At this point, I was happy with the plugins I had.
  • Now I wanted to start customizing my _vimrc file. I found this post, which gave me a good look at the things I could customize.
    • At this point I was actually editing my _vimrc file using gVim.
    • I noticed CTRL+V worked for paste! Although I did want to use Vim, I did not want to ignore my normal keys. CTRL+C,V,X, etc and the arrows.
    • Here is what I pasted into my _vimrc file:
      set autoindent
      set smartindent
      set tabstop=4
      set shiftwidth=4
      set showmatch
      set guioptions-=T
      set vb t_vb=
      set ruler
      set incsearch
      set virtualedit=all
    • Again, I had to do a :w! to write the file in Vim since it was in C:Program FilesVim.
    • I found this _vimrc file which had a lot of custom things I wanted. I added these to my _vimrc file. I did not overwrite my _vimrc file, just took what I wanted out of it.
      set number
      set guifont=Consolas:h10.5
      "set guioptions+=b "show horizontal scroll bar
      set ttyfast
      set ignorecase
      set list
      set listchars=tab:>-,trail:-
      set showmode
    • Then I noticed all the ~backup files that were getting created, annoying! I added set backupdir=c:temp to my _vimrc file and they were all stored in c:temp. I like the idea of having a backup, just not in the folder I am working in.

And now to see how it goes. I am going to create a separate post for this, but I am going to ZIP up my Vim folder and offer it as a start-off solution. I am probably going to use Vim/gVim for a couple days to edit HTML, CSS, Javascript and PHP and see if it works well first.

What? I can’t download your browser unless I what? Can’t Download Internet Explorer 9 Without Upgrade

Internet Explorer: Cannot download unless I upgrade? (Image from windows.microsoft.com)

(Image from windows.microsoft.com)

I am not sure why I ended up seeing this, but let me tell you my story (it may actually have to do with actually using a Microsoft product).

On occasion I get a friend’s computer; they have a virus, I know how to fix that. Well, one of the main problems was that they were using Internet Explorer 7 with a kazillion toolbars and who knows what else. So, I opted to update their browser…to what you say? Internet Explorer! I thought to myself, “They’ve really done a good job with Internet Explorer 9. Now is finally the time I am okay with installing Internet Explorer as a default browser on a Windows machine.”

But, I guess Microsoft and the Internet Explorer folks still are up to their, “We’ll do it our way, thanks” ways. I downloaded Firefox.