Linux

Pages about Linux in general

Date.rb segmentation fault (segfault) with ruby 1.8.3 [BUG]

I kept getting this seg fault error today. I resolved it simply grabbing latest date.rb version from Ruby CVS repository (complete changes list for date.rb; note that date.rb version 1.17.2.7 was the one giving problems, and the latest tagged 1.8.3). #sudo gem install rubygems-update Attempting local installation of ‘rubygems-update’ Local gem file not found: rubygems-update*.gem

Categories:

Rails development in Linux and Windows

Did you start coding a Rails project in Linux, but sometimes you find yourself in Windows wishing you hadn’t to reboot your computer to Linux to develop that project again? No problem! Read on and you will find out how you can use the same Rails source and develop it both in Windows and Linux.

Geek out loud

When will 1234567890 will be in Unix timestamp? Find out here. 1111111111 was on 1:58:31 UTC on March 18, 2005.

Categories:

Middle mouse copy trick

There is no doubt, Linux is such a creative environment you can’t compare it with Windows.  Many people (including me) expressed their own opinion about which OS is better. In my opinion there is no a "better" OS, but a more "suitable" OS.  You get Windows and Windows apps as-is. You are a passive user. You download, you install, you run the app.

Categories:

I should have posted this a few days ago ...

I have been busy doing a lot stuff lately, that range from increasing the study-time to studying a great programming language that powers an even greater web developer framework. My hope is the success of this framework will help spread Ruby support among hosts.

Categories:

SSH VNC Tunneling (from anything to Windows)

A note, "anything" the title means "any ssh-client enabled platform". I just finished experimenting this solution, I took a lot from Gavin Reid walkthrough. Last edit of the document is 2001 so some info are old and not up-to-date. Server configuration
  1. Download SSHWindows. Configure it. (steps in quickstart.txt are enough to get you started).
  2. Start it (net start opensshd)

Categories:

Mapping arrow keys in Vim

When remotely editing through Vim on a friend’s server, I had troubles using the arrow keys, because instead of moving the cursor, using them result in some random letters printed on the screen. After some researches I stumbled on this help (:help compatible_):
<br /> This option has the effect of making Vim either more Vi-compatible, or<br /> make Vim behave in a more useful way. When a ".vimrc" file is found while Vim is starting up, this option is switched off, and all options that have not been modified will be set to the Vim defaults.<br />

Having fun with digital photo and GIMP

I spent the last hour GIMPing around with a photo I took a couple of weeks ago, featuring my best friend blextar and me with the most stupid and arrogant face we could ever think of. My auntie has bought a new camera, so she gifted my family with her old one. It was a long time I had been thinking of buying one, and I got one without even asking! What a luck ;) The photo is one of the first I took with this new toy. I wasn’t satisfied enough with the original one, so I thought to edit it.

gdesklets: hacking gnome-panel to get windows not to overlap StarterBar

After getting gdesklets working this night, I was quite happy. But when I realized maximizing windows would have hidden the StartedBar, I said to myself “We need a solution” (tm). Debian and therefore Ubuntu do not include in their distribution the 6.8 X.org server (no X.org package at all actually), so no transparencies for me.

Categories:

Random background in gnome

Bored to see always the same background on your desktop? Put your favourites backgrounds inside a dir, create this simple script and put it in cron. I update my background every 10 mins. #!/bin/bash gconftool -t str -s /desktop/gnome/background/picture_filename "`find /PATH/TO/YOUR/IMG/DIR | rl -c 1`" Thanks to treed

Categories:

Pages

Subscribe to RSS - Linux