Category Archives: freebsd

Using imapfilter to do forced white list for spambayes

Well I’m using spambayes to do spam filter work, and it does do its work well: It will only move the mails it’s sure are spams to the spam folder, and the mails it’s sure are not spam to the non-spam folder. And something in between to the unsure folder.
For me […]

The new Microsoft Natural Ergonomic Keyboard 4000

Well, together with the LX5 my wife also get me a Microsoft Natural Ergonomic Keyboard 4000. There’s nothing wrong with my old Dell keyboad and/or the BTC 9019URF wireless keyboard. It is my wrist. With more and more typing, I began to feel the pain of RSI so I decided to give this famous […]

Logitech LX5 on FreeBSD

Last weekend my wife get me a LX5 and I really like it.
Seeing my old mouse going to its EOL and I was looking for a new one. I don’t need those funny functions cause I’m a heavy keyboard user. And with FreeBSD being my desktop all those funny keys will be useless. And my […]

Tiling Window Management with Fvwm

 
Contents

Why
The target
What we need
Yeal, show me the code!

 
Why
If you have 10+ GUI applications running and spend lots of time
dragging them to the right place, you need a tiling window manager.
On contrary to most modern window systems, which allow you to put one
window on top of another, and mess up your work space, a tiling window
manager […]

svn: make the branches directory before make a branch

Well, this is a short note to myself so the next time I want to create a branch of a new project, I won’t need to search through the Internet.
Before doing
$ svn copy http://svn.example.com/repos/calc/trunk \
http://svn.example.com/repos/calc/branches/my-calc-branch \
-m "Creating a private branch of /calc/trunk."
to make a new branch of a new project (which don’t have any branches […]

an introduction to openssh part 5 — config files

Well the ultimate way to tweak a program (besides modify the source)
is to edit the configure file. This is what we are gonna talk about in
this part.
There are two kind of config file for OpenSSH: for the server side and
for the client side.
- For the server side
The server side configure file is usually /etc/ssh/sshd_config. No
matter […]

an introduction to openssh part 4 — SSH on Windows

It is ideal if we can live in a Unix only world. However sometimes we’ll need MS windows. In this part we’ll talk about using OpenSSH, or SSH in general, on MS Windows platform. On the OpenSSH Alternatives for Windows page, there is a list of available free/open source software. We’ll talk about the two […]

sudo 1.6.9 and sudo-save.el

I really enjoy the sudo-save.el. It makes editing files owned by root quite smoothly on a local machine.
However with the recent update of sudo to 1.6.9 in the ports tree, it print a “last login time” message every time. And breaks sudo-save.el. I didn’t find time yesterday and portdowngrade to 1.8.2.
Thanks to the explaination Makoto […]

An introduction to OpenSSH part 3 — Port forwarding

(originally posted at www.linuxboxadmin.com )
Last time when we talked about transfering files over OpenSSH, I said you can use port forwarding if you insist to use your favorite FTP client, and we have a brief HOW-TO there. This time, we’ll take a deeper look at port forwarding.

How port forwarding works.Normally network protocols works on two […]

An introduction to OpenSSH part 2 — copy files

(originally posted at www.linuxboxadmin.com )
This time we’ll talk about transferring files using OpenSSH. The most
common ways to transfer files between Unix hosts are: rcp, ftp, and
rsync.

rcp and its SSH version: scpThe command rcp works like cp, but it can copy files to and from
remote files. For example, if you want to copy a “test” file […]

Close
E-mail It