People living today are extremely lucky. 50 years ago the internet never even existed, and cable TV was something you read about in sci-fi magazines. Now, thanks to the internet, you can find information on virtually anything you want, instantly. Something which was only a dream just 10 years ago. Yet with all this information…
Saying Yes
“All that man achieves, and all that he fails to achieve is a direct result of his own thoughts.” -James Allen John Lennon, at the height of his popularity, had his heart captured by one simple word: yes. He was rich, talented, desired and loved by people all over the world and had the option…
Conquering Fear
What really keeps you from living your dreams? What problem is most dominant in peoples lives? The answer is: FEAR! People live every day in fear. Fear of losing their wealth, fear of losing their loved ones, fear of making the wrong decisions, fear of being themselves, fear of growing up, fear of making a…
Creative Imagination
Creative imagination is more than just active imagination. To be able to actively imagine things, to see and hear things in one’s mind, is an important ability. It doesn’t have to involve much creativity, though, does it? Daydreaming, for example, is a process of imagination. It can consist of an elaborate fantasy world, but one…
Be A Leader Not A Follower
Most people in life are happy to follow the lead of other people, to sit on the fence in a debate or have the attitude of hiding at the back of the class. The most successful people are leaders and make things happen for themselves by taking a positive attitude and through working very hard…
20 Ways To Make Someone Smile
Do you want to put a smile on someone’s face today? Maybe make their day a little better. It won’t cost you a single penny or much time to do just that. And because smiling is contagious, it probably won’t just be one person you make smile today. Here are 20 ways to turn that…
How to Sell to Anyone
Let’s face it. We all have those difficult customers to whom we are required to sell. From the demanding, abrasive buyer to the individual who never seems to make a buying decision, we encounter challenging people on a regular basis. Part of the reason this happens is due to the disconnect we have because of…
Install Compass in an existing Rails application with Semantic Blueprint using Sass
compass init rails –using blueprint/semantic –syntax sass
Capistrano + RVM = Problem with deployment?
Most of the time when I had issues with deploying on rvm environment it helps you to do the following. Create a file in $home folder touch .rvmrc And paste following code: rvm_trust_rvmrcs_flag=1
Working OAuth2 with Foursquare on Sinatra
require ‘rubygems’ require ‘sinatra’ require ‘oauth2’ require ‘json’ require ‘net/https’ require ‘foursquare2’ set :port, 80 CLIENT_ID = ‘****************************************************’ CLIENT_SECRET = ‘****************************************************’ CALLBACK_PATH = ‘/callbacks/foursquare’ def client OAuth2::Client.new(CLIENT_ID, CLIENT_SECRET, {:site => ‘https://foursquare.com/’, :token_url => “/oauth2/access_token”, :authorize_url => “/oauth2/authenticate?response_type=code”, :parse_json => true, :ssl => {:ca_path => ‘/etc/ssl/certs’ } }) end def redirect_uri() uri = URI.parse(request.url) uri.path =…