SyntaxHighlighter

Monday 22 August 2011

Asus EEE Pad Transformer Quick Review 2

Following on from my original Asus EEE Pad Transformer quick review, I thought I would write another quick one. I hadn't long had the tablet when I did the first one and I have now had it for a sensible amount of time and have used it for what I had planned.

I had planned to use it not only as a browser for home use (for which it is superb), but also as a tool for when I need to work remotely.

My biggest gripe when I first got it was the lag when typing with the keyboard docked and using the browser. Typing with the keyboard in all other applications is fine. It's fine with Polaris Office and it has an excellent response time. I installed Dolphin Browser which is far superior and the gesture action is pretty useful too. The lag wasn't anywhere near as bad and the general usability of the browser (when using the blogger blogging interface for example) was much better. There is still lag, but I put that down to the speed at which the device/browser can process JavaScript. As typing into in non-JS based box is fine and there is no lag.

I also installed a different movie player. The pre-installed one will only play certain types of files - which for the most part is nether use nor ornament! I am currently using MoboPlayer.

The battery lasts really well. With it's current use it lasts around a week. It is left on stand-by all the time. It gets used one day a week for a working day - not constantly, but a reasonable amount and is used adhoc in the evenings for email checking, twitter, etc.

The reality is, that I still really can't pick fault with it. I will be away on Holiday for two weeks soon, so that will be a real good test of it's usability and battery life. Especially as we are likely to get through a 13 episode season of something or other...

Monday 15 August 2011

How to Export Scheduled Tasks on Windows Server 2003

If you need to export your scheduled tasks from Windows, like I have just needed to, use this from the command prompt:

schtasks /query /FO CSV /V >sched_tasks.csv

This will output to a comma-delimited file with all the tasks in it to the current folder called sched_tasks.csv.

The "SendUsing" Configuration Value is Invalid

I recently moved a VBScript script from one server to another. The new server did not have an SMTP server on it. When I ran the script (which emailed) I got a The "SendUsing" Configuration Value is Invalid error. Having already spent sometime recently using VBScript to email via Gmail, it was an easy fix for me. I specified the server and port and off it went!

Dim objMessage

Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "MY_SUBJECT"
objMessage.From = "FROM_ADDRESS_SAME_AS_USER_NAME"
objMessage.To = "TO_ADDRESS"
objMessage.TextBody = "MY_MESSAGE"

objMessage.Configuration.Fields.Item( _
"http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
objMessage.Configuration.Fields.Item( _
"http://schemas.microsoft.com/cdo/configuration/smtpserver") = "IP_OR_NAME_OF_SERVER"
objMessage.Configuration.Fields.Item( _
"http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
objMessage.Configuration.Fields.Update

out = objMessage.Send
Set objMessage = Nothing

Thursday 11 August 2011

CSS Colour Chart


Not being a designer type chappy I often find it hard to work out what colours to use and then what their colour code is. While I was on my Internet travels the other day I found this little gem with a whole load of colour codes on it: http://www.somacon.com/p142.php


While you're at it ColorPic is another sweet little tool, to grab colour that yuu can see on screen.


Tuesday 9 August 2011

woff 404 Font Not Found

I noticed recently that a site I work on that uses a woff font was getting a 404 not found error in Chrome. It was also giving a Resource interpreted as Font but transferred with MIME type application/octet-stream. I spent ages hunting around the forums and found no solution to it.


The fact that I was getting a 404 was the oddest thing and made me think that IIS wasn't serving the font correctly (it was being used by the browser none the less). So I went about checking to see what .woff MIME type was set in IIS. The local computer had no MIME Type handling for .woff so I added it (Right-click > Properties > MIME Types... Extension: .woff and Type: application/x-font-woff). That didn't fix it :(

I right-clicked the Default Web Site > Properties > HTTP Headers > MIME Types... and added the new extension there also (Extension: .woff and Type: application/x-font-woff). Reloaded the page and the warning and error had gone - happy days!

Update...
Thanks to the comment below added by RyanonRails, here is an example web.config (http://pastie.org/4081017):
<system.webServer>
    <httpErrors errorMode="Detailed" />
    <staticContent>
      <mimeMap fileExtension=".coffee" mimeType="coffeescript" />
      <mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
    </staticContent>
  </system.webServer>
</configuration>

Monday 1 August 2011

How to Share Files on Blogspot / Blogger

I keep needing to find a way of sharing files through Blogspot / Blogger that isn't costly and is dead easy - well I think I've found it - boxify.me. This is a great service, that requires no registration, is free and there is no quota - superb!

All you literally need to do is is click the "Start sharing for free" button and hey presto you're off! By default you get given a crazy link to use, but you can click the "rename" link at the top and choose something more suitable (http://boxify.me/box/techygypo).

So here's a link to my first file: http://uploads.boxify.me/7831/techygypo.png

And here's the file in question


Thank you boxify.me - stunning work!

Labels

.net (7) ajax (1) android (7) apache (1) asp.net (3) asus (2) blogger (2) blogspot (3) c# (16) compact framework (2) cron (1) css (1) data (1) data recovery (2) dns (1) eclipse (1) encryption (1) excel (1) font (1) ftp (1) gmail (5) google (4) gopro (1) html (1) iis (3) internet explorer IE (1) iphone (1) javascript (3) kinect (1) linux (1) macro (1) mail (9) mercurial (1) microsoft (3) microsoft office (3) monitoring (1) mootools (1) ms access (1) mssql (13) mysql (2) open source (1) openvpn (1) pear (2) permissions (1) php (12) plesk (4) proxy (1) qr codes (1) rant (4) reflection (3) regex (1) replication (1) reporting services (5) security (2) signalr (1) sql (11) sqlce (1) sqlexpress (1) ssis (1) ssl (1) stuff (1) svn (2) syntax (1) tablet (2) telnet (3) tools (1) twitter (1) unix (3) vb script (3) vb.net (9) vba (1) visual studio (2) vpc (2) vpn (1) windows (4) woff (1) xbox 360 (1)