Recent Notes
Displaying keyword search results 1 - 10
Created by voodoo on July 14, 2010 23:37:46
Last update: November 16, 2011 12:00:33
Run gpedit.msc
Find Administrative Templates -> Windows Components -> Terminal Services -> Limit Maximum color depth.
Right click on "Limit maximum color depth", click "Properties", then select "Client Compatible".
Update: for Windows 7 the color depth policy was moved to Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Remote Session Environment
Created by nogeek on November 16, 2011 10:16:15
Last update: November 16, 2011 10:16:15
Bring up the Control Panel system page (shortcut: Win+Pause, Win+Fn+Insert/Pause for laptop):
Click "Remote settings" on the left
Check "Remote Desktop" -> "Allow connection..."
Created by balu on October 14, 2011 10:21:08
Last update: October 14, 2011 10:21:08
Got this error while trying to start vFabric tc server :
C:\Apps\vfabric-tc-server-standard-2.6.1.RELEASE>t...
It's a UAC error. Need to start the command prompt with Administrator privileges: right click the shortcut and select Run as administrator .
Or enable administrator rights for the shortcut:
Bring up the cmd shortcut properties
Select the Shortcut tab, click the Advanced button.
Check Run as administrator .
Created by magnum on September 19, 2011 08:33:40
Last update: September 19, 2011 08:34:25
From Control Panel , double click Network Connections , select New Connection...
Click Next in Connection Wizard , select Set up an advanced connection , click Next
Select Accept incoming connections , click Next
Select Allow virtual private connections , click Next
Check the users allowed for connection, or add a new VPN user by clicking Add . Click Next .
Select Internet Protocol (TCP/IP) and click Properties .
Check Allow callers to access my local area network , enter a TCP/IP address range and click OK
Click Next and Finish
Created by voodoo on June 21, 2011 08:19:33
Last update: June 21, 2011 08:34:28
Got "base64: invalid input" error:
$ base64 -d base64_encoded.txt >original.bin
ba...
which can be easily dismissed as "input is invalid base64 encoded" or "partial input". But I know it's valid base64 encoded input!
The problem was, the input was base64 encoded on Windows! The error goes away after converting to Unix format with dos2unix .
dos2unix < base64_encoded.txt | base64 -d >origina...
Version of base64 used:
$ base64 --version
base64 (GNU coreutils) 8.5
...
Created by magnum on December 03, 2010 08:53:18
Last update: December 03, 2010 08:54:23
You can use the ntfsresize utility on Linux to shrink or expand an NTFS partition (boot, for example, with the DRBL live cd).
To shrink an NTFS partition:
shrink NTFS (the file system) with ntfsresize.
re-create a smaller partition to hold the shrinked file system with FDisk.
To expand an NTFS partition:
Recreate a partition that's bigger than the previous one.
expand NTFS to the full size of the new partition.
The following are from excerpts from ntfsresize FAQ (Frequently Asked Questions) :
ntfsresize help:
[tinker:root]:(~)# ntfsresize -h
ntfsresize v1....
ntfsresize example session:
[tinker:root]:(~)# ntfsresize -s11000M /dev/hd...
Fdisk example session:
[tinker:root]:(~)# fdisk /dev/hdc
...
Created by nogeek on November 11, 2010 00:26:08
Last update: November 11, 2010 00:29:43
This one is even more weird: it worked on Windows but failed on Linux, using default tools JDK1.6.0_20 on both. The exception thrown was:
java.lang.RuntimeException: Invalid conversion fro...
And the stack trace:
java.lang.RuntimeException: Invalid conversion fro...
This was the XSL used:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xs...
The problem was , DateUtil.java had two getDate methods, one taking long parameter, the other taking a String parameter. And Java's XSLT get confused about which one to use:
import java.util.Date;
import java.text.SimpleD...
Created by woolf on September 17, 2010 19:31:06
Last update: September 17, 2010 19:31:06
From http://hardware.slashdot.org/story/10/09/17/0247246/HDCP-Master-Key-Is-Legitimate-Blu-ray-Is-Cracked : MakeMKV rips most Blu-Rays very easily. If you want to re-encode with compression like x264, Handbrake will do it easily (though it takes about 6 hours at "20" quality on my i7 HTPC). The audio is a little tricky, but with MKVmerge you can just take the stream that MakeMKV gave you and mux it into the video stream Handbrake spat out. Subtitles are tougher because of the way they're done on Blu-Ray, but I find that opensubtitles.org usually has a perfectly-timed SRT file for my rips, most often from a guy called Shoocat. With newer codecs, the text is super-smooth and often looks better than the subtitles on the blu-ray. The only really hellacious problem I've had with moving my Blu-Ray...
Created by woolf on August 29, 2010 04:22:01
Last update: August 29, 2010 04:22:01
This procedure only works for program shortcuts on the desktop or start menu:
Right click on the program shortcut
Select "Properties"
Focus on the "Shortcut key" field, press any key or combination of any two of SHIFT, CTRL and ALT, plus any key
MS link: http://support.microsoft.com/kb/310417
Created by nogeek on August 08, 2010 23:38:04
Last update: August 08, 2010 23:38:04
Especially, the ethernet0.virtualDev = "e1000" line should be absent in order for networking to work.
#!/usr/bin/vmplayer
# Filename: Win2000.vmx...