Thursday, December 13, 2012

could not load microsoft windows media player firefox plugin in Chrome


I was having this issue.


  1. Check Windows Media Player is installed on your box. Control Panel - Windows Features - Media Features - Windows Media Player.
  2. Install the Firefox Plugin from here http://www.interoperabilitybridges.com/windows-media-player-firefox-plugin-download
  3. Install the Windows Media Player HTML5 Extension for Chrome from here http://www.interoperabilitybridges.com/wmp-extension-for-chrome


Try now

Wednesday, December 12, 2012

Google Play services won't update and can't remote install

I have been having issues for a few months with Google Play and my Nexus One running MIUI. Whenever I went to Google Play Store I'd get the following error.
 But checking the phone showed that I have the latest version, (I even got the apk and installed manually), also I can't remote install any app that I used to. I wiped Google Play, uninstalled updates, also wiped Google Play Services data, still nothing. I had given it up as because I was on a custom rom, but I noticed the other day that my Google Talk app wasn't working, no matter what I did it wouldn't work.

So decided to reinstall the gapps from. Goo.im Downloads This fixed my Google Talk issues and it fixed my Google Play issues, I assume Google sends down messages using Google Talk, which then uses IPC to call Google Play to start off the downloads, or not. Hope this helps someone else.

Monday, December 10, 2012

Least amount of permissions for creating scheduled tasks in Windows 7

I am currently looking at creating Scheduled tasks and I needed to find the permissions needed for creating Schedudled Tasks, usually I would use ProcMon and look for ACCESS_DENIED but it wasn't helping me. Firstly I created a user with zero permissions and ran my tool that would create a Task, it threw an error saying it can't.
runas /user:NoPerms TaskScheduler.exe
I then gave permissions to "%SystemRoot%\Tasks" and it still wouldn't work, after some searching I figured out there is another Tasks folder in "%SystemRoot%\System32\Tasks" That is all that is needed.

Tuesday, November 20, 2012

Disable OpenFeint in Android for Rooted Phones

I really despise OpenFeint integration in any of my games, I noticed on Play store there was an app called CloseFeint which would disable it but the comments aren't great for it.

I therefore looked into it, it is adding a few entries to my hosts file.

127.0.0.1 api.openfeint.com
127.0.0.1 *.openfeint.com
127.0.0.1 *.scoreloop.com

If you know anything about hosts file, you'll know wildcards aren't supported.

So my solution?

Get this amazing ad blocking hosts app.

https://play.google.com/store/apps/details?id=org.adaway

Then if you click Settings/Your Lists you can add your own, so in there add.

openfeint.com
api.openfeint.com
gree.net
api.gree.net
scoreloop.com
api.scoreloop.com

The gree.net stuff is there because gree.net have recently bought OpenFeint and scoreloop seems to be another one.

Once you have added these, you'll have to re-apply the lists, its also good for blocking ad's in games and easy to disable if there are apps that **need** access to OpenFeint in order to work.

Monday, November 12, 2012

failed to load sesison ubuntu

I just came across this issue with upgrading packages in 12.04 before I made the upgrade to 12.10 (since I've been having issues with ATi graphics drivers). On load I couldn't get into my session. What I did was CTRL+ALT+F1 to get to console, logged in and then ran sudo apt-get update && sudo apt-get upgrade This seemed to installed XWindow stuff that was missing that I think was causing my issue.

Tuesday, October 30, 2012

Thursday, September 20, 2012

hg mecurial abort: path is inside nested repo error

Just been having to use Mecurial to get the Orchard source code. I first used TortoiseHg to get the source and then used the Update command to switch to 1.x "branch" but I'd always get this error. abort: path 'src\Orchard.Web\Modules\Orchard.Alias\AdminMenu.cs' is inside nested repo 'src\\Orchard.Web\\Modules\\Orchard.Alias' So after a few attempts, all I did was delete everything apart from the .hg folder and then tried to update, this managed to work. Who knows if this is the "correct" way to fix it.

Tuesday, August 07, 2012

System WindowsFirewall: "query user incoming"

Or just Windows Media Player Network Sharing failing over mixed network on Windows 7, by default if you are on the same subnet it'll work. I had Xbox on 192.168.0.250 and sharing it on to my Wireless network of 192.168.1.x range, so I was getting the above error. I had to go to Windows Firewall in Control Panel, click Advanced Settings, Inbound Rules. "Windows Media Player Network Sharing Service (HTTP-Streaming-In)" This is running on Port 10243 and enable the one for "Public" profile. Then you should be good to go.

Monday, August 06, 2012

Instant Upload continually syncing

I was having an issue with Google+'s feature of Instant Uploading all my pictures, it would never complete so I had to disable it. To fix this, disable Instant Upload in Accounts & Sync settings, go into Programs and find Google+, clear the data of it and then re-enable it. This should fix it.

Thursday, July 26, 2012

Redgate ANTS Performance Profiler - Could not start IIS.

I have had this issue a few times and I always forget how to fix it.

Could not start IIS. RedGate.Profiler.Engine.Exceptions.CannotStartSessionException at  . .Launch() at ? . . ? () Caused by: Could not start IIS. RedGate.Profiler.Engine.Exceptions.CannotStartIisSessionException at  . . () at  . .Launch() Caused by: Could not start w3wp as the specified user. Win32 error code: 1385 RedGate.Profiler.Engine.Exceptions.CannotStartIisSessionException stack trace: at ? . ? .?? () at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext) rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at . .?? () at  . .?? ( ) at  . . () Caused by: Could not start w3wp as the specified user. Win32 error code: 1385 RedGate.Profiler.Engine.Startup.IIS.IISException stack trace: at . .StartProfilingIIS(String , String ) at RedGate.Profiler.Engine.Startup.IIS.IISStarter`1.StartProfilingIIS(String currentUserName, String subprocessVariableValue) at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext) rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at RedGate.Profiler.Engine.Startup.IIISActuator`1.StartProfilingIIS(String currentUserName, String subprocessVariableValue) at ? . ? .?? ()
So I need to run my IIS as a network user in order for it to work through SQL Auth etc, the reason it is failing, is because the user isn't an admin user on my box. So go to Administrator Tools -> Groups -> Administrators and add your network user here, check names and it should work!

Monday, July 16, 2012

Solr 3.5 spatial (geofilt) search with distance in results

Took a bit of tinkering around but here's my query.

LatLong is my field in my document with a "latitude,longitude" in it.

d=30. Distance is KMs.


http://solrserver/select?
indent=true&
fl=Name,LatLong,score&
fq={!geofilt pt=50000,-0.11111 sfield=LatLong d=30}&
sfield=LatLong&
pt= 50000,-0.11111&
sort=score asc&
q={!func}geodist()

This gets you all documents near a point (pt) and returns them with the distance stored in the score field.


Friday, July 13, 2012

Android not picking up MP3's

My Android Phone (Nexus one running MIUI) sometimes doesn't find my MP3's, especially after a ROM update.

I loaded up the MP3 using  http://www.mp3tag.de/en/  and I either update it or just save it, it then seems to fix the ID3 tags and then it is picked up on my phone.

You may also need to run an app like  https://play.google.com/store/apps/details?id=com.addz.mediascanner 

Tuesday, February 21, 2012

Monday, February 13, 2012