personal

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…

start

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…

development

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 =…

Uncategorized

Mac OS Lion and installing ruby 1.9.2

I am always having trouble with installing fresh rvm instance, so here are all steps needed in fresh rvm to install new ruby 1.9.2 export ARCHFLAGS=”-arch x86_64″ export CC=gcc-4.2 rvm pkg install readline rvm pkg install iconv rvm pkg install zlib rvm install 1.9.2 -C –with-readline-dir=$rvm_path/usr –with-iconv-dir=$rvm_path/usr –with-zlib-dir=$rvm_path/usr

ebook

Kindle still rules the ebook world

First time when i saw kindle being presented I was thrilled, because i read a lot of books. I saw a future in electronic books. That was 2 years ago and I wasn’t wrong. Nowadays Amazon sells more ebooks than paper print books. So last year when they introduced third generation of Kindle, I’ve jumped…

start

The inception

It’s time to start over, blogs do go old over time and we don’t want to read old topics or out of date blog. ¬†So i started from the beginning. For all who doesn’t know me I am mostly interested into technology, art and other modern¬†esoteric interests. So stay tuned for my posts.