Sunday, 25 January 2009

Putting God first.

Putting God first is my other new-years resolution/calling for 2009.
I believe God is telling me the first step towards that is to start
spending some time with Him and His Word in the mornings.
I'm not a morning person so this is hard.

I found this Psalm very inspiring, especially verses 2 and 8:

--
Psalm 101

A Psalm by David.


{101:1} I will sing of loving kindness and justice.
To you, Yahweh, I will sing praises.
{101:2} I will be careful to live a blameless life.
When will you come to me?
I will walk within my house with a blameless heart.
{101:3} I will set no vile thing before my eyes.
I hate the deeds of faithless men.
They will not cling to me.
{101:4} A perverse heart will be far from me.
I will have nothing to do with evil.
{101:5} I will silence whoever secretly slanders his neighbor.
I won't tolerate one who is haughty and conceited.
{101:6} My eyes will be on the faithful of the land,
that they may dwell with me.
He who walks in a perfect way,
he will serve me.
{101:7} He who practices deceit won't dwell within my house.
He who speaks falsehood won't be established before my eyes.
{101:8} Morning by morning, I will destroy all the wicked of the land;
to cut off all the workers of iniquity from Yahweh's city.

(from the World English Bible: http://ebible.org/ )

--
it is time to seek Yahweh, until he comes and rains righteousness on you. - Hosea 10:12

--
Or don’t you know that your body is a temple of the Holy Spirit which is in you, which you have from God? You are not your own, for you were bought with a price. Therefore glorify God in your body and in your spirit, which are God’s.
1 Corinthians 6:19-20

Friday, 16 January 2009

vsftp is reporting times as GMT

It has baffled me for days that my ftp (vsftp) server shows
file timestamps in the wrong timezone: UTC
After some searching I found that there is a hidden option
for setting it.
(it isn't in the default config file /etc/vsftpd.conf)

Q) Help! vsftpd is reporting times as GMT times and not local times!
A) This behaviour can be changed with the setting "use_localtime=YES

After adding that to the end of /etc/vsftpd.conf, and doing:
sudo /etc/init.d/vsftpd restart
it works now!
Now why isn't this the default???
http://www.flux.org/pipermail/linux/2004-June/015484.html
http://vsftpd.beasts.org/vsftpd_conf.html

This got me thinking is it some sort of a standard that ftp servers return timestamps in utc?


Sunday, 21 December 2008

colemak

I have some time off from work and decided it is time to
finally learn and use the colemak keyboard layout.
This is one of my new year resolutions, and I cannot
explain how exited I am about this. I'm actually typing
this post using it, but its still slow going.

I had some trouble getting it to work in ktouch, but I figured it out:
http://forum.colemak.com/viewtopic.php?pid=4378#p4378

I also had some trouble convincing kubuntu to handle the capslock key
as a backspace key. The final solution for me was to make a little script,
and get it to run when kde starts up.
script:
#!/bin/bash

#setup capslock -> backspace (nice for colemak)
xmodmap -e "remove Lock = Caps_Lock"
xset r 66
run it automatically:
system settings -> advanced -> autostart

I practised for 30-45 minutes per day and I learn more keys every day.
Some of the nice things about Colemak for me are:
  1. You learn the common keys first, so you can actually start typing quite soon. (You can type a lot by just using the home row.)
  2. You are forced to touchtype, because looking at the keyboard doesn't help (assuming you didn't swap your keys, which I recommend.)
  3. Most of your short cut keys are in the same position.
I found these finger stretches quite handy:
  1. http://ergotrading.net/officeathlete/ergonomics/Nine_Stretches_and_Alternative_Instructions/FingerStretch.htm
  2. http://www.rsiwarrior.com/stretches.html
  3. http://www.mayoclinic.com/health/stretching/WL00030