Developing Facebook Rails app from multiple computers using SSH tunneling

I mainly code on my desktop (hackint0sh), sometimes I use my laptop (macbook). Developing facebook apps can be a pain when you are using different machines. Mainly because you have configure your Facebook app with a particular callback URL.

I have setup a free domain (dyndns) that forwards to my desktop, so I don't have to change the callback URL all the time. Now if you are using the facebooker plugin (rails), it comes with a handy task that lets you easily setup tunneling. 

In your facebook.yml config 

    tunnel: 


public_host_username: akshay


public_host: mugashadev.com -p 22


public_port: 3000


local_port: 3001


well, now you just start your server (locally) and run the command rake facebooker:tunnel:start

and you are good to go!... Not really, at least for me.

After searching around I found this line had to be added to /etc/sshd_config

  GatewayPorts clientspecified 

After restarting ssh (re-enable remote login under sharing preferences) It was working like a charm. 

 

Loading mentions Retweet
Comment (1)
Posted 3 months ago

4th of July lunch

     
Click here to download:
4th_of_July_lunch.zip (456 KB)

 

Loading mentions Retweet
Comments (0)
Posted 4 months ago

14 Ground Rules for Respectful Dialogue and Professional Behavior

Often times when we are communicating with our co-workers, partners or even loved ones we forget how to communicate effectively. Many times in-effective communication leads to conflicts. When we are involved in conflicts we tend to react rather then respond. I want to share some ground rules with you. Fellow entrepreneurs, take note. 

These rules provide a framework that support open, respectful dialogue, and maximum participation for discussing controversial subjects. 

 

  1. Listen Actively -- respect others when they are talking and do not interrupt. 
  2. Treat others' feeling with respect and dignity. Do not dominate the conversation. 
  3. Speak from our own experience instead of generalizing. One way to do this is to use 'I' instead of "they," "We," and "you".
  4. Speak about problem(s) directly with the person(s) involved and avoid complaining to others about the problem. 
  5. Be candid and honest, but do not blame, attack, embarrass, or put-down other people. 
  6. Ask questions respectfully for clarification or to get information, but not to intimidate. 
  7. Refrain from personal attacks -- focus on ideas and core issues rather than personalities. Attack the idea or the problem, not the person. 
  8. Participate to the fullest of your ability -- a cooperative spirit and team progress depends on the inclusion of every individual voice.
  9. Instead of invalidating somebody else's story with your own spin on their experience, share your own story and experience.  
  10. The goal is not to always agree -- it is about hearing and exploring divergent perspectives. Examine consequences and consider alternatives. 
  11. As we think about the past, focus on  the lessons we have learned from the past. Focus on the future that you would like to create.
  12. Be conscious of body language and nonverbal response -- they can be disrespectful as words. This is specially true when working with people that come from different cultures and backgrounds.  
  13. Take responsibility for observing the ground rules. 
  14. Come up with your own ground rules. Rules that work for your team. Make sure everyone in your team or group agrees with the new ground rules. 
These rules are from my conflict resolution class that I took this summer. These rules are a reminder to me. If you feel that these rules might be helpful to you or others, feel free to use or repost elsewhere. 

 

Loading mentions Retweet
Comments (0)
Posted 4 months ago

Nice sunny day in Portland

PSU park blocks

(download)

Akshay Dodeja
CEO | Mugasha.com
(408) 203-7971
Twitter: Dodeja
 
Sent from my phone.

Loading mentions Retweet
Comments (0)
Posted 4 months ago

"Jam" by Michael Jackson One of my all time favorites

Jam by Michael Jackson  
(download)

This song might not be his most popular songs but brings back child hood memories for me.
 
I have always been into music and audio. When I lived in india (before 1999) during my early childhood (middle school days) I used to get super excited when my dad used to bring home audio equipment. Sony Headphones and a pretty damn good audio "hi-fi" system (for those days). This was a song that i used to play almost every time I wanted to test out some new speakers or headphones. It's also one of those songs that used to drive my neighbors crazy. Right in the beginning of the track there is a loud breaking of glass. I used to turn up the speakers all the way and play this tune, it was awesome.
 
Good Times. MJ will always be a legend, at least to me.
 
RIP Michael Jackson ( 1958 - 2009)

Loading mentions Retweet
Comments (0)
Posted 5 months ago

Favorite songs from Serge Devant's Wanderer Album

12 Wives In Tehran (Feat. Nadia Ali) by Serge Devant  
(download)

Peace (Feat. Hadley) by Serge Devant  
(download)

Addicted (Feat. Hadley) by Serge Devant  
(download)

Loading mentions Retweet
Comment (1)
Posted 5 months ago

Testing iPhone 3G S Video Camera

Click on this link to watch the original video. Posterous is fixing some issues with compression and Portrait videos in their player. 

Get the Flash Playerto see this player.
(download)

Sent from my mobile.

Loading mentions Retweet
Comments (7)
Posted 5 months ago

Google Page Speed - A new Firebug addon for optimization your website.

Download http://code.google.com/speed/page-speed/

via tweetie


Loading mentions Retweet
Comments (0)
Posted 5 months ago

My friend Michelle is a damn good photographer and model

   
Click here to download:
My_friend_Michelle_is_a_damn_g.zip (1122 KB)

You can hire her. Her work is amazing.
Twitter: http://twitter.com/mminges

Loading mentions Retweet
Filed under  //  Michelle Minges  
Comments (0)
Posted 5 months ago

The Truth About Layoffs

via tweetie

Loading mentions Retweet
Comments (0)
Posted 6 months ago