Deploying Rails to Openshift – Asset Pipeline Problems

Apr 27

I chose to go with Openshift for a new RoR project. Everything was smooth, until I started to commit and push frequently. Following assets would not compile. vendor/custom.modernizr (from Foundation framework) custom stylesheet_link_tag and javascript_link_tag I finally found that I have to add them to compile.assets.precompile in applicaiton.rb, as followed: #...

Read More

A mere mortal’s search for a clean cloud host

Apr 05

I want to create a web application. I have two primary choices with respect to to the frameworks I can use. Laravel (PHP 5.4) or Ruby on Rails (Ruby 1.9.3). And the database will be MySQL. Why? Because I want to “Code Happy”. That is the thing I care the most. Not performance (doesn’t matter to majority websites – most websites don’t...

Read More

Jaane kaisi

Nov 18

Jane kaisi, hai zindagi apni Chode kitni yaariyaan… Aage badh gaye, saath koi Peeche reh gaye, yaad banke koi… Jinko dekhne, chalte the kabhi, meelon door hum… Aankhon ke samne, aaj wo hai magar Kehne ke liye, baatein naa rahi… Manjil se nahi, raahon se hi jo, Chahat rakhe the kabhi… Fir bhi aajkal, dono hi yahan, Jane hamse kyun hain khafa… Jane kaisi,...

Read More

Drupal taxonomy term jump menu with optgroup for 1st level

Nov 12

Recently I had to create a jump menu in views, listing all terms in a vocabullary. Terms were of maximum 2 levels. This is how I did it: Create a view with “Jump Menu” style Add Term Name & Tid fields Add Taxonomy Term:parent relationship Add one more Taxonomy:Term Name field, using the relationship just created. Choose this field as grouping field...

Read More

Old habits die hard – “Maximized Windows”!

Oct 12

Old habits die hard – “Maximized Windows”!

Yes. Whenever you change from a system in which you are working for quite a long time, it is inevitable to carry some practices along to the new system. Most of the times, such habits yield less than ideal results. As I upgraded to an iMac, I found a few things were not working as I expected them to work. Most of the time, the problem was how I was using a particular...

Read More

Na aankhen churaana

Oct 10

Yoon, na aankhen churaana… Choti si bhi, dard hamko na dena… Na hai ye mushkil, ek baar aanaa, Haan me maana, mushkil hai jaanaa… Kaanon ke aage, hai jo resham si dhaage, Kehna unhe, vo saari baatein… Saanso ki narmi, un honton ki garmi, Dilme chupaake rakhana, Choti si bhi, dard hamko na dena… Yoon, na aankhen churaana… Choti si bhi, dard hamko na...

Read More

Why we chose iMac?

Oct 07

Today, 7 October 2012, we got an iMac for Netvinyas Softwares Pvt. Ltd. (My company). Many people think it is overpriced. We bought the cheapest iMac, which costs 64,900 rs, today. You can build 2 PCs with better specs for the same price. Why the hell would someone buy an iMac, paying so much money? People buy Apple products for variety of reasons, most common being...

Read More