Wednesday, August 18, 2010

How to fix an exFAT drive being write protected

Recently I connected an external Verbatim RAID HD to another Vista computer, while copying files to it the USB connection was broken and re-established (without touching anything).
After the drive again had mounted the drive I was coying files to was write protected! Huh?

Solution: run "chkdsk /F"

"Error 0x80071AC3: The operation could not be completed because the volume is dirty"
This is the message I got from Windows backup as I tried it to see if it would give any other message than "Write protected".
So the drive got "dirty" after the abrupted disconnection and running checkdisk on it to fix any errors will remove the "dirt".

At first I ran  "chkdsk /R" but that did not work so I ended up running "chkdsk i: /F /R /X" but it would probably be sufficient with only /F as is also worked for this guy "McoreD".

The checkdisk output: (fixes the problem even it states that there was no problem ;-) 
C:\Windows\system32>chkdsk i: /F /R /X
The type of the file system is exFAT.
Volume Serial Number is 80DA-01EE
Windows is verifying files and folders...
Volume label is exFat.
File and folder verification is complete.
Windows is verifying free space...
  2041292 free clusters processed.
Free space verification is complete.
Windows has checked the file system and found no problems.

Tuesday, July 6, 2010

How to add your tweets to your blog

Very simple:

1. Find a way to add html and javascript to your blog.
2. Enter this html:
<ul class="tweets" id="twitter_update_list"></ul>
3. Enter this javascript after the above html
<script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script>
<script type="text/javascript" src="http://twitter.com/statuses/user_timeline/robertlom.json?callback=twitterCallback2&count=4"></script>
4. Configure the two values in red to your twittername and how many of the recent tweets you want to retrieve.

This is how I did it on http://www.roblom.com/

Follow me on twitter here

Tuesday, April 28, 2009

How to enter Edit mode when zero web parts using a GET request?

Finally I bumped into the answer after looking at the url presented after creating a new web part page :-)

Place these querystring arguments on any Web Part page and you enter edit mode:
PageView=Shared&ToolPaneView=2
Example: http://www.domain.com/default.aspx?PageView=Shared&ToolPaneView=2

That's it!

Monday, March 19, 2007

Undestanding AJAX - background reading

Dr. Dobb's selected Yahoo! User Interface Library as the best AJAX Framework to fit their web projects' need. A little week in widgets but top score in download size (22k), maintenance, documentation. (Other were: Dojo, Prototype and Scriptaculous, Direct Web Reporting and finaly Google Web Toolkit.

Why it came, when it came and what technology is used, an article over 3 pages from computerworld.com, AJAX

This one us really good, it talks about how these techniques are used instead of baffling about how great it is and what you can do with it, 6 pages from Computerworld.com, Hands On: Understanding AJAX

A looong 7 page article about an application first made with a hidden frame, then how that old technique is replaced by the A-bbreviation, again Computerworld.com So how do you code an AJAX WWeb page?

If you would like to do it yourself and not use the Microsoft AJAX Extensions in Visual Studio or Express you can go to this 7 page article from Professional Technical Reference, Getting Started with AJAX and the AXMLHttpRequest Object

Additional:
JSON JavaScript Object Notation - If you are in need of as little network load as possible you can send and recieve JSON, the Prototype library can help you. Dev2Dev - An introduction to JSON

ScottGu on JSON Hijacking and How ASP.NET AJAX 1.0 Avoids these Attacks

Milan @aspnetresources.com as written a nice set of one-pager pdf files on various MS Ajax types. Download ASP.NET AJAX PDF Cheat Sheets

Thursday, March 15, 2007

SEO stuff

More will come here, I'm just posting and updating the posts as it it was my notebook :)


  • SEO = Search Engine Optimization :)
  • Search engine indexes takes time to update, 10 days to 3 months.
  • If your pages move and you want your search stats to be kept, output a 301 permanently moved header
How:
- Most importantly! Write better content, with good content your page gets popular.
- Underscore and hyphens in URLs are considered "word breakers" but underscore is given less points with Google. Hello-World is better than Hello_World. Found at Hanselman

Build incoming links:
- Now that I link to usb company, (making cool USB sticks) that site will rank higher, the more "incoming" links a site has the better, it shows it is popular.
- Check out Andy Hagans link building articles, where you will find the 101 ways to bulid link popularity in 2006

Resources:
Google tools for webmasters

:| :) :-) :D :-D :-DDD :-}

A list of funny "tech" stuff :)

2008.09.11 - CSM? This cartoon have made me chuckle for several minutes now, just have to post it: http://www.implementingscrum.com/images/070102-scrumtoon.jpg
Found here: http://www.implementingscrum.com/2007/01/03/csm-training-reality-check/

Top 10 usability bloopers in movies:
http://www.456bereastreet.com/archive/200703/usability_in_the_movies/

Funny slogans to have as or next to your IM nick http://www.im-names.com/ (thanks Sunil)



In lack of a better place to ut these pick-up lines:
- I hope you're just as good looking when I'm sober!

- What has 148 teeth and keeps the incredible Hulk from escaping?
- My fly. (Buksesmekken min)

- You've got 206 bones in your body, want one more?

- I wish you were a door so I could bang you all day long, baby

- Nice legs... what time do they open?

(Worst so far)
- You remind me of a parking ticket, becuase you've got FINE written all over you.

Accessible websites are popular as ever

The mostly used U.S. standard "Section 508"
Checklist: http://www.508spot.com/accessibility/section-508-checklist.html

The W3C standard WAI is split into three priorities
Checklist: http://www.w3.org/TR/WCAG10/full-checklist.html