Tuesday, 30 October 2012

free publicly facing url

Hi,

tunnlr provides you public interface url for your web application to access any where which was running in local machine.

If you're running your server locally and have no publicly facing endpoint, you can use a service like tunnlr to create one. This creates a publicly accessible URL with an SSH tunnel back to your local machine.


Website: http://tunnlr.com/

Create account in tunnlr and get a public url for you.


In order to use tunnlr in our rails application we have a gem 'tunnlr_connector'(A plugin for interacting with tunnlr on both unix and windows. Uses the net::ssh gem)

Add gem to your gem file.

gem 'tunnlr_connector', :require => "tunnlr"


run 'bundle install' to install the gems

Now you need to configure local system to tunnlr account. This can be done by running the below command.

rake tunnlr:configure

and enter the email address and password associated with your tunnlr account.

To create a tunnel, run

rake tunnlr:start

The above command will run tunnel server in local machine. You can browse the application with url: http://web1.tunnlr.com:12606/





Thank You,
Uma Mahesh.

Monday, 22 October 2012

Git config commands



Below is the list of git global configuration commands

> git config -l

The above command will display complete configuration for the present git login as how below

user.name=Uma Mahesh
user.email=umamaheshvarma@gmail.com
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
remote.origin.url=git@heroku.com:umamahesh.git
branch.master.remote=origin
branch.master.merge=refs/heads/master





You can change the above configuration with the below commands,



git config --global user.email "
umamaheshvarma.seeram@gmail.com"
git config --global user.name "uma"







Thank You,
Uma Mahesh.