Forgot password? Create an Account
my Personal Blog
Listed: Dec 20, 2011
Personal Blog ― This is a simple blog post which demonstrate how we can create ruby classes on the fly. ∙ Using class keyword and Class.newWe can create a ruby class either using class keyword or using Class constructor. Ruby newbies will be only familiar...
Revath S Kumar ― 1 week 2 days ago
Personal Blog ― What is short circuit evaluation??It means in a conditional statement with two conditions the second condition is evaluated only when the first condition is not enough to determine the value of expression Consider a conditional statement echo...
Revath S Kumar ― 1 week 3 days ago
Personal Blog ― This is a simple blog post just to explain How I work on JavaScript project aka my workflow. I am not forcing any one to follow me, but I would like to know if you are using a better workflow. For those are interested to follow my workflow, find...
Revath S Kumar ― 4 weeks 3 days ago
Personal Blog ― Rails won't require all our custom classes and modules from the lib folder by default. But manually requiring each files won't look neat. Here is how you can ask Rails to require those files. ∙ In you application.rb, find the line given ...
Revath S Kumar ― 5 weeks ago
Personal Blog ― By default Rails won't autoreload our custom libraries or classes which we keep in lib folder. Restart server each time when you do some changes to those libraries is a tedious task. To make those classes autoloadable add the below line of code to...
Tags: Ruby-on-rails
Revath S Kumar ― 5 weeks 3 days ago
Personal Blog ― This is the second part of my blog "You too can contribute to opensource". In the previous one I already talked about how to get started, In this I will discuss on how you can contribute to opensource if they are hosted on Github. ∙ For ...
Tags: Open-source, Github
Revath S Kumar ― 6 weeks 3 days ago
Personal Blog ― This is small guide which will help you to get started to contribute to an opensource project. 2 years before me too was a noob who don't know how to get started with opensource contribution. I am not an expert now, but anyway I got started with ...
Tags: Open-source
Revath S Kumar ― 6 weeks 5 days ago
Personal Blog ― This is a simple workaround to use yeoman with PHP projects. For this I assume that you have a basic knowledge of yeoman and already setup yeoman, grunt, node, bower and php. ∙ For this tutorial I used ∙ Yeoman 1.0.0-beta.3Ubuntu...
Tags: Yeoman, Php
Revath S Kumar ― 7 weeks 1 day ago
Personal Blog ― Recently I wrote a URL shortener in JavaScript Soon after I finished I thought of writing tests for a ajax calls used in that. I wrote this as it should work with both in browser and node.js. The tests are run with mocha command without using...
Tags: Jquery, Sinon, Mocha
Revath S Kumar ― 11 weeks 5 days ago
Personal Blog ― On Feb 8th 2013 ruby 2.0 rc2 released. This blog post will help you to install ruby2.0rc2 with rvm. ∙ Update to latest rvmrvm get head ∙ Install libyamlInstall libyaml-dev library if not installed. apt-get install libyaml-dev ...
Tags: Ruby, Rvm
Revath S Kumar ― 14 weeks ago
Personal Blog ― Consider the below string template in which you need to replace the product and cost with values dynamically. ∙ "Price of the product is Rs. cost."It may be apple and 70 or Orange and 40 etc. ∙ When to use String interpolation We can...
Tags: Ruby
Revath S Kumar ― 16 weeks ago
Personal Blog ― Rails like highly featured frameworks are already packed with the rake tasks for database migrations. But recently when I was playing with cuba, a micro framework for ruby, I really wanted to setup migrations so that I can handle database changes ...
Tags: Ruby, Cuba, Activerecord, Sinatra
someone got the giggles during his photo shoot~OUTFIT DETAILS~Shirt: Brooks BrothersPants: ...
I had every intention of posting this week's Menu Plan when I got home from my high school ...
Dulu ∙ di kantor tempat penulis kerja it ada website perusahaan yang kita ∙ ...