Wednesday, December 14, 2011

Generic USB Driver Windows 7

If you are having issues with finding a driver for a USB Drive, here's a trick.

Go to C:\Windows\System32\DriverStore\FileRepository\usbstor.inf_

and get the latest directory, copy the contents to 


Reinsert your USB stick, it should detect it now and install it.

Monday, October 31, 2011

dotless Configuration Options

Unless my googling is failing me, I can't find any documentation on the dotless configuration for Web.Config, so I've gone through the code, I think I understand the different options
  • minifyCss
    • true or false
    • Minifies the CSS output
  • cache
    • true or false
    • Caches the CSS after being created
  • web
    • true or false
    • if true, this uses http specifc options,  must be set when using on the web,  Response.Cache, Request.QueryString for parameters, Server.MapPath for mapping, puts the Log Messages in the Response
    • if false, uses in memory cache, uses console logger,  uses paramaters from the console, 
  • log
    • info, debug, warn, error, default
  • optimization
      • 0-n
      • Optimizes the output...
  • source
    • How dotless reads the files of interface IFileReader, its the type usually FileReader but can be VirtualFileReader which uses HostingEnvironment.VirtualPathProvider
  • logger
    • Can be set but then gets overidden by the "web" boolean, there are AspNetTraceLogger (HttpContext.Trace.Write), aspResponseLogger (Response.Write as Css), ConsoleLogger (Console.Write), DiagnosticsLogger (Debug.WriteLine) and NullLogger (Swallows).

  <dotless minifyCss="false" cache="false" web="true" log="debug"
           logger="dotless.Core.Loggers.AspNetTraceLogger" />

Thursday, September 29, 2011

Greasemonkey Script to Remove Facebook in Facebook plus more

Here's a simple script to remove the right hand column on Facebook, which has Facebook-in-Facebook, adverts and crap, also Greasemonkey is easy.

// ==UserScript==
// @name           Remove Facebook Right Column
// @namespace
// @description    Remove all the pointeless stuff in the right column, the ad's, the facebook-in-facebook, and duplicated events
// @include        http://**
// @include        https://**
// ==/UserScript==

var rightColumn = document.getElementById('rightCol');

if(rightColumn) {

Download the script or copy and save it as rightCol.user.js and drag and drop it in to Chrome and/or Firefox (if you have Greasemonkey enabled) go to Facebook. Rejoice.

Friday, July 08, 2011

Duke Nukem Forever Stutter work-a-round

When playing the game on my PC, it was stuttering like hell, thought it was to-do with not being optimized, since I have a dual screen, I ran task manager in the other monitor. This showed Steam.exe was using 30% of my CPU regardless.

The work-a-round I propose till its fixed will mean no Achievements whilst playing, so its up to you!

Right click Duke Nukem Forever, turn off "Enable Steam Community In Game"

Run the game

Alt-Tab out of the game

Set Steam.exe affinity to one core and set its priority to low via Task Manager.

Kill GameOverLayUI.exe if its running

Play the game and if its still stuttering set DukeNukemForever.exe to the other affinity.

Tuesday, May 24, 2011

Getting Hexxeh's Chromium Builds Network working

If you're trying to get ChromiumOS working on Virtual box, you'll need these network settings.
It took me a while, since its the last in the list!!

Bridge Adapter

Adapter Type: Paravirtualized Network (virtio-net)

Should give you Ethernet in the login screen now?

Its a bit slow for me though....

Friday, January 07, 2011

Sys is undefined error

Having tried every single way of fixing this error, I came across and two part fix.

Add that to your Web.Config


Disable and Renable,

Use HTTP 1.1
Use HTTP 1.1 through proxy connections

In your Internet Explorer Options.