Apr201526

Once you know the dimensions of the images (photos or graphics) you’re waiting your graphic designer or other developers to produce for you, instead of waiting for them to hand the final revisions of those images to you, you can use this free service Placehold.it Just put something like this in your HTML.

Mar201504

Assume you have defined a React component that has a render function and assign it to variable someReactComponent. Then you can view the rendered version of the React component inside the JavaScript console by doing the following:

Dec201424

Do you wonder which programming languages are the most popular and in-demand and how they compare with Ruby? Here is a comparison of the following languages: Ruby, Python, Php, Javascript, Scala, Java, Objective-C and C Unfortunately, I had to leave out Go in this comparison since “go” is such a generic term and “golang” didn’t […]

Dec201421

ActionMailer::Preview is pretty awesome and newly introduced in Rails 4.1+ It allows you to preview formatting of emails from within the browser without having to send emails just to be able to preview them in the email client. This substantially reduces the duration of each development cycle between coding and testing a modification. If you […]

Dec201421

If rails server fails to start for you due to APP_PATH issue below: I was able to fix the above issue in two ways: You can either comment out the spring gem or do the following instead, which I recommend: From within your project directory, do the following: Do the following at your own risk!!! […]

Dec201408

If you get the following error, you probably have to reinstall your mysql2 gem by specifying the location of your MariaDB or MySQL installation. The Error: Uninstall existing mysql2 gem: Install mysql2 gem again: If you still see issues: Here is the error you might see: Uninstall existing mysql2 gem: Install mysql2 gem again: The […]