Monthly Archives: January 2011

Pandora One: 3 Day Free Trial

Pandora is currently offering a 3-day free trial, sponsored by MSN. If you don’t see the ad while listening to Pandora, try using this link: http://www.pandora.com/#/account/startTrial/MSN There is also a 24 hour free trial available: http://www.pandora.com/#/account/startTrial/PandoraE1 If you are already in the player, you may need to close it and then paste that link into your browser. No credit card information is required for the trial, but you must create an account. Also, if you have ever had a free trial with your account before Pandora will alert you to that fact and refuse another trial. Have a different link? Paste it into the comments below! :)

Posted in Marketing, Tech Tips | Tagged | Leave a comment

cURL via SSL return http_code 0 (WAMP)

I was having some trouble on a WAMP installation when trying to cURL an encrypted site over port 443. The cURL response was not helpful at all, it was as follows: [url] => https://encrypted.google.com/ [content_type] => text/plain;charset=utf-8 [http_code] => 200 [header_size] => 229 [request_size] => 170 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 0.027 [namelookup_time] => 0 [connect_time] => 0.002 [pretransfer_time] => 0.004 [size_upload] => 0 [size_download] => 227 [speed_download] => 8407 [speed_upload] => 0 [download_content_length] => 227 [upload_content_length] => 0 [starttransfer_time] => 0.027 [redirect_time] => 0 After quite a bit of researching, I found that the problem was related to checking the certificate. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); The aforementioned fix works, but it is sort of quick-and-dirty. If you’d like to know the proper way to fix this, you’d need to use the CURLOPT_CAINFO option. See this post for details.

Posted in Web Development | Tagged , , | Leave a comment

Ruby on Rails: Setting up a new Application

step 1: rails new _  ( is the name of your app, no spaces or punctuation) step 2: rails generate scaffold posts (generate some basic framework)

Posted in Web Development | Tagged , | Leave a comment

Three Extensions to Protect Privacy against Google

1) Google Analytics Opt-Out Keep Google From Tracking You Online; This extension works in all browsers: http://tools.google.com/dlpage/gaoptout 2) Remove Google Redirects If you’ve ever looked at the URL’s that Google actually populates into the href values of its search results, you’ll see that each one of them redirects through google, so they can see exactly what you’re clicking on. Get rid of that nonsense with this script. You can install it directly with Google Chrome – for Firefox you’ll need to install Greasemonkey. http://userscripts.org/scripts/show/69054 3) Tracking Token Stripper FeedBurner and similar links often include Google Analytics tracking tokens in the URL’s query string. These start with the prefix “utm_” (Urchin Tracking Monitor). They are used by the target site to report back statistics regarding the origin of the inbound link. This extension removes those tokens from the URL once the destination site has been visited, resulting in a cleaner URL that’s more suitable for copying into an email, an instant message, etc. https://chrome.google.com/extensions/detail/kcpnkledgcbobhkgimpbmejgockkplob

Posted in Tech Tips | Tagged , | 2 Comments

rvm: how to install the latest version of ruby

rvm install ruby-1.9.2-p136 If that doesn’t work, try this command first: source ~/.rvm/scripts/rvm

Posted in Web Development | Tagged , | Leave a comment

Summer Avery – Craigslist Spam

Just wanted to let you know that Summer Avery also appears to be spamming Craigs list. Here is the message I received today: Hello. i came accross you’re add on Craigslist, i was just wondering if you’d be interested in a way to work at home? With the new year, a lot of people’s resolutions were to get a job… let me know if you’re lookin for a job and you are a serious worker. Don’t reply to this nonsense! These spammers / bots are looking to harvest e-mail addresses or attempt fraudulent transactions. Did you get a similar message? Please, leave a note below :)

Posted in Marketing | Tagged , | Leave a comment

Shtyle.fm: Another Scam

Like Shoppybag.com, Shtyle.fm is a website set up as a viral advertising scam. The website will let you “set up an account” after receiving an invitation, and then request credentials to your e-mail account – which it then uses to send out a message to all of your contacts. What should I do? If you receive a message from Shtyle.fm, ignore it or delete it. If you have already “created an account” with them, don’t go back. Change the password to your e-mail account(s) and mark messages from them as spam, or just delete them.

Posted in Marketing, Tech Tips | Tagged | Leave a comment