Fred’s Blog


Warning: include(/var/www/apps/wordpress/wordpress/wp-content/themes/bluedreamz/sidebar2.php) [function.include]: failed to open stream: No such file or directory in /var/www/apps/wordpress/wordpress/wp-content/themes/bluedreamz/archive.php on line 7

Warning: include() [function.include]: Failed opening '/var/www/apps/wordpress/wordpress/wp-content/themes/bluedreamz/sidebar2.php' for inclusion (include_path='.:/usr/share/php5:/usr/share/php') in /var/www/apps/wordpress/wordpress/wp-content/themes/bluedreamz/archive.php on line 7

Archive for the 'Uncategorized' Category

Getting Filevault on a HFS+ Case-Sensitive Filesystem

04 Nov

The OSX file vault feature will only let you activate it on your current home folder if you have a HFS+ case-insensitive file system. It will not let you activate it on a current HFS case-sensitive.
But there is a trick, when creating a “new” clean user it will allow you to enable filevault for that [...]

FastSleep or Hibernate on OSX Leopard? ;)

01 Nov

First of all, what do I mean by safe sleep, fast sleep or hibernate?
Safe sleep is the way OSX sleeps to RAM and as well create a sleepimage (which is the size of your RAM). In case you run out of battery, so you can still resume from the image if the battery is dead, [...]

A little Haml tutorial on how to render different formats

19 Aug

Suppose you have a Model called Article that contains a text field and a format field.
You would like to use haml, textile or HTML to edit your Article from the admin interface.

create_table "articles", :force => true do |t|
t.string "title"
t.text [...]

Easy installing Passenger mod_rails on gentoo Linux

06 Aug

To install the great Mod_Rails on Gentoo linux it’s as easy as 5 steps.
Since you are Gentoo user, i don’t need to go to details. You know what you doing.
1. Recompile Apache non-threaded
add this to /etc/portage/package.use
www-servers/apache -threads
and this to /etc/make.conf
APACHE2_MPMS=”prefork”
2. Re emerge apache
# emerge -va apache
3. Passenger is in gentoo portage, but its [...]

Very low memory VPS Linux for Rails

03 Jul

The other day I had to set up a VPS machine at Slicehost for a client on a tight budget. I paid for 256mb VPS based on Gentoo, my distro of choice.
But 256MB of ram? what can you do with just 256?
Normally a default 256mb linux machine would not handle very well a set of [...]

ruby-mysql now Ruby 1.9 compatible

07 Mar

Tommy has just released an new mysql-ruby package.
Actually 2 of them:
mysql-ruby-2.7.5 and mysql-ruby-2.8pre2
They are Ruby 1.9 compatible
Requirements
* MySQL 5.0.51a
* Ruby 1.8.6, 1.9.0
here is the link http://tmtm.org/en/mysql/ruby/
Great Job
VN:F [1.0.6_327]please wait…Rating: 0.0/10 (0 votes cast)

Encrypt folders in Mac OSX with encfs

17 Dec

Encrypt folders in Mac OSX with encfs
OSX already include the File Vault functionality that allows you to encrypt your whole Home Folder.
Thou the storage overhead is so small, the time to encrypt it the first time is very very long.
if you have Videos, and big files, it takes even longer.
What if I don’t want to [...]

Fred’s Blog is Digg proof thanks to caching by WP Super Cache!