Do you want to use your macbook as a lap-heater?

How many times have you felt the coldness of a meeting room and wish you had brought a heater into the room. Now you can convert your macbook into a heater
Software Development
by Jey Geethan | August 28, 2019

Imagine that you are in cold conference room and you kind of feeling the cold on your head. What do you do when you are in a serious meeting and just can't get out?


If you have a MacBook, you might have a solution.


Use your terminal to run either of these commands to keep your CPU at above 80% or if you want you can run them both. Just by keeping the CPU above 80%, the laptop becomes heated up. We don't recommend doing this for a longer time as it might affect your Macbook. But for the occasional use, it doesn't matter.


$ openssl speed

or

$ yes > /dev/null


The first command just outputs the ssl cryptography stats and it keeps your cpu busy. The second command just prints the character "y" into IO.


So try it out and let us know how it works.


Related Articles

Ruby on Rails - Complex route constraints made easy
Software Development

Ruby on Rails - Complex route constraints made easy

by Jey Geethan | March 31, 2019
In Rails, we know that the routes are the most important entry-point where we define the which url hits which controller. We also know how to define the resources and add some conditions to the routing.

Ruby Tips - How to figure out where a method is defined
Software Development

Ruby Tips - How to figure out where a method is defined

by Jey Geethan | August 12, 2018
The other day when I was dabbling with the huge codebase, I was wondering where a particular method was being declared for a specific method