During your development in Rails, there will be times where you will want to provide some functionality which is required by you, but either you don't know how to do or you don't want to implement it on your own since a lot of work has been put into its development by talented developers. These … Continue reading What is the use of Gemfile in Rails?
Author: Eric
Leveraging Sass mixins for cleaner code
Without question, one of the most powerful and valuable features of Sass is the ability to package up existing code into reusable chunks of code called mixins. Mixins are like macros Mixins are the Sass equivalent of macros in other programming languages. If you've programmed before you could think of them as functions, procedures, or … Continue reading Leveraging Sass mixins for cleaner code
Your lack of sleep is ruining your productivity
Fast Company has run thousands of articles on every aspect of productivity. But the one topic that comes up the most, and that really is at the root of a lot of other productivity issues like focus, decision making, and time management, is sleep. No one thinks they are getting enough, and everyone wants to … Continue reading Your lack of sleep is ruining your productivity
Bozoma Saint John is leaving Uber for Endeavor
The high-profile executive Bozoma Saint John has left Uber for Endeavor, sources say and Uber confirms. She will become CMO there, focused on a range of creative connections between its enormous talent portfolio and big brands. Saint John has been at Uber for almost exactly a year. At the time she was hired, she told … Continue reading Bozoma Saint John is leaving Uber for Endeavor
Java Concurrency Tutorial: Synchronization and Locks
In the next 15 min you learn how to synchronize access to mutable shared variables via the synchronized keyword, locks and semaphores. The majority of concepts shown in this article also work in older versions of Java. However the code samples focus on Java 8 and make heavy use of lambda expressions and new concurrency … Continue reading Java Concurrency Tutorial: Synchronization and Locks
Java Concurrency Tutorial: Threads and Executors
This guide teaches you concurrent programming in Java 8 with easily understood code examples. It's the first part out of a series of tutorials covering the Java Concurrency API. In the next 15 min you learn how to execute code in parallel via threads, tasks and executor services. The Concurrency API was first introduced with … Continue reading Java Concurrency Tutorial: Threads and Executors
Can Heroku force an application to use SSL/TLS?
Issue You have configured an SSL endpoint and now you want your application to use https for all requests. Resolution Redirects need to be performed at the application level as the Heroku router does not provide this functionality. You should code the redirect logic into your application. Under the hood, Heroku router (over)writes the X-Forwarded-Proto … Continue reading Can Heroku force an application to use SSL/TLS?
Configure Rails on Windows 7
1. Go to https://rubyinstaller.org/downloads/ and download the recommended (not necessarily the latest version of the Ruby with Devkit to avoid potential gem compatibility issue (for example, sqlite3 on Windows platform) Which version to download? If you don’t know what version to install and you’re getting started with Ruby, we recommend you use Ruby+Devkit 2.4.X as … Continue reading Configure Rails on Windows 7
Hulu re-org sees departure of Content Chief Joel Stillerman, top SVPs
On the heels of Hulu’s news of its growing live TV business, which has now reached 800,000 subscribers, the streaming service today announced a major re-organization of it business focused on four strategic priorities, effective immediately. These include “the subscriber journey, technology & products, content and advertising,” says Hulu. The changes see three major execs … Continue reading Hulu re-org sees departure of Content Chief Joel Stillerman, top SVPs
How to make a custom build version (e.g., Ruby, Python, etc.) in Sublime Text 3
It looks like Sublime Text 3 uses OSX-default version of Ruby in build mode. I would like to change the version, since I'm using a newer one. I found some answers for privious version of sublime: How to edit a native build system in Sublime Text 2? Setting and changing build systems in Sublime Text … Continue reading How to make a custom build version (e.g., Ruby, Python, etc.) in Sublime Text 3