One Guy Coding
$ date
Tue May 13 21:01:20 -0300 2008
$
| Welcome | Thu Dec 6, 2007 12:05:51 AST |
One Guy Coding is closed for business.
|
| mirth | Fri Feb 24, 2006 14:38:47 AST |
Uploaded a new version of mirth (mplayer internet radio transcription helping) to the scripts area. This version cleans up the behaviour of the program when a restart is required.
|
| Gnome keybinding commands | Mon Aug 11, 2003 17:24:04 ADT |
One of the things that's been bugging me about Gnome 2.2,
or more specifically bluecurve in RedHat 9.0 is
the inability to specify global keyboard shortcuts (aka hotkeys) for
specific commands. For example, to open a gnome terminal
session (or xterm, etc) I used to always set a shortcut
keystroke of Ctrl-Alt-C (for console). Today, I finally
figured out how to do this while browsing around in
gconf-editor, which is somewhat similar in functionality
to the Windows Registry Editor, except the changes are
stored in xml files under ~/.gconf.
Okay, here's a step by step method for setting keybindings
in metacity in a gnome 2.2 environment,
- Run gconf-editor
- Open apps/metacity/global_keybindings
- Edit one of run_command_1 through run_command_12 and specify a
keybinding to use to run that command (eg. "<Ctrl><Alt>c")
- Open apps/metacity/keybinding_commands
- Specify a command that you want to run after hitting the
keybinding specified above (eg. gnome-terminal --geometry 90x40+50+50)
- Repeat as necessary
|
| Secure fetchmail with SSH | Tue Jul 1, 2003 09:57:17 ADT |
POP mail is inherently insecure because the password command PASS and
the accompanying password is sent over the network in clear text.
If your ISP uses a unix or linux box and has ssh enabled you can setup fetchmail
to get your mail securely over an ssh forwarded port. Here's an
example,
defaults protocol imap
user "my_isp_username"
no rewrite
pass "my_isp_password"
poll localhost.localdomain port 11110:
preconnect "ssh -f pop.my_isp.com -L 11110:pop.my_isp.com:143 sleep 10"
The preconnect command, runs ssh and forwards the POP port on pop.my_isp.com
to the local port 11110, after a successful preconnect, fetchmail polls
the local port to get your mail from your isp to your local box on
a secure ssh connection. Note that you have to first setup ssh to connect
to pop.my_isp.com without asking for a password. This involves generating
an ssh public key using ssh-keygen -t dsa, using a blank passphrase,
and then copying the file id_dsa.pub from your home machine to your isp
account into the the file ~/.ssh/authorized_keys.
It would be really nice if ISP's would recognise how insecure POP is
and, at least, switch to using APOP, which sends the password as an
md5 hash rather than sending the password itself. The pop daemon
qpopper
supports APOP.
|
|
|