Maybe you're curious about the title. Let me explain it in a brief and short way: with Ruby already installed on Mac, you can install a ruby script to grab Quote of the Day into your Terminal.
Perhaps it sounds difficult for you, but actually it's really easy. Everyone can definitely do it.
Here are the steps:
You will never know what will happen before you try it.
You will never understand what has happened before you apply it.
This post is the contribution of James. Thanks a lot for his nifty trick.
Categories:
UNIX, Open Source
Tags:
Quote,
Terminal
Some articles taken from our resource base, tightly related to current article, to empower you with more knowledge on tweaking the most out of your Mac.
ruby quote_of_the_day.rb | growlnotify -s -t "Words of Wisdom" Is quite nice too. set mine up as a cron job in the morning. as a cron entry (crontab -e) use: ruby quote_of_the_day.rb | growlnotify -s -t "Words of Wisdom" > /dev/null 2>&1 ps, thanks for the nice site ;)
very nice!
I followed your directions to the letter, and verified that the file was in my home directory, but it doesn't load, and I get this error in terminal now:
"quote_of_the_day.rb:1:in `require': No such file to load -- rubygems (LoadError)
from quote_of_the_day.rb:1"
Any thoughts?
This seems like a cool thing, so any suggestions would be great - thanks!
Hi Robin, It seems like you are missing ruby gems. You can follow following steps to install rubygem 1. Download http://rubyforge.org/frs/download.php/38647/rubygems-1.2.0.zip ( right click, save target as ) 2. Unzip rubygems-1.2.0.zip to any folder as long as you can cd to the folder 3. From terminal type cd <path where folder extract rubygems-1 to you> 4. Finally, type ruby setup.rb 5. After finish setting up, try the thing again =) Hope it helps :) James
Although I live this but does anyone know if it is possible to make rfksay the quotes?
@Ley: Seems to work with: say ` ruby quote_of_the_day.rb ` Note that those "quotes" are actually the resolution quotes on the ~ (tilde) key. Lou
how to undo this command?
Hi yzc, just follow all the steps but only for the step 4, remove ruby quote_of_the_day.rb. This should perfectly revert it.
I used it and PERFECT ;)
for unistall please ?
Honestly, I've always been more of a fan of just putting the monitor to sleep than screen savers. Sure they look pretty awesome, but if you're sitting at your computer, are you really doing so with the screen saver on?Good luck for the dates. It has been some times since we last heard about the next tour. I hope they can run it accordingly now.1nscZEKPw5PTR2Te
Honestly, I've always been more of a fan of just putting the monitor to sleep than screen savers. Sure they look pretty awesome, but if you're sitting at your computer, are you really doing so with the screen saver on?Good luck for the dates. It has been some times since we last heard about the next tour. I hope they can run it accordingly now.qJUWQt6fh2tZbk5z
I like these things, every time I see a little bit excited, especially thomas sabo uk even more exciting, to be honest I like thomas sabo of these things!
Great things you’ve always shared with us. Just keep writing this kind of posts.The time which was wasted in traveling for tuition now it can be used for studies.Thanks Best Real Estate Agent
Great things you’ve always shared with us. Just keep writing this kind of posts.The time which was wasted in traveling for tuition now it can be used for studies. Forex Robots Thanks
Une question très importante ici, sont menées. медицинская доска объявлений Nous vivons à une époque où de toutes les informations que nous recevons à partir des fichiers électroniques. Même cette vaste gamme de renseignements, qui ne pousse que avec l'âge! интернет магазин медтехника Vous savez aussi comment amener les gens à se rallier autour d'elle, de toute évidence, les réponses de votre temps et effort réel pour faire une bonne histoire!
Très bonnes idées. После инсульта Surtout pour moi personnellement / site intéressant et utile. Je vais revenir souvent, peut-être quelque chose d'autre seront utiles. Je vous remercie Très faits intéressants à propos du Dalaï Lama. Bien sûr, de prendre des mesures, vous avez besoin d'en savoir plus sur le dalaï-lama. улучшение памяти Et ce site nous aidera grandement
Thx for the post, but how to uninstall it.. thx :)sepatu on line sepatu futsal
The drum motor involves a number of delicate components and is connected to the dryer power supply. The range starts from few bucks to couple hundred buck depending on the functionality and its modern features. These are non-toxic - you probably eat these every day in some form or other - kill mould and bacteria, and don't scratch the surfaces inside the fridge. There is steady rise in the loss of head as the filter process continues and the flow reduces once the pressure drop across the filter is excessive. What are steam humidifiers? They are small appliances that increase moisture in the house. Home Appliances Whirlpool Clothes Washers
I hope the incoming comments and suggestion are equally positive.Margahayuland | Margahayuland | Yurosie | ide bagus | Rosie blog | Belajar SEO
With you to be able to insure anything now, you may possibly watch dental insurance as an easy way for greedy companies to get yet more income out of your pockets for some thing you don't really need.
Say thanks lots for your energy to possess had these things together on this web site. Mary and that i really a lot appreciated your expertise through your articles in particular factors. I am aware that you have a lot of demands in your personal program so the fact that you took as considerably time like you did to steer men and women like us by implies of this article is really extremely valued.
Can it be 1998? Why do you really need one? Many consumers need some way to track their visitors or observe how many special sessions they have. Do them a favor and do not work with a CGI or visible hot counter. The world uses unseen monitoring now. Google statistics is free and very of use. Give them access to that. Teach your client if this is a problem. You are the net developer.
Leave a Comment