Logo

Who is talking?

Archive

Ruby MRI Source Code Idioms #2: C That Resembles Ruby

almost 5 years ago | Pat Shaughnessy: Pat Shaughnessy

Reading Ruby’s C source code can beas easy as reading your own Ruby code

Installing node-oracle driver in Ubuntu

almost 5 years ago | Akhil Raina: Code Coolie

Recently, I did a short project using nodejs and express framework. The node stack is easy to use and installing most packages is a breeze with the node package manager aka npm. The only package which needed some extra effort to install was the Oracle database driver. To ease the process of installation for other […]

Some good reads

almost 5 years ago | Niranjan Sarade: InLoveWithNature

After quite a long period, I got a chance to read some good marathi books.Rasikaho - P.L.DeshpandeNakoshi - Madhavi DesaiAshi ghara... ashi manasa - Mangala GodbolePlanning to read some more in coming weekends:-)

Remember to pick yourself up & get back on your feet!

almost 5 years ago | Niranjan Sarade: InLoveWithNature

I came across a very nice story a couple of days ago. Sharing the same.Baby giraffes never go to a business school. But they learn a very important management lesson early in life. A lesson that all of us would do well to remember.The birth of a baby giraffe is quite an earth-shaking event. The baby falls from its mother’s womb, some eight feet above the ground. It shrivels up and lies still, too weak to move.The mother giraffe lovingly lowers her neck to kiss the baby giraffe. And then something incredible happens. She lifts her long leg and kicks the baby giraffe, sending it flying up in the air and tumbling down on the ground.As the baby lies curled up, the mother kicks the baby again and again. Until the baby giraffe, still trembling and tired, pushes its limbs and for the first time learns to stand on its feet. Happy to see the baby standing on its own feet, the mother giraffe comes over and gives it yet another kick. The baby giraffe falls one more time, but now quickly recovers and stands up.Mama Giraffe is delighted. She knows that her baby has learnt an important lesson: "Never mind how hard you fall, always remember to pick yourself up and get back on your feet."Why does the mother giraffe do this? She knows that lions and leopards love giraffe meat. So unless the baby giraffe quickly learns to stand and run with the pack – it will have no chance of survival.Most of us though are not quite as lucky as baby giraffes. No one teaches us to stand up every time we fall. When we fail, when we are down, we just give up.No one kicks us out of our comfort zone to remind us that to survive and succeed, we need to learn to get back on our feet.If you study the lives of successful people though, you will see a recurring pattern. Were they always successful in all they did? No.Did success come to them quick and easy? No, You will find that the common streak running through their lives is their ability to stand up every time they fall. The ability of the baby giraffe!The road to success is never an easy one. There are several obstacles, and you are bound to fall sooner or later. You will hit a road block, you will taste failure. But success lies in being able to get up every time you fall.Enjoy reading ! :-)

First post

almost 5 years ago | Akhil Raina: Code Coolie

Is this really a post?

Rails application server on Windows

almost 5 years ago | Gourav Tiwari: easy_software = Agile.find(ruby_on_rails)

I came across very similar requirements to Rocky Jaiswal, where the requirement was to run rails application on windows box. I decided to use sqlite3 in production mode as there would be very less users (< 100) and no hassle to install sqlite3 database. Overall, here are the things I needed to download:JDK 1.7Jruby 1.7.2Jetty-runner 8.1.8After following Rocky's blog, there were few more steps required. Added warbler to GemfileRun bundle installbundle exec warble config #This will generate config/warble.rb file.Update config/warble.rbRunbundle exec rake assets:precompile #This will precompile rails assetsbundle exec warble #This will create < application-name.war > fileAdd below to database.yml (production section):production:  adapter: sqlite3  database: <%= java.lang.System.getProperty('db') %>Run application on JVM:java -Ddb=/production.sqlite3 -jar jetty-runner.jar < application-name >.war

Rails application server on Windows

almost 5 years ago | Gourav Tiwari: easy_software = Agile.find(ruby_on_rails)

I came across very similar requirements to Rocky Jaiswal, where the requirement was to run rails application on windows box. I decided to use sqlite3 in production mode as there would be very less users (< 100) and no hassle to install sqlite3 database. Overall, here are the things I needed to download:JDK 1.7Jruby 1.7.2Jetty-runner 8.1.8After following Rocky's blog, there were few more steps required. Added warbler to GemfileRun bundle installbundle exec warble config #This will generate config/warble.rb file.Update config/warble.rbRunbundle exec rake assets:precompile #This will precompile rails assetsbundle exec warble #This will create < application-name.war > fileAdd below to database.yml (production section):production:  adapter: sqlite3  database: <%= java.lang.System.getProperty('db') %>Run application on JVM:java -Ddb=/production.sqlite3 -jar jetty-runner.jar < application-name >.war

Polyglot – A simple clientside i18n library

almost 5 years ago | Joe Pettersson: JoePettersson.com

Polyglot is a very simple string replacement i18n library I built for a personal project and thought was self contained enough to warrant it’s own repo. It’s very simple to use, and does what it does very quicly indeed. However, … Continue reading →

Mondrian – Random Color Generation in JavaScript

almost 5 years ago | Joe Pettersson: JoePettersson.com

A library I wrote for generating random colors in JavaScript, it supports rgba(a), HTML color names, hex and hsl(a). Check it out!

Gutenberg templating library

almost 5 years ago | Joe Pettersson: JoePettersson.com

I wrote a small (10 lines) and simple templating library that is dependant on ES5 compatibility in the client for a mobile web app I’m building (more on that at a later date!). You can find the source on Github. … Continue reading →

Rails upgrade from 3.2.9 to 3.2.11

almost 5 years ago | Gourav Tiwari: easy_software = Agile.find(ruby_on_rails)

With extremely critical RoR bug, rails upgrade was imminent in my current project.Here are the steps:Open Gemfile, change:gem 'rails', '3.2.9' to gem 'rails', '3.2.11'From command line, go to root directory:$ bundle update railsTest your app!That's it!

Rails upgrade from 3.2.9 to 3.2.11

almost 5 years ago | Gourav Tiwari: easy_software = Agile.find(ruby_on_rails)

With extremely critical RoR bug, rails upgrade was imminent in my current project.Here are the steps:Open Gemfile, change:gem 'rails', '3.2.9' to gem 'rails', '3.2.11'From command line, go to root directory:$ bundle update railsTest your app!That's it!

Ember Ready

almost 5 years ago | Eduard Moldovan: eduardmoldovan.com - tech

Most of you probably know jQuery's ready event. Ember has something similar.

It's that time.

almost 5 years ago | Queenie Takes Manhattan: Queenie Takes Manhattan

Well, here goes. After more than five years of writing, cooking, eating, and traveling, I've decided it's time to take a break from posting here on Queenie Takes Manhattan. I've had an incredible time sharing my culinary adventures with all of you since 2007, but I've decided to spend what little free time I have these days on a few other projects.You can expect to see lots of me over on The Equals Project (I have my latest piece for them up in progress in another browser tab as I type), and hopefully there will be more still - eventually. In the meantime, I do hope you'll stay in touch via Twitter and Instagram, where I fully intend to continue spamming you all with my Saturday morning cappuccinos and Friday night Manhattans.So long for now, kids - and thank you for reading!Much love,Queenie/Meg

Ember Custom Events

almost 5 years ago | Eduard Moldovan: eduardmoldovan.com - tech

Lately I have been using Ember.js a lot. I had a problem with firing/listening to events that are not common to Ember.js