Thursday, 22 September 2011

Avoid Sharepoint Authentication Popup

One of the most galling things about Sharepoint in the configuration we have at my place of work is that you end up retyping your credentials all the time.

I've previously posted some ways around this by editing security settings in IE to ensure your AD credentials are always posted through.

However I've found a much better solution! Use Google Chrome. Type in your credentials and the experience is seamless.

Cannot pin Netsupport Manager to taskbar in Windows 7

I access some Windows Server boxes via Netsupport Manager at work. I'd like to pin this app to the taskbar, but as it has the word "Support" in the title Microsoft have explicitly excluded this.

I would have enjoyed attending the product management meeting at Microsoft where the decision to exclude any apps with "Support" in the name was made. I hope they had tea and nice biscuits!

To lift this slightly baffling restriction, you can amend the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileAssociation\AddRemoveNames


It will probably look like this:

SETUP.EXE;INSTALL.EXE;ISUNINST.EXE;UNWISE.EXE;UNWISE32.EXE;ST5UNST.EXE;MSOOBE.EXE;LNKSTUB.EXE;CONTROL.EXE;SUPPORT;WERFAULT.EXE;WLRMDR.EXE;GUESTMODEMSG.EXE;MSIEXEC.EXE;DFSVC.EXE;WUAPP.EXE;


Mine now looks like this:


SETUP.EXE;INSTALL.EXE;ISUNINST.EXE;UNWISE.EXE;UNWISE32.EXE;ST5UNST.EXE;MSOOBE.EXE;LNKSTUB.EXE;CONTROL.EXE;WERFAULT.EXE;WLRMDR.EXE;GUESTMODEMSG.EXE;MSIEXEC.EXE;DFSVC.EXE;WUAPP.EXE


And I can now pin NetSupport.

Thursday, 21 April 2011

SYSDATE in Postgres

The equivalent of Oracle's SYSDATE in Postgres is CURRENT_TIMESTAMP.

At least in the context I needed it in!

I learnt about timestamp arithmetic in Postgres from here: http://wiki.postgresql.org/wiki/Working_with_Dates_and_Times_in_PostgreSQL#WORKING_with_DATETIME.2C_DATE.2C_and_INTERVAL_VALUES

Thursday, 7 April 2011

IntelliJ hang

If you find IntellJ just hangs and you have the kill the process, then you restart and it hangs again, its probably an issue with your JDK. I followed the steps here marked workaround:

http://devnet.jetbrains.net/docs/DOC-1193

Basically this involved editing the JVM startup properties to disable cardmarking or some such. The details are all contained in the link.

IntelliJ worked perfectly afterward. Its quite ironic as I was thinking how much I liked IntelliJ just before it happened. At least it was an easy fix. I am using the version 10 Community edition.

Wednesday, 6 April 2011

Windows 7 RDP Slow

If your RDP connections in Windows 7 are slow, over a VPN or whatever then go:

netsh interface tcp set global autotuninglevel=highlyrestricted

From an administrator command shell on the machine initiating the RDP connection.