Tuesday, January 11, 2011

Ecoach

This weekend I gave a try to this program on my N900 and here are the results:



As you can see It keeps record of your positional data through the GPS on the device and gets map information from different services like Open Street Map, Google Maps and Virtual Earth.



As you can see it also computes little information about your route :) It is also capable of recording your heart rate and show it as well.



This graph is very interesting as it usually shows how on steeps you slow down a lot! hehehe Had I a heart rate monitor it would show here too.

Overall is a great software to keep track of my weekly runs

Friday, December 17, 2010

Firefox and Fullscreen mode

I am a Firefox guy, I really am. Or should I say I'm a vimperator guy?

Well, the thing is that I love having the screen clean and simple, just to focus on the staff I'm actually using/reading. Fullscreen mode (F11 shortcut on firefox by default) helps in that respect, it has a downside though: it autohides the the tabbar and you need to move the mouse to the top of the windows to make it appear. What's the problem? I do *not* like using the mouse!

So, here is the thing that I'd like to have the tabbar always on. How do I do that?

Open about:config

Search for browser.fullscreen.autohide and set it to false.

There you go!

Try it yourself and you'll see your tabbar does not hide ;)

Regards

PS: does anybody know how to make firefox use the last oxygen-gtk theme?

Thursday, November 18, 2010

The beauty of open source

So you get an email that says:

--- Comment #1 from Thomas Lübking <thomas luebking web de> 2010-11-13 15:17:07 ---

sorry for the delay ;-)

please check whether this is the issue described in bugs 178269, 183263, 241094

& 243094


Then you remember you reported a bug some weeks ago about some problems in repainting windows and opening/switching tabs

in your kde enviroment. You knew the problem was kwin because you tried different window managers and everything worked much

better. Well, you follow the suggestion and check if your report has anything to do with those bugs. It has! (you didn't do very well

checking for existing bugs before reporting a new one :S).


Anyway, you decide to help a bit and try the patches Kwin developers coded which are located in:

http://websvn.kde.org/?view=rev&revision=1175748


Not very long patches indeed! Really worth it though. After getting the proper kdebase-workspace PKGBUILDs (what Archlinux uses to

build packages) you modify them to allow you to apply the patches. After some time and dinner (my laptop is getting old, ya know) the

package is ready to give it a try...


*WOOOOOW* This is difference! those two lines of code were really necessary! No drawbacks, no bugs added. Can't leave without it now.

I'm no longer using my distro packages as they do not include this patches yet although KDE SC 4.6 beta is due in a few hours and the packages

will probably hit the [kde-unstable] in no time ;)


I do love opensource :)


Regards

Thursday, October 21, 2010

Security please? anyone?

Look what I found out on my server today:

netstat -p
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 192.168.*.*:60416 quakenet.euroserv.com:ircd ESTABLISHED 2630/crond
tcp 0 0 192.168.*.*:41016 clanserver4u.de.quaken:ircd ESTABLISHED 2630/crond

This is something you *DO NOT* wanna see on your server.

Yesterday I set up an account for a friend just to upload me some files on the ftp. The password was weak as I thought I would delete the acount inmediatly afterwards but...I forgot to!

And in one day time someone already broke into my machine and set a cron job to start this "conncection" or whatever. First of all I'm gonna clean up this mess and then I'll try to dig into the logs and find out where this attack come from.

Regards

[UPDATE]

Oct 19 22:40:43 laurelin sshd[5688]: Accepted password for esteban from 87.218.237.117 port 54790 ssh2
Oct 19 20:10:14 laurelin sshd[13002]: Accepted password for esteban from 218.17.150.196 port 10060 ssh2
Oct 19 20:11:37 laurelin sshd[13226]: Failed password for root from 218.17.150.196 port 19205 ssh2

There he is! And he is up and running:

nmap 87.218.237.117

Starting Nmap 5.21 ( http://nmap.org ) at 2010-10-21 03:23 CEST
Nmap scan report for 117.237.218.87.dynamic.jazztel.es (87.218.237.117)
Host is up (0.069s latency).
Not shown: 989 closed ports
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
23/tcp open telnet
80/tcp open http
1720/tcp filtered H.323/Q.931
1863/tcp open msnp
1864/tcp open paradym-31
4443/tcp open pharos
4662/tcp filtered edonkey
5190/tcp open aol
5566/tcp open unknown

Nmap done: 1 IP address (1 host up) scanned in 8.99 seconds

nmap 218.17.150.196

Starting Nmap 5.21 ( http://nmap.org ) at 2010-10-21 03:24 CEST
Nmap scan report for 218.17.150.196
Host is up (0.36s latency).
Not shown: 983 closed ports
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
80/tcp open http
110/tcp open pop3
111/tcp open rpcbind
443/tcp open https
445/tcp filtered microsoft-ds
995/tcp open pop3s
1720/tcp filtered H.323/Q.931
1863/tcp open msnp
3306/tcp open mysql
4444/tcp filtered krb524
5190/tcp open aol
5989/tcp open unknown
8000/tcp open http-alt
8443/tcp open https-alt
11111/tcp open unknown

Wednesday, October 20, 2010

Replacing white spaces (' ') with underscores ('_')

You've got plenty of files with spaces on its name and you wanna replace them with underscores?
Check this:

for i in *;do TARGET=`echo $i | sed 's/\ /_/g'`; mv "$i" $TARGET;done

In my case, these were rar files which I then wanted to uncompress:

for i in *;do unrar x "$i" ;done

Bash is really usefull, ain't that right?

Sunday, October 10, 2010

Hard Disk troubles

This is something you definitely do not wanna see on your screen:

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: FAILED!
Drive failure expected in less than 24 hours. SAVE ALL DATA.
See vendor-specific Attribute list for failed Attributes.

I'm loving more and more my N900 as I've made the backup on it!!!

You may be asking why the hell I do not have an external hard disk, aren't you? Well, because I'm an idiot :S

Tomorrow I'll try to get one new hard disk.

Regards

Saturday, October 9, 2010

Change of direction

As I've recently started to work as a system administrator I've decided to change the focus of this blog: it will be unix/linux related (mainly) as well as others OSs's.

It will probably become a "backup" of the staff I encounter on my daily work but hopefully I'll add something on my freetime :)

Best regards to all,

Damnshock