Notes by voodoo

Displaying keyword search results 1 - 10
Created by voodoo on February 17, 2012 10:40:43    Last update: February 17, 2012 10:40:43
When a certificate is "untrusted" by IE (such as a self-signed certificate), it displays a "Certificate error" icon next to the address bar. It used to be that you can click on that icon, "View certificates", then install it. On Windows 7, because of UAC , the "Install Certificate..." button is no longer displayed. In order to see the button, you have to start IE9 with administrator privileges: right click on the IE9 shortcut icon and select " Run as administrator... ". To save the certificate to a file, click the Details tab on the Certificate dialog, then click " Copy to File... ".
Created by voodoo on September 04, 2011 14:23:17    Last update: September 04, 2011 14:25:05
I just installed Ubuntu 11.04 desktop on my old Dell laptop, but the cdrom is not auto-mounting. Normally this simply works. I tried various things like adding cdrom to /etc/fstab and installing halevt (which failed), none worked. However, I found out that despite talks of using gnome-volume-manager etc, at least for this version of Ubuntu automount is managed by Nautilus (file manager): start gconf-editor and navigate to /apps/nautilus/preferences/ , media_automount should be checked (but it's checked by default, unless you changed it). In the end, I wasn't able to make cdrom automount, although USB drives automounted fine. Instead of wasting more time to diagnose the problem, I manually mounted the cdrom drive: $ sudo mount /dev/cdrom /cdrom
Created by voodoo on March 10, 2011 11:08:45    Last update: March 10, 2011 11:09:18
Looks like for Linux fdisk , cylinders as display units was deprecated, using sectors is the new way. # fdisk -v fdisk (util-linux-ng 2.18) # ... Notice that cylinder numbers actually overlap for the last 2 partitions.
Created by voodoo on November 02, 2010 16:07:49    Last update: November 02, 2010 16:11:56
From the command line I can start and stop Windows services with NET START service_name and NET STOP service_name . But the NET command does not give a way to find the service name. You need the sc command to get the service name, below are some examples: List all running services: sc query List all services, running or not running (notice the space after =): sc query type= service state= all List all active drivers: sc query type= driver Find information about the "Indexing Service" (requires GNU grep): sc query type= service state= all | grep -i index ... Start the indexing service: sc start CiSvc Stop the indexing service: sc stop CiSvc Check the status of the indexing service: sc query CiSvc
Created by voodoo on November 01, 2010 22:26:00    Last update: November 01, 2010 22:26:00
Some weirdness observed while updating BLOB with PostgreSQL JDBC driver: LOB position offset starts at 1 (not 0 as in IO input stream). When you call setBinaryStream(long pos) , pos must be greater than 0. I think this is JDBC standard behavior. When you write to a BLOB output stream, new contents overwrite existing contents. Old contents are not automatically truncated. If new content length is shorter than old contents, the old contents will remain after the position where new content ended. You can call Blob.truncate(long len) to truncate existing contents. However , there seems to be an discrepancy between the JDBC doc and PostgreSQL JDBC driver. The JDBC JavaDoc states that: Truncates the BLOB value that this Blob object represents to be len bytes...
Created by voodoo on September 21, 2010 03:12:52    Last update: September 21, 2010 03:13:58
Select "Capture AVI..." from File menu Set capture file Change size of captured frame Update screen capture settings Start capture Note: I wasn't able to capture sound from speaker!
Created by voodoo on August 31, 2010 15:36:55    Last update: August 31, 2010 15:38:24
This works for OpenSSH . Steps: Start SSH tunnel: ssh -D 8088 user@remote.host.running.sshd Set socks proxy to "localhost:8088" in your browser. Result: Communication link between your computer and the remote host running sshd is encrypted. Why? You might want to do this when you are on a untrusted network, e.g., accessing your Yahoo! mail via wifi at Starbucks or a hotel.
Created by voodoo on July 01, 2010 16:57:31    Last update: July 01, 2010 16:57:31
Use the pg_ctl command to start/stop/restart the PostgreSQL server: $ bin/pg_ctl -D /usr/local/pgsql/data -l logs/post... Environment variable PGDATA can be set in lieu of the -D switch.
Created by voodoo on June 25, 2010 16:41:17    Last update: June 25, 2010 16:44:40
rdesktop is the Linux equivalent of mstsc on Widnows. To install rdesktop on Fedora, enter: yum install rdesktop To start rdesktop in full screen mode: rdesktop -f remote_host_name To toggle full screen mode, use key combination: Ctrl+Alt+Enter.
Created by voodoo on December 20, 2009 04:46:36    Last update: February 08, 2010 03:49:21
Cygwin comes with openssh and X Windows. You need to select these packages from the cygwin installation screen: openssh (Net) X-start-menu-icons (X11, optional) xinit (X11) xorg-server (X11 server) To start an X-enabled remote SSH session, you need to start the X server on the cygwin side first: startxwin then enter: ssh -Y user@network-address This allows you run X apps on cygwin, but you won't see your normal Linux desktop (gnome, KDE etc.). In order to see remote desktop, you need to run XDMCP (Display Manager Control Protocol, which isn't secure). It's a bit tricky to set up XDMCP over ssh.
Previous  1 2 Next