MyFunnyDev

web, coding and beyond

Decoration in Ruby

without comments

Interesting discussion about object decoration in ruby.

Written by Michał Kuklis

June 30th, 2009 at 9:59 pm

Posted in Uncategorized

Tagged with

Class and Instance Variables In Ruby

without comments

Written by Michał Kuklis

June 13th, 2009 at 9:27 pm

Posted in Ruby

few more ruby links

without comments

Written by Michał Kuklis

May 18th, 2009 at 4:24 pm

Posted in Ruby

Tagged with

drop all tables and sequences in oracle

without comments

tables:

SELECT 'DROP TABLE ' || table_name || ' CASCADE CONSTRAINTS;' FROM user_tables;

sequences:

SELECT 'DROP SEQUENCE ' || sequence_name || ';' FROM user_sequences;

Written by Michał Kuklis

May 18th, 2009 at 11:07 am

Posted in Uncategorized

Tagged with

Google engine support for java

without comments

Looks like google engine will support java. Pretty exciting :)

Written by Michał Kuklis

April 7th, 2009 at 8:26 pm

Posted in Uncategorized

Tagged with ,

going back to ruby again…

without comments

Written by Michał Kuklis

April 4th, 2009 at 11:05 am

Posted in Ruby

Tagged with

learning git

without comments

Written by Michał Kuklis

March 15th, 2009 at 8:27 pm

Posted in GIT

Tagged with

GNU Screen

without comments

A Friend of mine introduced me to GNU screen a great tool which can be used in different ways. One of them is a session sharing which is awesome when 2 or more people are working together in Linux env.

Written by Michał Kuklis

March 15th, 2009 at 8:22 pm

Posted in linux

Tagged with

stage deployment with capistrano and passenger

without comments

I’m still looking around for a stage deployment setup with Capistrano.
Here are few ideas/links I found useful.

Update:
It turned out this is pretty simple with the capistrano-ext gem:
http://weblog.jamisbuck.org/2007/7/23/capistrano-multistage

set :default_stage, "development"
set :stages, %w(production testing development)
require 'capistrano/ext/multistage'

Written by Michał Kuklis

March 14th, 2009 at 3:20 pm

Posted in Ruby

Tagged with ,

apache2 utils

without comments

deactivate site:

a2dissite site_name

activate site:

a2ensite site_name

Written by Michał Kuklis

March 13th, 2009 at 8:17 pm

Posted in Uncategorized

Tagged with , ,