Monday, 26 June 2017

Android mediaserver process killing battery life


If this happens to you, then do the following

  1. Force stop on Settings, Applications, All, Media Storage.
  2. Clear Cache and Clear Data, for the Media Storage application
  3. Unmount SD card
  4. Take out your sd card and put it in computer
  5. Find the LOST.DIR folder and delete it from the card
  6. Put the card back into the phone
  7. Reboot the phone
Got this from here...

Solution 1. Clear media storage data

The simplest solution is to clear media storage database and let it restart the process from scratch. Chances are this will fix most of the issues with Mediascanner/Mediaserver. Do the following, and it should help ease-out the pain:
Settings > applications > Media Storage > clear data, force stop and reboot.



Read more: http://geeknizer.com/fix-android-media-server-scanner-sdcard-cpu-battery-drain/#ixzz4lIDijXJ7



Friday, 2 June 2017

Visual Studio Work Item Images broken

The case of the missing image…

image

Turns out this was due to my old windows credentials being cached on the tfs server credentials cache.

To fix this, I logged onto the tfs server directly via my admin account and updated the credentials there in the windows credentials manager.

Also ran fiddler in the background and cleared the winnet cache as well

Then it refresh a few times on the work item ticket back in visual studio, and hey presto they are all showing again.

Friday, 19 May 2017

Megaflow draining instructions

If your megaflow overflow (d2) pipe starts leaking water then this is what you do…

image

Scanning Tesco receipts via Canon MG5751

  1. Use Canon IJ Scan Utility (start, scan, top result)
  2. Choose Document, with settings 300dpi and png, filename tesco
    image
  3. Scan each page individually
  4. Then use irfanview to combine the images into one tif file, (options, create multi page tiff, compression ccitt fax 4)
    image
    image
  5. Upload that as single receipt option to shop and scan

Tuesday, 28 March 2017

Thursday, 23 February 2017

DELL 968 Printer problem–Cartridge slams against printer wall

Fix was as simple as removing the cartridges, then turing off the printer at the plug socket on the wall, then squeezing the drive belt and computer cables that connects to the cartridge compartment, with my finger and thumb a few times.

Many thanks to the forums for posting this fix here, has saved me the cost of a new printer …

http://en.community.dell.com/support-forums/desktop/f/3514/t/6603745

Wednesday, 15 February 2017

Resharper shorcut cheat sheet

Quite by chance today I stumbled across a new way to learn Resharper shortcuts.

In visual studio, when editing a file, tap the ctrl key three times in quick succession. This brings up the cheat sheet

clip_image002

Then hold down the Ctrl key, Shift Key, or Alt Key when the dialog is open, and you'll see what short cuts are applicable to the development pane that you're in

clip_image002[4]

Thursday, 12 January 2017

Macros alternative for VS 2013 /2015

Finally an alternative to

https://vlasovstudio.com/visual-commander/professional_edition.html

which lets you record as well…

https://visualstudiogallery.msdn.microsoft.com/d3fbf133-e51b-41a2-b86f-9560a96ff62b/view/Discussions/3

image

Find action constants for dte.Find listed here…

https://msdn.microsoft.com/en-us/library/aa301226(v=vs.71).aspx

e.g.

 

dte.ExecuteCommand("Edit.Find");
dte.Find.FindWhat = "DROP CONSTRAINT";
dte.Find.Target = 1; //vsFindTarget.vsFindTargetCurrentDocument;
dte.Find.MatchCase = false;
dte.Find.MatchWholeWord = false;
dte.Find.Backwards = false;
dte.Find.MatchInHiddenText = false;
dte.Find.PatternSyntax = 0; // vsFindPatternSyntax.vsFindPatternSyntaxLiteral;
dte.Find.Action = 1; //vsFindAction.vsFindActionFind

Wednesday, 4 January 2017

Edit.SelectToLastGoBack in Visual Studio

 

image

Very handy shortcut for this Ctrl + = in visual studio. Basically selects all the text between the last two navigation points you were looking at in a text file.

Android mediaserver process killing battery life

If this happens to you, then do the following Force stop on Settings, Applications, All, Media Storage. Clear Cache and Clear Data, fo...